Created
January 10, 2016 18:26
-
-
Save vedovelli/811bd285715da29c54ce to your computer and use it in GitHub Desktop.
webpack config for screencast components
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
module.exports = { | |
// entry point of our application | |
entry: './main.js', | |
// where to place the compiled bundle | |
output: { | |
path: __dirname, | |
filename: 'build.js' | |
}, | |
module: { | |
// `loaders` is an array of loaders to use. | |
// here we are only configuring vue-loader | |
loaders: [ | |
{ | |
test: /\.vue$/, // a regex for matching all files that end in `.vue` | |
loader: 'vue' // loader to use for matched files | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment