mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-06 01:24:04 +00:00
Fix build issues
This commit is contained in:
parent
3b4ae39caa
commit
07fb65f3b6
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…
Reference in New Issue
Block a user