Change decoratorsBeforeExport default to false (#8113)
This commit is contained in:
@@ -16,7 +16,7 @@ export default declare((api, options) => {
|
||||
);
|
||||
}
|
||||
|
||||
let { decoratorsBeforeExport } = options;
|
||||
const { decoratorsBeforeExport } = options;
|
||||
if (decoratorsBeforeExport !== undefined) {
|
||||
if (legacy) {
|
||||
throw new Error(
|
||||
@@ -26,8 +26,6 @@ export default declare((api, options) => {
|
||||
if (typeof decoratorsBeforeExport !== "boolean") {
|
||||
throw new Error("'decoratorsBeforeExport' must be a boolean.");
|
||||
}
|
||||
} else if (!legacy) {
|
||||
decoratorsBeforeExport = true;
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user