Skip to content

Commit 9344821

Browse files
committed
build: Distribute uncompressed files. Terser compression was throwing errors with microbundle in ColorThief
1 parent 8464efc commit 9344821

File tree

8 files changed

+1565
-14
lines changed

8 files changed

+1565
-14
lines changed

dist/index.js

Lines changed: 518 additions & 2 deletions
Large diffs are not rendered by default.

dist/index.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/index.mjs

Lines changed: 518 additions & 2 deletions
Large diffs are not rendered by default.

dist/index.mjs.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/index.umd.js

Lines changed: 525 additions & 2 deletions
Large diffs are not rendered by default.

dist/index.umd.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@
2020
},
2121
"source": "src/quantize.js",
2222
"main": "dist/index.js",
23-
"module": "dist/quantize.mjs",
24-
"umd:main": "dist/quantize.umd.js",
23+
"module": "dist/index.mjs",
2524
"scripts": {
26-
"build": "microbundle",
27-
"watch": "microbundle watch"
25+
"build": "microbundle --no-compress --no-sourcemap",
26+
"watch": "microbundle --no-compress --no-sourcemap watch"
2827
},
2928
"dependencies": {},
3029
"devDependencies": {

0 commit comments

Comments
 (0)