Skip to content

Commit

Permalink
disable minification on compile
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed Dec 1, 2023
1 parent 6c37fe2 commit 98f77a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
],
"scripts": {
"compile": "run-s compile:*",
"compile:dom": "microbundle build -f modern,umd --globals react=React,react-dom=ReactDOM",
"compile:dom": "microbundle build -f modern,umd --globals react=React,react-dom=ReactDOM --no-compress",
"postcompile:dom": "cp dist/index.modern.mjs dist/index.modern.js && cp dist/index.modern.mjs.map dist/index.modern.js.map",
"precompile:native": "mkdir src/native && cp src/index.ts src/native/index.ts && cp src/batchedUpdates.native.ts src/native/batchedUpdates.ts",
"compile:native": "microbundle build -f modern,umd -i ./src/native/index.ts -o ./dist/index.native.js",
"compile:native": "microbundle build -f modern,umd -i ./src/native/index.ts -o ./dist/index.native.js --no-compress",
"postcompile:native": "rm -r src/native",
"test": "run-s eslint tsc-test jest",
"eslint": "eslint --ext .js,.ts,.tsx --ignore-pattern dist .",
Expand Down

0 comments on commit 98f77a9

Please sign in to comment.