Skip to content

Commit

Permalink
build: replace deprecated packages (#2221)
Browse files Browse the repository at this point in the history
  • Loading branch information
hung-cybo authored and tasshi-me committed Aug 14, 2023
1 parent 70421d8 commit 0c1bee5
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 296 deletions.
4 changes: 2 additions & 2 deletions packages/rest-api-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.3",
"@types/core-js": "^2.5.5",
"@types/js-base64": "^3.0.0",
"@types/mime": "^3.0.1",
"@types/qs": "^6.9.7",
"rollup-plugin-ecma-version-validator": "^0.2.13",
"rollup-plugin-license": "^3.0.1",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-terser": "^7.0.2"
"rollup-plugin-polyfill-node": "^0.12.0"
},
"dependencies": {
"axios": "^1.4.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/rest-api-client/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { defineConfig } from "rollup";
import resolve from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
import json from "@rollup/plugin-json";
import { terser } from "rollup-plugin-terser";
import terser from '@rollup/plugin-terser';
import license from "rollup-plugin-license";
import builtins from "rollup-plugin-node-builtins";
import nodePolyfills from "rollup-plugin-polyfill-node";
import globals from "rollup-plugin-node-globals";
import babel from "@rollup/plugin-babel";
import { ecmaVersionValidator } from "rollup-plugin-ecma-version-validator";
Expand Down Expand Up @@ -81,7 +81,7 @@ export default defineConfig({
}),
json(),
globals(),
builtins(),
nodePolyfills(),
isProd && terser(),
ecmaVersionValidator({ ecmaVersion: 6 }),
license({
Expand Down
Loading

0 comments on commit 0c1bee5

Please sign in to comment.