From 7422feaf41654be467c9c084b12c19fe1523737c Mon Sep 17 00:00:00 2001 From: Darren Seet Date: Wed, 22 Jan 2020 10:48:12 -0500 Subject: [PATCH 1/2] docs(alias): Fix reference to plugin-node-resolve --- packages/alias/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/alias/README.md b/packages/alias/README.md index a2848a6af..7ad1c8142 100644 --- a/packages/alias/README.md +++ b/packages/alias/README.md @@ -129,7 +129,7 @@ This would replace the file extension for all imports ending with `.js` to `.ali ## Resolving algorithm -This plugin uses resolver plugins specified for Rollup and eventually Rollup default algorithm. If you rely on Node specific features, you probably want [rollup-plugin-node-resolve](https://www.npmjs.com/package/rollup-plugin-node-resolve) in your setup. +This plugin uses resolver plugins specified for Rollup and eventually Rollup default algorithm. If you rely on Node specific features, you probably want [@rollup/plugin-node-resolve](https://www.npmjs.com/package/@rollup/plugin-node-resolve) in your setup. ## Custom Resolvers From 633edd614a5fd80d4c93ebcbf6d1b10fd3c0d897 Mon Sep 17 00:00:00 2001 From: Darren Seet Date: Wed, 22 Jan 2020 22:00:10 -0500 Subject: [PATCH 2/2] docs(alias): Fix reference to plugin-node-resolve Fix code sample to use the new package @rollup/plugin-node-resolve instead of rollup-plugin-node-resolve --- packages/alias/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/alias/README.md b/packages/alias/README.md index 7ad1c8142..bbcd0c458 100644 --- a/packages/alias/README.md +++ b/packages/alias/README.md @@ -140,7 +140,7 @@ Example: ```javascript // rollup.config.js import alias from '@rollup/plugin-alias'; -import resolve from 'rollup-plugin-node-resolve'; +import resolve from '@rollup/plugin-node-resolve'; const customResolver = resolve({ extensions: ['.mjs', '.js', '.jsx', '.json', '.sass', '.scss']