@umijs/plugins 4.2.6-alpha.25 → 4.2.6-alpha.27
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/initial-state.js +2 -2
- package/package.json +3 -3
package/dist/initial-state.js
CHANGED
|
@@ -46,7 +46,7 @@ var initial_state_default = (api) => {
|
|
|
46
46
|
});
|
|
47
47
|
api.addRuntimePluginKey(() => ["getInitialState"]);
|
|
48
48
|
api.addRuntimePlugin(() => {
|
|
49
|
-
return [(0, import_withTmpPath.withTmpPath)({ api, path: "runtime.
|
|
49
|
+
return [(0, import_withTmpPath.withTmpPath)({ api, path: "runtime.jsx" })];
|
|
50
50
|
});
|
|
51
51
|
api.onGenerateFiles(() => {
|
|
52
52
|
var _a;
|
|
@@ -127,7 +127,7 @@ export default () => ({ loading: false, refresh: () => {} })
|
|
|
127
127
|
`
|
|
128
128
|
});
|
|
129
129
|
api.writeTmpFile({
|
|
130
|
-
path: "runtime.
|
|
130
|
+
path: "runtime.jsx",
|
|
131
131
|
content: `
|
|
132
132
|
import React from 'react';
|
|
133
133
|
import Provider from './Provider';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/plugins",
|
|
3
|
-
"version": "4.2.6-alpha.
|
|
3
|
+
"version": "4.2.6-alpha.27",
|
|
4
4
|
"description": "@umijs/plugins",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi/tree/master/packages/plugins#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi/issues",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"styled-components": "6.1.1",
|
|
46
46
|
"tslib": "^2",
|
|
47
47
|
"warning": "^4.0.3",
|
|
48
|
-
"@umijs/bundler-utils": "4.2.6-alpha.
|
|
48
|
+
"@umijs/bundler-utils": "4.2.6-alpha.27",
|
|
49
49
|
"@umijs/valtio": "1.0.4"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"antd": "^4.24.1",
|
|
53
|
-
"umi": "4.2.6-alpha.
|
|
53
|
+
"umi": "4.2.6-alpha.27"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|