Skip to content

Commit 1e7642b

Browse files
authored
fix(rollup-plugin): remove default modules (#5203)
1 parent 51215d9 commit 1e7642b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/@lwc/rollup-plugin/src/index.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@ export interface RollupLwcOptions {
6363

6464
const PLUGIN_NAME = 'rollup-plugin-lwc-compiler';
6565

66-
const DEFAULT_MODULES = [
67-
{ npm: '@lwc/engine-dom' },
68-
{ npm: '@lwc/synthetic-shadow' },
69-
{ npm: '@lwc/wire-service' },
70-
];
71-
7266
const IMPLICIT_DEFAULT_HTML_PATH = '@lwc/resources/empty_html.js';
7367
const EMPTY_IMPLICIT_HTML_CONTENT = 'export default void 0';
7468
const IMPLICIT_DEFAULT_CSS_PATH = '@lwc/resources/empty_css.css';
@@ -205,7 +199,7 @@ export default function lwc(pluginOptions: RollupLwcOptions = {}): Plugin {
205199
rootDir = path.resolve(rootDir);
206200
}
207201

208-
modules = [...modules, ...DEFAULT_MODULES, { dir: rootDir }];
202+
modules = [...modules, { dir: rootDir }];
209203
},
210204

211205
resolveId(importee, importer) {

0 commit comments

Comments
 (0)