next-blurhash-previews 0.0.3-beta12 → 0.0.3-beta16
Sign up to get free protection for your applications and to get access to all the features.
File without changes
|
package/package.json
CHANGED
package/util/setBootstrap.js
CHANGED
@@ -9,14 +9,14 @@ export default function writeBootstrapScript() {
|
|
9
9
|
"utf8"
|
10
10
|
);
|
11
11
|
const bootstrapScript = fs.readFileSync(
|
12
|
-
"./build/imageWithPreview.
|
12
|
+
"./build/imageWithPreview.cjs",
|
13
13
|
"utf8"
|
14
14
|
);
|
15
15
|
BootstrapModule = BootstrapModule.replace(
|
16
16
|
"/*HERE*/",
|
17
17
|
bootstrapScript.replace(/[\r\n]\s*$/, "").replace(/`/g, "\\`")
|
18
18
|
).replace(/\${/g, "\\${");
|
19
|
-
fs.writeFileSync("./imagePreviewBootstrap.
|
19
|
+
fs.writeFileSync("./imagePreviewBootstrap.cjs", BootstrapModule);
|
20
20
|
},
|
21
21
|
};
|
22
22
|
}
|
package/vite.config.ts
CHANGED