Skip to content

Commit

Permalink
Fix(Cross Import): ReferenceError: __filename is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Jun 10, 2023
1 parent 42f7d2b commit 8e7fe2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cross-import/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "cross-import",
"scripts": {
"build:cjs": "esbuild src/index.ts --bundle --outfile=dist/index.js --format=cjs --minify --sourcemap --platform=node --external:esbuild --external:fast-glob --external:jiti --external:@techor/extend --external:sucrase --external:upath",
"build:esm": "esbuild src/index.ts --bundle --outfile=dist/index.esm.mjs --format=esm --minify --sourcemap --platform=node --external:esbuild --external:fast-glob --external:jiti --external:@techor/extend --external:sucrase --external:upath",
"build:esm": "esbuild src/index.esm.ts --bundle --outfile=dist/index.esm.mjs --format=esm --minify --sourcemap --platform=node --external:esbuild --external:fast-glob --external:jiti --external:@techor/extend --external:sucrase --external:upath",
"build:type": "tsc --emitDeclarationOnly --preserveWatchOutput",
"build": "npm run build:cjs && npm run build:esm && npm run build:type",
"dev": "conc 'npm:build:* -- --watch'",
Expand Down

0 comments on commit 8e7fe2c

Please sign in to comment.