File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
packages/repack/src/plugins Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @callstack/repack " : patch
3+ ---
4+
5+ Remove enforcement of output filenames in dev mode
Original file line number Diff line number Diff line change @@ -121,11 +121,6 @@ export class DevelopmentPlugin implements RspackPluginInstance {
121121 // set public path for development with dev server
122122 compiler . options . output . publicPath = `${ protocol } ://${ host } :${ port } /${ platform } /` ;
123123
124- // enforce output filenames in development mode
125- compiler . options . output . filename = ( pathData ) =>
126- pathData . chunk ?. name === 'main' ? 'index.bundle' : '[name].bundle' ;
127- compiler . options . output . chunkFilename = '[name].chunk.bundle' ;
128-
129124 if ( compiler . options . devServer . hot ) {
130125 // setup HMR
131126 new compiler . webpack . HotModuleReplacementPlugin ( ) . apply ( compiler ) ;
You can’t perform that action at this time.
0 commit comments