Fix invalid JS file generation
This commit is contained in:
parent
b998995813
commit
fa9c8232d7
2 changed files with 4 additions and 4 deletions
|
@ -868,10 +868,10 @@ themePicker.onblur = handleThemeButtonsBlur;
|
|||
}
|
||||
|
||||
{
|
||||
let mut data = static_files::STORAGE_JS.to_owned();
|
||||
data.push_str(&format!("var resourcesSuffix = \"{}\";", cx.shared.resource_suffix));
|
||||
write_minify(cx.dst.join(&format!("storage{}.js", cx.shared.resource_suffix)),
|
||||
&data,
|
||||
&format!("var resourcesSuffix = \"{}\";{}",
|
||||
cx.shared.resource_suffix,
|
||||
static_files::STORAGE_JS),
|
||||
options.enable_minification)?;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue