wip
This commit is contained in:
parent
2c5c9e8ca8
commit
54c21577c9
1 changed files with 19 additions and 5 deletions
|
@ -88,11 +88,25 @@ module.exports = Object.keys(langs).map(lang => {
|
||||||
}, {
|
}, {
|
||||||
test: /\.ts$/,
|
test: /\.ts$/,
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
loader: 'ts-loader',
|
use: [{
|
||||||
options: {
|
loader: 'ts-loader',
|
||||||
configFile: __dirname + '/../src/web/app/tsconfig.json',
|
options: {
|
||||||
appendTsSuffixTo: [/\.vue$/]
|
configFile: __dirname + '/../src/web/app/tsconfig.json',
|
||||||
}
|
appendTsSuffixTo: [/\.vue$/]
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
loader: 'replace',
|
||||||
|
query: {
|
||||||
|
search: i18nReplacer.pattern.toString(),
|
||||||
|
replace: 'i18nReplacement'
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
loader: 'replace',
|
||||||
|
query: {
|
||||||
|
search: faPattern.toString(),
|
||||||
|
replace: 'faReplacement'
|
||||||
|
}
|
||||||
|
}]
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
plugins: plugins(version, lang),
|
plugins: plugins(version, lang),
|
||||||
|
|
Loading…
Reference in a new issue