From e0ab911f7980b38dbdd55627584ec911307d2b6e Mon Sep 17 00:00:00 2001 From: ienaga Date: Mon, 24 Mar 2025 09:53:14 +0900 Subject: [PATCH] =?UTF-8?q?#169=20import=E5=87=A6=E7=90=86=E3=82=92?= =?UTF-8?q?=E6=94=B9=E4=BF=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 4 ++-- package.json | 2 +- scripts/worker.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) 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(