mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-10-29 18:00:20 +00:00
Added webpack build config
This commit is contained in:
26
webpack.base.config.js
Normal file
26
webpack.base.config.js
Normal file
@@ -0,0 +1,26 @@
|
||||
module.exports = {
|
||||
entry: './src/index.js',
|
||||
output: {
|
||||
path: './dist',
|
||||
publicPath: 'dist/',
|
||||
filename: 'vue-modal.js'
|
||||
},
|
||||
module: {
|
||||
loaders: [
|
||||
{
|
||||
test: /\.vue$/,
|
||||
loader: 'vue'
|
||||
},
|
||||
{
|
||||
test: /\.js$/,
|
||||
loader: 'babel!eslint',
|
||||
exclude: /node_modules/
|
||||
}
|
||||
]
|
||||
},
|
||||
vue: {
|
||||
loaders: {
|
||||
js: 'babel!eslint'
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user