Created
June 11, 2018 11:36
-
-
Save dushyant89/0efdf881b98961004be95257dcd81626 to your computer and use it in GitHub Desktop.
entry and output for vue-webpack
This file contains 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
entry: { | |
// Since we need to load vue in the entry page. | |
vue: 'vue', | |
// This is where the `main-content` component is | |
index: resolve('src/index.js'), | |
}, | |
output: { | |
filename: '[name].js', | |
// Folder where the output of webpack's result go. | |
path: resolve('dist'), | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment