Skip to content

Commit

Permalink
Fix(Explore Config): Missed building ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Jun 10, 2023
1 parent 522c91f commit 8245f80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/explore-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"name": "explore-config",
"scripts": {
"build:cjs": "esbuild src/index.ts --bundle --outfile=dist/index.js --format=cjs --minify --sourcemap --platform=node --external:esbuild --external:fast-glob --external:@techor/log --external:@techor/extend --external:cross-import --external:upath",
"build:esm": "esbuild src/index.ts --bundle --outfile=dist/index.mjs --format=esm --minify --sourcemap --platform=node --external:esbuild --external:fast-glob --external:@techor/log --external:@techor/extend --external:cross-import --external:upath",
"build:type": "tsc --emitDeclarationOnly --preserveWatchOutput",
"build": "npm run build:cjs && npm run build:type",
"build": "npm run build:cjs && npm run build:esm && npm run build:type",
"dev": "conc 'npm:build:* -- --watch'",
"test": "jest",
"type-check": "tsc --noEmit",
Expand Down

0 comments on commit 8245f80

Please sign in to comment.