Skip to content

Commit

Permalink
build(rollup): upgrade plugins and config for v3
Browse files Browse the repository at this point in the history
  • Loading branch information
NickDJM committed Apr 18, 2023
1 parent d4ad6b1 commit c491210
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"prerelease": "npm run lint && npm run build && npm test",
"release": "git add dist/. && standard-version -a",
"prebuild": "npm run build:docs",
"build": "rollup --config .rollup.config.js",
"build": "rollup --config rollup.config.mjs",
"build:docs": "jsdoc -c jsdoc.config.js",
"test": "jest"
},
Expand Down Expand Up @@ -56,6 +56,7 @@
"@commitlint/config-conventional": "^17.0.0",
"@rollup/plugin-babel": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-terser": "^0.4.1",
"commitizen": "^4.2.2",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.12.1",
Expand All @@ -75,7 +76,6 @@
"prettier": "^2.1.2",
"rollup": "^3.19.1",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-terser": "^7.0.2",
"standard-version": "^9.0.0",
"terser": "^5.6.1"
}
Expand Down
2 changes: 1 addition & 1 deletion .rollup.config.js → rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { babel } from "@rollup/plugin-babel";
import resolve from "@rollup/plugin-node-resolve";
import { terser } from "rollup-plugin-terser";
import terser from "@rollup/plugin-terser";
import cleanup from "rollup-plugin-cleanup";

export default [
Expand Down

0 comments on commit c491210

Please sign in to comment.