Created
December 19, 2019 11:46
-
-
Save wapcrazut/c8352a6339a37145708aba2ae04d57f1 to your computer and use it in GitHub Desktop.
Multiple Webpack file output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
//... | |
entry: { | |
'build/application/bundle': './src/application', // will be ./build/application/bundle.js, | |
'build/library/bundle': './src/library`'// will be ./build/library/bundle.js, | |
'build/assets/app.core': './src/assets/theme/app.core.scss`'// Should be ./build/assets/app.core.css, | |
}, | |
output: { | |
path: path.resolve(__dirname, './'), | |
filename: '[name].[ext]' | |
} | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment