wip
This commit is contained in:
parent
11f32375b6
commit
7e55e6c159
|
@ -88,11 +88,25 @@ module.exports = Object.keys(langs).map(lang => {
|
||||||
}, {
|
}, {
|
||||||
test: /\.ts$/,
|
test: /\.ts$/,
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
|
use: [{
|
||||||
loader: 'ts-loader',
|
loader: 'ts-loader',
|
||||||
options: {
|
options: {
|
||||||
configFile: __dirname + '/../src/web/app/tsconfig.json',
|
configFile: __dirname + '/../src/web/app/tsconfig.json',
|
||||||
appendTsSuffixTo: [/\.vue$/]
|
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 New Issue