Skip to content

Commit 00dbb37

Browse files
committed
fix: use terser-config-atomic
1 parent f2bd0c3 commit 00dbb37

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

.terserrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require("terser-config-atomic")

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
"rollup": "^2.52.2",
6464
"rollup-plugin-atomic": "^2.3.2",
6565
"shx": "^0.3.3",
66+
"terser-config-atomic": "^0.1.1",
6667
"typescript": "^4.3.4"
6768
},
6869
"repository": {

pnpm-lock.yaml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rollup.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { createPlugins } from "rollup-plugin-atomic"
22

3-
const plugins = createPlugins(["ts", "js"])
3+
const plugins = createPlugins(["ts", "js", ["terser", require("./.terserrc.js")]])
44

55
const RollupConfig = [
66
{

0 commit comments

Comments
 (0)