From 444af23544ed77135f40a8720d2e408f1ed25ae8 Mon Sep 17 00:00:00 2001 From: sf-v Date: Wed, 17 Aug 2022 17:50:24 -0700 Subject: [PATCH] fix: use `@rollup/plugin-replace` instead of `rollup-plugin-replace` Ref: https://github.com/salesforce/best/commit/8a9320141dc50607f588ef651c68813186570245 --- docs/content/docs/configuration.md | 2 +- packages/lwc-example/best.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/docs/configuration.md b/docs/content/docs/configuration.md index 0a33740b..73f210a7 100644 --- a/docs/content/docs/configuration.md +++ b/docs/content/docs/configuration.md @@ -171,7 +171,7 @@ When `alias` is specified the assets are served from that path, for example `/as { plugins: [ ['@lwc/rollup-plugin', { rootDir: '/src/' }], - ['rollup-plugin-replace', { 'process.env.NODE_ENV': JSON.stringify('production') }], + ['@rollup/plugin-replace', { 'process.env.NODE_ENV': JSON.stringify('production') }], ]; } ``` diff --git a/packages/lwc-example/best.config.js b/packages/lwc-example/best.config.js index b7c60459..a8be53f2 100644 --- a/packages/lwc-example/best.config.js +++ b/packages/lwc-example/best.config.js @@ -14,7 +14,7 @@ module.exports = { rootDir: '/src/', }, ], - ['rollup-plugin-replace', { 'process.env.NODE_ENV': JSON.stringify('production') }], + ['@rollup/plugin-replace', { 'process.env.NODE_ENV': JSON.stringify('production') }], ], specs: { name: 'chrome.headless', version: 105 }, runners: [