@modern-js/plugin-docsite 1.2.7 → 1.2.8
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/CHANGELOG.md
CHANGED
@@ -1,5 +1,28 @@
|
|
1
1
|
# @modern-js/plugin-docsite
|
2
2
|
|
3
|
+
## 1.2.8
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 77519490: refactor(webpack): remove `@modern-js/core`
|
8
|
+
- Updated dependencies [2d155c4c]
|
9
|
+
- Updated dependencies [a0475f1a]
|
10
|
+
- Updated dependencies [123e432d]
|
11
|
+
- Updated dependencies [e5a9b26d]
|
12
|
+
- Updated dependencies [0b26b93b]
|
13
|
+
- Updated dependencies [123e432d]
|
14
|
+
- Updated dependencies [f9f66ef9]
|
15
|
+
- Updated dependencies [71526621]
|
16
|
+
- Updated dependencies [77519490]
|
17
|
+
- Updated dependencies [592edabc]
|
18
|
+
- Updated dependencies [3578716a]
|
19
|
+
- Updated dependencies [895fa0ff]
|
20
|
+
- Updated dependencies [3d1fac2a]
|
21
|
+
- Updated dependencies [3578913e]
|
22
|
+
- Updated dependencies [1c3beab3]
|
23
|
+
- @modern-js/utils@1.6.0
|
24
|
+
- @modern-js/webpack@1.5.7
|
25
|
+
|
3
26
|
## 1.2.7
|
4
27
|
|
5
28
|
### Patch Changes
|
@@ -5,7 +5,8 @@ import webpack from 'webpack';
|
|
5
5
|
import { getWebpackConfig, WebpackConfigTarget } from '@modern-js/webpack';
|
6
6
|
import { UTILS_STATIC } from "../constant";
|
7
7
|
export function generatorWebpackConfig(appDirectory, tmpDir, isDev) {
|
8
|
-
|
8
|
+
// FIXME: 这个包现在没有使用,待使用时再重构 webpack 配置的获取
|
9
|
+
const originConfig = getWebpackConfig(WebpackConfigTarget.CLIENT, {}, {});
|
9
10
|
const plugins = (originConfig.plugins || []).filter(p => p.constructor !== webpack.HotModuleReplacementPlugin);
|
10
11
|
const config = {
|
11
12
|
mode: isDev ? 'development' : 'production',
|
@@ -21,7 +21,8 @@ var _constant = require("../constant");
|
|
21
21
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
22
22
|
|
23
23
|
function generatorWebpackConfig(appDirectory, tmpDir, isDev) {
|
24
|
-
|
24
|
+
// FIXME: 这个包现在没有使用,待使用时再重构 webpack 配置的获取
|
25
|
+
const originConfig = (0, _webpack2.getWebpackConfig)(_webpack2.WebpackConfigTarget.CLIENT, {}, {});
|
25
26
|
const plugins = (originConfig.plugins || []).filter(p => p.constructor !== _webpack.default.HotModuleReplacementPlugin);
|
26
27
|
const config = {
|
27
28
|
mode: isDev ? 'development' : 'production',
|
package/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"modern",
|
12
12
|
"modern.js"
|
13
13
|
],
|
14
|
-
"version": "1.2.
|
14
|
+
"version": "1.2.8",
|
15
15
|
"jsnext:source": "./src/index.ts",
|
16
16
|
"types": "./dist/types/index.d.ts",
|
17
17
|
"main": "./dist/js/node/index.js",
|
@@ -37,8 +37,8 @@
|
|
37
37
|
"@babel/runtime": "^7",
|
38
38
|
"@mdx-js/mdx": "^1.6.22",
|
39
39
|
"@mdx-js/react": "^1.6.22",
|
40
|
-
"@modern-js/utils": "^1.
|
41
|
-
"@modern-js/webpack": "^1.5.
|
40
|
+
"@modern-js/utils": "^1.6.0",
|
41
|
+
"@modern-js/webpack": "^1.5.7",
|
42
42
|
"antd": "^4.16.13",
|
43
43
|
"core-js": "^3.17.2",
|
44
44
|
"github-slugger": "^1.4.0",
|
@@ -58,7 +58,7 @@
|
|
58
58
|
"webpack-dev-server": "^4.1.1"
|
59
59
|
},
|
60
60
|
"devDependencies": {
|
61
|
-
"@modern-js/core": "1.
|
61
|
+
"@modern-js/core": "1.9.0",
|
62
62
|
"@scripts/build": "0.0.0",
|
63
63
|
"@scripts/jest-config": "0.0.0",
|
64
64
|
"@types/core-js": "^2.5.5",
|