Fix lint error, change scrape-examples.js minify call
This commit is contained in:
parent
25323ec306
commit
55731bbc7d
3 changed files with 9 additions and 2 deletions
|
@ -304,7 +304,12 @@ pub(super) fn write_shared(
|
|||
}
|
||||
|
||||
if cx.shared.layout.scrape_examples_extension {
|
||||
write_minify("scrape-examples.js", static_files::SCRAPE_EXAMPLES_JS, cx, options)?;
|
||||
cx.write_minify(
|
||||
SharedResource::Unversioned { name: "scrape-examples.js" },
|
||||
static_files::SCRAPE_EXAMPLES_JS,
|
||||
options.enable_minification,
|
||||
&options.emit,
|
||||
)?;
|
||||
}
|
||||
|
||||
if let Some(ref css) = cx.shared.layout.css_file_extension {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue