@umijs/babel-preset-umi 4.0.70 → 4.0.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -2
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -93,9 +93,12 @@ var src_default = (_context, opts) => {
|
|
|
93
93
|
// TC39 Proposals
|
|
94
94
|
// class-static-block
|
|
95
95
|
// decorators
|
|
96
|
-
[
|
|
96
|
+
opts.pluginDecorators !== false && [
|
|
97
97
|
require.resolve("@umijs/bundler-utils/compiled/babel/plugin-proposal-decorators"),
|
|
98
|
-
{
|
|
98
|
+
{
|
|
99
|
+
legacy: true,
|
|
100
|
+
...opts.pluginDecorators
|
|
101
|
+
}
|
|
99
102
|
],
|
|
100
103
|
// Enable loose mode to use assignment instead of defineProperty
|
|
101
104
|
// Note:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/babel-preset-umi",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.71",
|
|
4
4
|
"description": "Official babel preset for umi.",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi/tree/master/packages/babel-preset-umi#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi/issues",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"@bloomberg/record-tuple-polyfill": "0.0.4",
|
|
20
20
|
"babel-plugin-styled-components": "2.1.1",
|
|
21
21
|
"core-js": "3.28.0",
|
|
22
|
-
"@umijs/bundler-utils": "4.0.
|
|
23
|
-
"@umijs/utils": "4.0.
|
|
22
|
+
"@umijs/bundler-utils": "4.0.71",
|
|
23
|
+
"@umijs/utils": "4.0.71"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|