Last active
March 1, 2018 14:00
-
-
Save a1exlism/de48fd1e6d4e7ce4145a2a937a9bddc8 to your computer and use it in GitHub Desktop.
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.export = { | |
entry: { | |
'./main1.js', | |
'./main2.js' | |
}, | |
output: { | |
filename: '[name]x.js' | |
} | |
} | |
// [name] stand for the value for webpack input js name; | |
// in this example, the name stands for `main1x.js` and `main2xjs` | |
// and the default Path is ./dist/xxx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment