This commit is contained in:
syuilo
2018-02-15 23:07:19 +09:00
parent a215ef6680
commit a7601f7aa4
8 changed files with 55 additions and 70 deletions

View File

@@ -11,12 +11,10 @@ export default lang => {
enforce: 'pre',
test: /\.(vue|js|ts)$/,
exclude: /node_modules/,
use: [{
loader: 'replace-string-loader',
options: {
search: replacer.pattern,
replace: replacer.replacement
}
}]
loader: 'string-replace-loader',
query: {
search: replacer.pattern,
replace: replacer.replacement
}
};
};