fixed whitespace replacing in templates

This commit is contained in:
antelle 2020-12-12 10:59:34 +01:00
parent bf2d72745a
commit 4097d81b8a
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
1 changed files with 7 additions and 7 deletions

View File

@ -85,13 +85,6 @@ function config(options) {
{
test: /\.hbs$/,
use: [
{
loader: 'string-replace-loader',
options: {
search: /\r?\n\s*/g,
replace: '\n'
}
},
{
loader: 'handlebars-loader',
options: {
@ -108,6 +101,13 @@ function config(options) {
callback(null, location);
}
}
},
{
loader: 'string-replace-loader',
options: {
search: /\r?\n\s*/g,
replace: '\n'
}
}
]
},