Skip to content

Commit

Permalink
fix: use @rollup/plugin-replace instead of rollup-plugin-replace
Browse files Browse the repository at this point in the history
Ref: 8a93201
  • Loading branch information
sf-v committed Aug 18, 2022
1 parent 5a3752f commit 444af23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/content/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ When `alias` is specified the assets are served from that path, for example `/as
{
plugins: [
['@lwc/rollup-plugin', { rootDir: '<rootDir>/src/' }],
['rollup-plugin-replace', { 'process.env.NODE_ENV': JSON.stringify('production') }],
['@rollup/plugin-replace', { 'process.env.NODE_ENV': JSON.stringify('production') }],
];
}
```
Expand Down
2 changes: 1 addition & 1 deletion packages/lwc-example/best.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = {
rootDir: '<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: [
Expand Down

0 comments on commit 444af23

Please sign in to comment.