File tree 2 files changed +0
-9
lines changed
packages/qwik/src/optimizer/src/plugins
2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -917,7 +917,6 @@ export const manifest = ${JSON.stringify(manifest)};\n`;
917
917
setSourceMapSupport,
918
918
configureServer,
919
919
handleHotUpdate,
920
- manualChunks,
921
920
} ;
922
921
}
923
922
Original file line number Diff line number Diff line change @@ -187,7 +187,6 @@ export function normalizeRollupOutputOptionsObject(
187
187
const outputOpts : Rollup . OutputOptions = { ...rollupOutputOptsObj } ;
188
188
const opts = qwikPlugin . getOptions ( ) ;
189
189
const optimizer = qwikPlugin . getOptimizer ( ) ;
190
- const manualChunks = qwikPlugin . manualChunks ;
191
190
if ( opts . target === 'client' ) {
192
191
// client output
193
192
if ( ! outputOpts . assetFileNames ) {
@@ -244,13 +243,6 @@ export function normalizeRollupOutputOptionsObject(
244
243
if ( opts . target === 'client' ) {
245
244
// client should always be es
246
245
outputOpts . format = 'es' ;
247
- const prevManualChunks = outputOpts . manualChunks ;
248
- if ( prevManualChunks && typeof prevManualChunks !== 'function' ) {
249
- throw new Error ( 'manualChunks must be a function' ) ;
250
- }
251
- outputOpts . manualChunks = prevManualChunks
252
- ? ( id , meta ) => prevManualChunks ( id , meta ) || manualChunks ( id , meta )
253
- : manualChunks ;
254
246
}
255
247
256
248
if ( ! outputOpts . dir ) {
You can’t perform that action at this time.
0 commit comments