File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,12 +3,14 @@ import { defineDevConfig } from '@rolldown/test-dev-server';
33export default defineDevConfig ( {
44 build : {
55 input : 'src/main.js' ,
6+ output : {
7+ strictExecutionOrder : true ,
8+ } ,
69 experimental : {
710 devMode : {
811 new : true ,
912 } ,
1013 incrementalBuild : true ,
11- strictExecutionOrder : true ,
1214 } ,
1315 treeshake : false ,
1416 } ,
Original file line number Diff line number Diff line change @@ -3,12 +3,14 @@ import { defineDevConfig } from '@rolldown/test-dev-server';
33export default defineDevConfig ( {
44 build : {
55 input : './src/entry-a.js' ,
6+ output : {
7+ strictExecutionOrder : true ,
8+ } ,
69 experimental : {
710 devMode : {
811 lazy : true ,
912 } ,
1013 incrementalBuild : true ,
11- strictExecutionOrder : true ,
1214 } ,
1315 treeshake : false ,
1416 } ,
Original file line number Diff line number Diff line change @@ -470,7 +470,6 @@ const InputOptionsSchema = v.strictObject({
470470 enableComposingJsPlugins : v . optional ( v . boolean ( ) ) ,
471471 viteMode : v . optional ( v . boolean ( ) ) ,
472472 resolveNewUrlToAsset : v . optional ( v . boolean ( ) ) ,
473- strictExecutionOrder : v . optional ( v . boolean ( ) ) ,
474473 onDemandWrapping : v . optional ( v . boolean ( ) ) ,
475474 incrementalBuild : v . optional ( v . boolean ( ) ) ,
476475 devMode : v . optional ( DevModeSchema ) ,
@@ -775,6 +774,10 @@ const OutputOptionsSchema = v.strictObject({
775774 v . optional ( v . boolean ( ) ) ,
776775 v . description ( 'Keep function and class names after bundling' ) ,
777776 ) ,
777+ strictExecutionOrder : v . pipe (
778+ v . optional ( v . boolean ( ) ) ,
779+ v . description ( 'Lets modules be executed in the order they are declared.' ) ,
780+ ) ,
778781} ) satisfies v . GenericSchema < OutputOptions > ;
779782
780783const getAddonDescription = ( placement : 'bottom' | 'top' , wrapper : 'inside' | 'outside' ) => {
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ OPTIONS
8585 --shim-missing-exports Create shim variables for missing exports.
8686 --sourcemap-base-url <sourcemap-base-url >Base URL used to prefix sourcemap paths.
8787 --sourcemap-debug-ids Inject sourcemap debug IDs.
88+ --strict-execution-order Lets modules be executed in the order they are declared.
8889 --top-level-var Rewrite top-level declarations to use \`var\`.
8990 --transform.assumptions.ignore-function-length .
9091 --transform.assumptions.no-document-all .
You can’t perform that action at this time.
0 commit comments