Skip to content

Commit 4fc0007

Browse files
authored
Revert "chore: Set decoratorsBeforeExport to true (#34)" (#35)
This reverts commit ef28e74.
1 parent ef28e74 commit 4fc0007

File tree

18 files changed

+18
-18
lines changed

18 files changed

+18
-18
lines changed

src/blueprints/ember-addon/__addonLocation__/babel.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<% } %> "plugins": [
44
"@embroider/addon-dev/template-colocation-plugin",<% if (options.packages.addon.hasTypeScript) { %>
55
["@babel/plugin-transform-typescript", { "allowDeclareFields": true }],<% } %>
6-
["@babel/plugin-proposal-decorators", { "decoratorsBeforeExport": true }],
6+
["@babel/plugin-proposal-decorators", { "legacy": true }],
77
"@babel/plugin-proposal-class-properties"
88
]
99
}

tests/fixtures/ember-container-query-customizations/output/packages/ember-container-query/babel.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"plugins": [
44
"@embroider/addon-dev/template-colocation-plugin",
55
["@babel/plugin-transform-typescript", { "allowDeclareFields": true }],
6-
["@babel/plugin-proposal-decorators", { "decoratorsBeforeExport": true }],
6+
["@babel/plugin-proposal-decorators", { "legacy": true }],
77
"@babel/plugin-proposal-class-properties"
88
]
99
}

tests/fixtures/ember-container-query-glint/output/ember-container-query/babel.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"plugins": [
44
"@embroider/addon-dev/template-colocation-plugin",
55
["@babel/plugin-transform-typescript", { "allowDeclareFields": true }],
6-
["@babel/plugin-proposal-decorators", { "decoratorsBeforeExport": true }],
6+
["@babel/plugin-proposal-decorators", { "legacy": true }],
77
"@babel/plugin-proposal-class-properties"
88
]
99
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"plugins": [
33
"@embroider/addon-dev/template-colocation-plugin",
4-
["@babel/plugin-proposal-decorators", { "decoratorsBeforeExport": true }],
4+
["@babel/plugin-proposal-decorators", { "legacy": true }],
55
"@babel/plugin-proposal-class-properties"
66
]
77
}

tests/fixtures/ember-container-query-scoped/output/ember-container-query/babel.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"plugins": [
44
"@embroider/addon-dev/template-colocation-plugin",
55
["@babel/plugin-transform-typescript", { "allowDeclareFields": true }],
6-
["@babel/plugin-proposal-decorators", { "decoratorsBeforeExport": true }],
6+
["@babel/plugin-proposal-decorators", { "legacy": true }],
77
"@babel/plugin-proposal-class-properties"
88
]
99
}

tests/fixtures/ember-container-query-typescript/output/ember-container-query/babel.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"plugins": [
44
"@embroider/addon-dev/template-colocation-plugin",
55
["@babel/plugin-transform-typescript", { "allowDeclareFields": true }],
6-
["@babel/plugin-proposal-decorators", { "decoratorsBeforeExport": true }],
6+
["@babel/plugin-proposal-decorators", { "legacy": true }],
77
"@babel/plugin-proposal-class-properties"
88
]
99
}

tests/fixtures/new-v1-addon-customizations/output/packages/new-v1-addon/babel.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"plugins": [
44
"@embroider/addon-dev/template-colocation-plugin",
55
["@babel/plugin-transform-typescript", { "allowDeclareFields": true }],
6-
["@babel/plugin-proposal-decorators", { "decoratorsBeforeExport": true }],
6+
["@babel/plugin-proposal-decorators", { "legacy": true }],
77
"@babel/plugin-proposal-class-properties"
88
]
99
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"plugins": [
33
"@embroider/addon-dev/template-colocation-plugin",
4-
["@babel/plugin-proposal-decorators", { "decoratorsBeforeExport": true }],
4+
["@babel/plugin-proposal-decorators", { "legacy": true }],
55
"@babel/plugin-proposal-class-properties"
66
]
77
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"plugins": [
33
"@embroider/addon-dev/template-colocation-plugin",
4-
["@babel/plugin-proposal-decorators", { "decoratorsBeforeExport": true }],
4+
["@babel/plugin-proposal-decorators", { "legacy": true }],
55
"@babel/plugin-proposal-class-properties"
66
]
77
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"plugins": [
33
"@embroider/addon-dev/template-colocation-plugin",
4-
["@babel/plugin-proposal-decorators", { "decoratorsBeforeExport": true }],
4+
["@babel/plugin-proposal-decorators", { "legacy": true }],
55
"@babel/plugin-proposal-class-properties"
66
]
77
}

0 commit comments

Comments
 (0)