2
0
mirror of https://github.com/tenrok/vue-form-wizard.git synced 2026-06-16 19:40:32 +03:00

Add build setup from vue-cli webpack template

This commit is contained in:
cristijora
2017-04-15 23:05:30 +03:00
parent 011774fd34
commit f5a3339ac8
34 changed files with 963 additions and 31 deletions
+4 -15
View File
@@ -5,11 +5,11 @@ var projectRoot = path.resolve(__dirname, '../');
var loaders = [
{
test: /\.vue$/,
loader: 'vue'
loader: 'vue-loader',
},
{
test: /\.js$/,
loader: 'babel',
loader: 'babel-loader',
include: projectRoot,
exclude: /node_modules/
},
@@ -32,8 +32,7 @@ module.exports = {
devtool: "source-map",
entry: {
full: path.resolve("dev", "full", "main.js"),
mselect: path.resolve("dev", "multiselect", "main.js")
example: path.resolve("dev", "example", "main.js")
},
output: {
@@ -52,16 +51,6 @@ module.exports = {
],
module: {
loaders
rules:loaders
},
resolve: {
packageAlias: "browser"
},
vue: {
autoprefixer: {
browsers: ["last 2 versions"]
}
}
};