Skip to content

Instantly share code, notes, and snippets.

@dushyant89
Created June 11, 2018 11:36
Show Gist options
  • Save dushyant89/0efdf881b98961004be95257dcd81626 to your computer and use it in GitHub Desktop.
Save dushyant89/0efdf881b98961004be95257dcd81626 to your computer and use it in GitHub Desktop.
entry and output for vue-webpack
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