Skip to content

Commit aef9640

Browse files
authored
chore(deps-dev): use updated rollup plugins (#3392)
1 parent 22bd278 commit aef9640

File tree

4 files changed

+161
-91
lines changed

4 files changed

+161
-91
lines changed

js/deps/rollup.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// rollup.config.js
2-
import resolve from 'rollup-plugin-node-resolve';
3-
import commonjs from 'rollup-plugin-commonjs';
2+
import resolve from '@rollup/plugin-node-resolve';
3+
import commonjs from '@rollup/plugin-commonjs';
44

55
const template = {
66
output: {

package-lock.json

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

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
"Robin Berjon"
2424
],
2525
"devDependencies": {
26+
"@rollup/plugin-alias": "^3.1.2",
27+
"@rollup/plugin-commonjs": "^17.1.0",
28+
"@rollup/plugin-node-resolve": "^11.2.0",
2629
"@types/marked": "^2.0.0",
2730
"@types/pluralize": "0.0.29",
2831
"boxen": "^5.0.0",
@@ -52,9 +55,6 @@
5255
"prettier": "^2.2.1",
5356
"prompt": "^1.1.0",
5457
"rollup": "^2.41.2",
55-
"rollup-plugin-alias": "^2.2.0",
56-
"rollup-plugin-commonjs": "^10.1.0",
57-
"rollup-plugin-node-resolve": "^5.2.0",
5858
"rollup-plugin-terser": "^7.0.2",
5959
"serve": "^11.3.2",
6060
"typescript": "^4.2.3",

tools/builder.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const colors = require("colors");
66
const { promises: fsp } = require("fs");
77
const path = require("path");
88
const { rollup } = require("rollup");
9-
const alias = require("rollup-plugin-alias");
9+
const alias = require("@rollup/plugin-alias");
1010
const CleanCSS = require("clean-css");
1111

1212
colors.setTheme({

0 commit comments

Comments
 (0)