Answer the question
In order to leave comments, you need to log in
How to start webpack-dev-server with existing php project?
Good afternoon!
Tell me how to configure the scripts to be updated during reassembly?
webpack config
{
entry: {
app: './project1/bootstrap.js',
vendor: './project1/vendor.js'
},
output: {
chunkFilename: '[name].[chunkhash].js',
filename: '[name].[chunkhash].js',
path: path.resolve(__dirname, '../public/project1'),
publicPath: '/project1/'
},
devtool: 'eval',
}
webpack --config webpack.project1.js --watch
127.0.0.15
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question