Skip to content

Commit

Permalink
fix rollup terser
Browse files Browse the repository at this point in the history
  • Loading branch information
iAmmar7 committed Feb 24, 2025
1 parent dfa7575 commit 2b2b415
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 38 deletions.
85 changes: 49 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/sw-build/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import esbuild from 'esbuild'
import { nodeExternalsPlugin } from 'esbuild-node-externals'
// UMD related deps.
import { nodeResolve } from '@rollup/plugin-node-resolve'
import { terser } from 'rollup-plugin-terser'
import terser from '@rollup/plugin-terser'
import * as rollup from 'rollup'
import commonjs from '@rollup/plugin-commonjs'
import license from 'rollup-plugin-license'
Expand Down
2 changes: 1 addition & 1 deletion scripts/sw-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-terser": "^0.4.4",
"esbuild-node-externals": "^1.4.1",
"rollup": "^2.74.1",
"rollup-plugin-license": "^2.7.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.2",
"rollup-plugin-visualizer": "^5.6.0"
}
Expand Down

0 comments on commit 2b2b415

Please sign in to comment.