Skip to content

Commit b2ddf74

Browse files
committed
build: switch to legacy decorators
1 parent 93cab0b commit b2ddf74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
plugins: [
3-
["@babel/plugin-proposal-decorators", { decoratorsBeforeExport: true }],
3+
["@babel/plugin-proposal-decorators", { legacy: true }],
44
'@babel/plugin-transform-class-properties'
55
],
66
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],

0 commit comments

Comments
 (0)