Skip to content

Commit

Permalink
generate index.min.js (fix #441)
Browse files Browse the repository at this point in the history
  • Loading branch information
gildas-lormeau committed Aug 8, 2023
1 parent 58020f2 commit 12a94b3
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"types": "./index.d.ts",
"exports": {
"./package.json": "./package.json",
"./index.min.js": "./index.min.js",
".": {
"import": {
"types": "./index.d.ts",
Expand Down
3 changes: 3 additions & 0 deletions rollup-fflate.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ export default [{
}, {
file: "index.cjs",
format: "cjs"
}, {
file: "index.min.js",
format: "es"
}],
plugins: [nodeResolve()]
}, {
Expand Down
4 changes: 4 additions & 0 deletions rollup-fflate.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ export default [{
}, {
file: "index.cjs",
format: "cjs"
}, {
file: "index.min.js",
format: "es",
plugins: [terser(bundledTerserOptions)]
}],
plugins: [nodeResolve()]
}, {
Expand Down
3 changes: 3 additions & 0 deletions rollup.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ export default [{
}, {
file: "index.cjs",
format: "cjs"
}, {
file: "index.min.js",
format: "es"
}]
}, {
input: "lib/z-worker-bootstrap-pako.js",
Expand Down
4 changes: 4 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ export default [{
}, {
file: "index.cjs",
format: "cjs"
}, {
file: "index.min.js",
format: "es",
plugins: [terser(bundledTerserOptions)]
}]
}, {
input: "lib/z-worker-bootstrap-pako.js",
Expand Down

0 comments on commit 12a94b3

Please sign in to comment.