next-blurhash-previews 0.0.3-beta13 → 0.0.3-beta15

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-blurhash-previews",
3
- "version": "0.0.3-beta13",
3
+ "version": "0.0.3-beta15",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -9,7 +9,7 @@ export default function writeBootstrapScript() {
9
9
  "utf8"
10
10
  );
11
11
  const bootstrapScript = fs.readFileSync(
12
- "./build/imageWithPreview.js",
12
+ "./build/imageWithPreview.cjs",
13
13
  "utf8"
14
14
  );
15
15
  BootstrapModule = BootstrapModule.replace(
package/vite.config.ts CHANGED
@@ -9,7 +9,7 @@ export default defineConfig({
9
9
  lib: {
10
10
  entry: "components/imageWithPreview.tsx",
11
11
  formats: ["cjs"],
12
- fileName: () => "imageWithPreview.js",
12
+ fileName: () => "imageWithPreview.cjs",
13
13
  name: "imageWithPreview",
14
14
  },
15
15
  //minify: false,