Skip to content
This repository was archived by the owner on Feb 24, 2021. It is now read-only.

Commit 6e54bdd

Browse files
committed
fix minify with search:false, refs #103
1 parent 756c408 commit 6e54bdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function javascript_include_tag(include) {
7272
}
7373
else {
7474
fs.writeFileSync(path.join(globalOptions.root, '/pub/js/shins.js'), bundle.code, 'utf8');
75-
includeStr = safeReadFileSync(path.join(globalOptions.root, '/source/javascripts/' + include + '.bundle.inc'), 'utf8');
75+
includeStr = safeReadFileSync(path.join(globalOptions.root, '/source/javascripts/' + (include.replace('_nosearch','')) + '.bundle.inc'), 'utf8');
7676
}
7777
}
7878
return includeStr;

0 commit comments

Comments
 (0)