Switch `rollup-plugin-alias` to `@rollup/plugin-alias` (#6764)

* Switch `rollup-plugin-alias` to `@rollup/plugin-alias

* fix build script
master
fisker Cheung 2019-10-31 20:16:58 +08:00 committed by Georgii Dolzhykov
parent fdfec22510
commit d789126c69
3 changed files with 9 additions and 9 deletions

View File

@ -76,6 +76,7 @@
"devDependencies": {
"@babel/core": "7.6.3",
"@babel/preset-env": "7.6.3",
"@rollup/plugin-alias": "2.2.0",
"@rollup/plugin-replace": "2.2.0",
"babel-loader": "8.0.6",
"benchmark": "2.1.4",
@ -99,7 +100,6 @@
"prettylint": "1.0.0",
"rimraf": "3.0.0",
"rollup": "1.21.4",
"rollup-plugin-alias": "2.0.1",
"rollup-plugin-babel": "4.3.3",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-json": "4.0.0",

View File

@ -5,7 +5,7 @@ const path = require("path");
const { rollup } = require("rollup");
const webpack = require("webpack");
const resolve = require("rollup-plugin-node-resolve");
const alias = require("rollup-plugin-alias");
const alias = require("@rollup/plugin-alias");
const commonjs = require("rollup-plugin-commonjs");
const nodeGlobals = require("rollup-plugin-node-globals");
const json = require("rollup-plugin-json");

View File

@ -916,6 +916,13 @@
"@types/istanbul-reports" "^1.1.1"
"@types/yargs" "^13.0.0"
"@rollup/plugin-alias@2.2.0":
version "2.2.0"
resolved "https://registry.yarnpkg.com/@rollup/plugin-alias/-/plugin-alias-2.2.0.tgz#3ac52ece8b39583249884adb90fb316484389fe5"
integrity sha512-//6zmlHGbmousaatu4pBlC61gqZykLbH0c2GESBO4JgK5xFZgb/ih0zlg/5/BmTAczX5R/xsHRnsYsu4KyHV5w==
dependencies:
slash "^3.0.0"
"@rollup/plugin-replace@2.2.0":
version "2.2.0"
resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-2.2.0.tgz#e3b11881fb1ab1be7570e1ccd175b8249e448c52"
@ -6312,13 +6319,6 @@ ripemd160@^2.0.0, ripemd160@^2.0.1:
hash-base "^2.0.0"
inherits "^2.0.1"
rollup-plugin-alias@2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/rollup-plugin-alias/-/rollup-plugin-alias-2.0.1.tgz#2f11b0a09e0bab1bbd1f130536fe99ef8f35c0dd"
integrity sha512-/wOySYmFzR1TPijsiNBOAV12HYPs7GZtAuim2LKdk5V6RnQSZ34ueVgkFfjJffe/HIFR6Jdwc4+7YOlY5uty4w==
dependencies:
slash "^3.0.0"
rollup-plugin-babel@4.3.3:
version "4.3.3"
resolved "https://registry.yarnpkg.com/rollup-plugin-babel/-/rollup-plugin-babel-4.3.3.tgz#7eb5ac16d9b5831c3fd5d97e8df77ba25c72a2aa"