Answer the question
In order to leave comments, you need to log in
Webpack 2. Separate output for js files only?
entry: {
bundle: "./javascripts/bundle",
babelPolyfill: 'babel-polyfill',
commons: "./javascripts/commons",
style: './stylesheets/style.scss'
},
output: {
path: path.join(__dirname, 'public'),
filename: '[name].js',
publicPath: '/public/',
},
path: path.join(__dirname, 'public/javascripts'),
../
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