From 8edb195f4ab23915acad6ae51f8aeaea5ea18127 Mon Sep 17 00:00:00 2001 From: Doug Anderson444 Date: Sun, 23 Jun 2024 14:25:03 -0300 Subject: [PATCH] worker es format --- packages/integrity-wallet/inner-app/vite.config.js | 3 +++ packages/integrity-wallet/vite.config.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/packages/integrity-wallet/inner-app/vite.config.js b/packages/integrity-wallet/inner-app/vite.config.js index 840e351..0dd9342 100644 --- a/packages/integrity-wallet/inner-app/vite.config.js +++ b/packages/integrity-wallet/inner-app/vite.config.js @@ -23,6 +23,9 @@ export default defineConfig(({ command, mode }) => { build: { minify: false }, + worker: { + format: 'es' + }, server: { origin: base, fs: { diff --git a/packages/integrity-wallet/vite.config.js b/packages/integrity-wallet/vite.config.js index da82a81..87c4e5d 100644 --- a/packages/integrity-wallet/vite.config.js +++ b/packages/integrity-wallet/vite.config.js @@ -79,6 +79,9 @@ export default defineConfig(({ command, mode }) => { strict: false } }, + worker: { + format: 'es' + }, preview: { port: devConfig.port } }; });