Skip to content

Commit 1c7f36a

Browse files
committed
chore(catalog): ⚙️ Set platform to node for esbuild
This change configures esbuild to target the node platform. - Ensures compatibility with node environment. - Prevents browser-specific code from being included in the bundle.
1 parent 5e6ec1c commit 1c7f36a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

catalog/esbuild.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ if (DEV) {
6666
bundle: true,
6767
outdir: jsFolder,
6868
minify: true,
69+
platform: 'node',
6970
format: 'esm',
7071
treeShaking: true,
7172
legalComments: 'external',

0 commit comments

Comments
 (0)