Fix moduleAttributesVersion errors with stage-0 preset in babel standalone (#11631)
* Fix moduleAttributesVersion errors with stage-0 preset in babel standalone * Add regression test for stage-0 not erroring on missing moduleattributes version * Remove moduleAttributesVersion from preset config
This commit is contained in:
@@ -9,6 +9,7 @@ export default (_: any, opts: Object = {}) => {
|
||||
decoratorsLegacy = false,
|
||||
decoratorsBeforeExport,
|
||||
pipelineProposal = "minimal",
|
||||
moduleAttributesVersion = "may-2020",
|
||||
} = opts;
|
||||
|
||||
return {
|
||||
@@ -21,6 +22,7 @@ export default (_: any, opts: Object = {}) => {
|
||||
decoratorsLegacy,
|
||||
decoratorsBeforeExport,
|
||||
pipelineProposal,
|
||||
moduleAttributesVersion,
|
||||
},
|
||||
],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user