updated to webpack 4
This commit is contained in:
parent
b76899a353
commit
ebf6bda467
17 changed files with 6052 additions and 5223 deletions
|
@ -17,7 +17,7 @@ function merge(m1, m2) {
|
|||
}
|
||||
|
||||
module.exports = function(source) {
|
||||
const localeExp = this.options.locale || /([^/]+)\/[^/]+\.ftl$/;
|
||||
const localeExp = /([^/]+)\/[^/]+\.ftl$/;
|
||||
const result = localeExp.exec(this.resourcePath);
|
||||
const locale = result && result[1];
|
||||
if (!locale) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue