Skip to content

Instantly share code, notes, and snippets.

@sunabozu
Created September 21, 2016 15:53
Show Gist options
  • Save sunabozu/f8bacbe525040e132796038c98d548b4 to your computer and use it in GitHub Desktop.
Save sunabozu/f8bacbe525040e132796038c98d548b4 to your computer and use it in GitHub Desktop.
"devDependencies": {
"babel-core": "^6.0.0",
"babel-loader": "^6.0.0",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-es2015": "^6.13.2",
"css-loader": "^0.23.1",
"request": "^2.74.0",
"style-loader": "^0.13.1",
"vue-loader": "^9.2.2",
"vue-html-loader": "^1.2.3",
"vue-loader": "^8.5.2",
"vue-style-loader": "^1.0.0",
"webpack": "^2.1.0-beta.20",
"webpack-dev-server": "^2.1.0-beta.0",
"webpack-merge": "^0.14.1"
}
var path = require('path')
module.exports = {
entry: {
VkInput: './VkInput.vue',
VkAutocomplete: './VkAutocomplete.vue',
VkAutocompleteHttp: './VkAutocompleteHttp.vue'
},
output: {
path: path.join(__dirname, 'dist'),
filename: '[name].js'
},
resolve: { alias: { vue: 'vue/dist/vue.js' } },
module: {
loaders: [
{
test: /\.vue$/,
loader: 'vue'
},
{
test: /\.js$/,
loader: 'babel',
exclude: /node_modules/
}
]
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment