mirror of
https://fast.feibisi.com/https://github.com/lubusIN/visual-blueprint-builder.git
synced 2025-10-04 04:11:06 +08:00
17 lines
563 B
JavaScript
17 lines
563 B
JavaScript
|
const defaultConfig = require('@wordpress/scripts/config/webpack.config');
|
||
|
const { getWebpackEntryPoints } = require('@wordpress/scripts/utils/config');
|
||
|
const path = require('path');
|
||
|
|
||
|
module.exports = {
|
||
|
...defaultConfig,
|
||
|
entry: {
|
||
|
...getWebpackEntryPoints(),
|
||
|
'settings': './src/settings/index.js',
|
||
|
'steps/install-plugin/index': './src/steps/install-plugin/index.js',
|
||
|
'steps/login/index': './src/steps/login/index.js'
|
||
|
},
|
||
|
output: {
|
||
|
path: path.resolve(__dirname, 'build'),
|
||
|
filename: '[name].js'
|
||
|
}
|
||
|
};
|