File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/@vue/babel-preset-app Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ module.exports = (context, options = {}) => {
52
52
exclude,
53
53
shippedProposals,
54
54
forceAllTransforms,
55
+ decoratorsBeforeExport,
55
56
decoratorsLegacy
56
57
} = options
57
58
@@ -131,7 +132,10 @@ module.exports = (context, options = {}) => {
131
132
// too many unstable proposals. Let's be conservative in the defaults here.
132
133
plugins . push (
133
134
require ( '@babel/plugin-syntax-dynamic-import' ) ,
134
- [ require ( '@babel/plugin-proposal-decorators' ) , { legacy : decoratorsLegacy !== false } ] ,
135
+ [ require ( '@babel/plugin-proposal-decorators' ) , {
136
+ decoratorsBeforeExport,
137
+ legacy : decoratorsLegacy !== false
138
+ } ] ,
135
139
[ require ( '@babel/plugin-proposal-class-properties' ) , { loose } ] ,
136
140
)
137
141
You can’t perform that action at this time.
0 commit comments