File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
cases/incremental/remove-optimized-module Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,10 @@ module.exports = {
55 entry : "./index.js" ,
66 cache : true ,
77 experiments : {
8- cache : true
8+ cache : true ,
9+ incremental : {
10+ providedExports : false
11+ }
912 } ,
1013 plugins : [ new rspack . HtmlRspackPlugin ( ) ]
1114} ;
Original file line number Diff line number Diff line change @@ -62,7 +62,9 @@ export default defineConfig<RspackOptions>({
6262 basePort : 8200 ,
6363 handleConfig : ( config : any ) => {
6464 config . experiments ??= { } ;
65- config . experiments . incremental = true ;
65+ if ( config . experiments . incremental == undefined ) {
66+ config . experiments . incremental = true ;
67+ }
6668 const cache = config . experiments . cache ;
6769 if ( typeof cache === "object" && cache . type === "persistent" ) {
6870 cache . storage = {
You can’t perform that action at this time.
0 commit comments