@umijs/babel-preset-umi 4.0.87 → 4.0.88
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 +0 -1
- package/dist/index.js +0 -9
- package/package.json +3 -4
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -84,15 +84,6 @@ var src_default = (_context, opts) => {
|
|
|
84
84
|
]
|
|
85
85
|
].filter(Boolean),
|
|
86
86
|
plugins: [
|
|
87
|
-
opts.pluginStyledComponents && [
|
|
88
|
-
require.resolve("babel-plugin-styled-components"),
|
|
89
|
-
{
|
|
90
|
-
// 该 plugin 会校验 styled 的来源
|
|
91
|
-
// 如果不是 `styled-components`, 需要手动引入后才能使 displayName 生效
|
|
92
|
-
topLevelImportPaths: ["@umijs/max"],
|
|
93
|
-
...opts.pluginStyledComponents
|
|
94
|
-
}
|
|
95
|
-
],
|
|
96
87
|
// TC39 Proposals
|
|
97
88
|
// class-static-block
|
|
98
89
|
// decorators
|
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.88",
|
|
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",
|
|
@@ -17,10 +17,9 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/runtime": "7.23.2",
|
|
19
19
|
"@bloomberg/record-tuple-polyfill": "0.0.4",
|
|
20
|
-
"babel-plugin-styled-components": "2.1.1",
|
|
21
20
|
"core-js": "3.28.0",
|
|
22
|
-
"@umijs/bundler-utils": "4.0.
|
|
23
|
-
"@umijs/utils": "4.0.
|
|
21
|
+
"@umijs/bundler-utils": "4.0.88",
|
|
22
|
+
"@umijs/utils": "4.0.88"
|
|
24
23
|
},
|
|
25
24
|
"publishConfig": {
|
|
26
25
|
"access": "public"
|