Created
February 6, 2019 23:38
-
-
Save vuejsdevelopers/61fb4fba008107321ca641140cde2d9b to your computer and use it in GitHub Desktop.
New in Vue: ES Module Browser Build - Snippet 10
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: './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