Skip to content

Commit 592d453

Browse files
committed
fix(repl): don't crash in prod mode
server.mjs uses container.$events$ but that gets minified in the core.min build
1 parent ade5280 commit 592d453

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/docs/src/repl/bundler/rollup-plugins.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ export const replResolver = (
4848
id === '@builder.io/qwik/jsx-runtime' ||
4949
id === '@builder.io/qwik/jsx-dev-runtime'
5050
) {
51-
return options.buildMode === 'production'
52-
? '@qwik/dist/core.min.mjs'
53-
: '@qwik/dist/core.mjs';
51+
return '@qwik/dist/core.mjs';
5452
}
5553
if (id === '@builder.io/qwik/server') {
5654
return '@qwik/dist/server.mjs';

0 commit comments

Comments
 (0)