mirror of https://github.com/keeweb/keeweb
fixed whitespace replacing in templates
parent
bf2d72745a
commit
4097d81b8a
|
@ -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'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue