diff --git a/package-lock.json b/package-lock.json index e9387d58..572ea10f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@next2d/player", - "version": "2.0.3", + "version": "2.0.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@next2d/player", - "version": "2.0.3", + "version": "2.0.4", "license": "MIT", "workspaces": [ "packages/*" diff --git a/package.json b/package.json index 73d47737..a08dae2f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@next2d/player", - "version": "2.0.3", + "version": "2.0.4", "description": "Experience the fast and beautiful anti-aliased rendering of WebGL. You can create rich, interactive graphics, cross-platform applications and games without worrying about browser or device compatibility.", "author": "Toshiyuki Ienaga (https://github.com/ienaga/)", "license": "MIT", diff --git a/scripts/worker.js b/scripts/worker.js index a820669e..57ae7cd1 100644 --- a/scripts/worker.js +++ b/scripts/worker.js @@ -14,7 +14,7 @@ const rendererWorker = () => `export const workerInlineUrl = 'data:application/javascript;base64,${workerBase64}';` ); - const src = `import workerInlineUrl from "./renderer.worker.inline.js"; + const src = `import { workerInlineUrl } from "./renderer.worker.inline.js"; export const $rendererWorker = new Worker(workerInlineUrl); `; writeFileSync( @@ -33,7 +33,7 @@ const unzipWorker = () => `export const workerInlineUrl = 'data:application/javascript;base64,${workerBase64}';` ); - const src = `import workerInlineUrl from "./unzip.worker.inline.js"; + const src = `import { workerInlineUrl } from "./unzip.worker.inline.js"; export const $unzipWorker = new Worker(workerInlineUrl); `; writeFileSync(