File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
packages/qwik/src/optimizer/src/plugins Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -986,22 +986,6 @@ export const manifest = ${JSON.stringify(serverManifest)};\n`;
986986 return chunkName ;
987987 }
988988 }
989-
990- // The id either points to a context file, inline component, or src .js/.ts util/helper file (or a barrel file but it will be tree-shaken by rollup)
991- // Making sure that we return a specific id for those files prevents rollup from bundling unrelated code together
992- if ( module . meta . qwikdeps ?. length === 0 ) {
993- if ( id . includes ( 'node_modules' ) ) {
994- const idx = id . lastIndexOf ( 'node_modules' ) ;
995- if ( idx >= 0 ) {
996- const relToNodeModules = id . slice ( idx + 13 ) ;
997- return relToNodeModules ;
998- }
999- } else if ( opts . srcDir && id . includes ( opts . srcDir ) ) {
1000- const path = getPath ( ) ;
1001- const relToSrcDir = normalizePath ( path . relative ( opts . srcDir , id ) ) ;
1002- return relToSrcDir ;
1003- }
1004- }
1005989 }
1006990
1007991 // The rest is non-qwik code. We let rollup handle it.
You can’t perform that action at this time.
0 commit comments