refactor: use chained configs internally

This commit is contained in:
Igor Randjelovic
2020-11-14 15:23:44 +01:00
committed by Nathan Walker
parent 04f83c9706
commit 3f9871dec6
10 changed files with 102 additions and 41 deletions

View File

@@ -3,9 +3,7 @@
exports[`vue configuration works 1`] = `
Object {
"entry": Object {
"bundle.js": Array [
"bundle.js",
],
"": Array [],
},
"module": Object {
"rules": Array [
@@ -20,6 +18,29 @@ Object {
},
],
},
Object {
"use": Array [
Object {
"loader": "ts-loader",
"options": Object {
"appendTsSuffixTo": Array [
/\\\\\\.vue\\$/,
],
},
},
],
},
],
},
"plugins": Array [
VueLoaderPlugin {},
],
"resolve": Object {
"alias": Object {
"vue": "nativescript-vue",
},
"extensions": Array [
".vue",
],
},
}