Skip to content

Instantly share code, notes, and snippets.

@vuejsdevelopers
Created February 6, 2019 23:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vuejsdevelopers/61fb4fba008107321ca641140cde2d9b to your computer and use it in GitHub Desktop.
Save vuejsdevelopers/61fb4fba008107321ca641140cde2d9b to your computer and use it in GitHub Desktop.
New in Vue: ES Module Browser Build - Snippet 10
module.exports = {
entry: './app.js',
output: {
path: path.resolve(__dirname, './dist'),
publicPath: '/dist/',
filename: 'build.js'
},
module: {
// add Babel here if needed
},
resolve: {
alias: {
'./vue.js': './node_modules/vue/dist/vue.esm.browser.js'
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment