updated plugin GP Premium
version 2.5.0
This commit is contained in:
29
wp-content/plugins/gp-premium/webpack.config.js
Normal file
29
wp-content/plugins/gp-premium/webpack.config.js
Normal file
@ -0,0 +1,29 @@
|
||||
const defaultConfig = require( '@wordpress/scripts/config/webpack.config' );
|
||||
|
||||
const defaultEntries = defaultConfig.entry();
|
||||
|
||||
module.exports = {
|
||||
...defaultConfig,
|
||||
// Needed for the 'lib-font' package to work.
|
||||
resolve: {
|
||||
fallback: {
|
||||
fs: false,
|
||||
zlib: false,
|
||||
},
|
||||
symlinks: false,
|
||||
},
|
||||
entry: {
|
||||
...defaultEntries,
|
||||
'block-elements': './src/block-elements.js',
|
||||
'font-library': './src/font-library.js',
|
||||
'site-library': './src/site-library.js',
|
||||
customizer: './src/customizer.js',
|
||||
dashboard: './src/dashboard.js',
|
||||
editor: './src/editor.js',
|
||||
packages: './src/packages.scss',
|
||||
},
|
||||
output: {
|
||||
...defaultConfig.output,
|
||||
path: __dirname + '/dist',
|
||||
},
|
||||
};
|
Reference in New Issue
Block a user