mirror of
https://github.com/tobspr-games/shapez.io.git
synced 2025-12-07 19:10:31 -08:00
Fix build issues
This commit is contained in:
parent
3b4ae39caa
commit
07fb65f3b6
1 changed files with 5 additions and 5 deletions
10
gulp/html.js
10
gulp/html.js
|
|
@ -167,16 +167,16 @@ function gulptasksHTML($, gulp, buildFolder) {
|
|||
const loadJs = document.createElement("script");
|
||||
loadJs.type = "text/javascript";
|
||||
let scriptContent = "";
|
||||
scriptContent += `var bundleSrc = '${cachebust("bundle.js")}';\n`;
|
||||
// scriptContent += `var bundleSrc = '${cachebust("bundle.js")}';\n`;
|
||||
scriptContent += `var bundleSrcTranspiled = '${cachebust(
|
||||
"bundle-transpiled.js"
|
||||
)}';\n`;
|
||||
|
||||
if (integrity) {
|
||||
scriptContent +=
|
||||
"var bundleIntegrity = '" +
|
||||
computeIntegrityHash(path.join(buildFolder, "bundle.js")) +
|
||||
"';\n";
|
||||
// scriptContent +=
|
||||
// "var bundleIntegrity = '" +
|
||||
// computeIntegrityHash(path.join(buildFolder, "bundle.js")) +
|
||||
// "';\n";
|
||||
scriptContent +=
|
||||
"var bundleIntegrityTranspiled = '" +
|
||||
computeIntegrityHash(path.join(buildFolder, "bundle-transpiled.js")) +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue