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: [