Skip to content

Commit 3c77c9a

Browse files
committed
chore: 优化部分问题
1 parent ed26dfb commit 3c77c9a

5 files changed

Lines changed: 37 additions & 77 deletions

File tree

packages/builder-webpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"@vue/babel-plugin-jsx": "^1.5.0",
4848
"ajv": "^8.12.0",
4949
"autoprefixer": "^10.4.14",
50-
"babel-loader": "^9.1.2",
50+
"babel-loader": "^10.0.0",
5151
"cli-highlight": "^2.1.11",
5252
"cliui": "^8.0.1",
5353
"connect-history-api-fallback": "^2.0.0",

packages/plugin-qiankun/examples/webpack-main/.fes.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
// .fes.js 只负责管理编译时配置,只能使用plain Object
2-
import { createRequire } from 'node:module';
3-
4-
export function esmResolve(specifier) {
5-
const esmRequire = createRequire(import.meta.url);
6-
return esmRequire.resolve(specifier);
7-
}
8-
91
export default {
102
access: {
113
roles: {
Lines changed: 26 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,28 @@
11
{
2-
"compilerOptions": {
3-
"outDir": "build/dist",
4-
"module": "esnext",
5-
"target": "esnext",
6-
"lib": ["esnext", "dom"],
7-
"sourceMap": true,
8-
"baseUrl": ".",
9-
"jsx": "preserve",
10-
"allowSyntheticDefaultImports": true,
11-
"moduleResolution": "node",
12-
"forceConsistentCasingInFileNames": true,
13-
"noImplicitReturns": true,
14-
"suppressImplicitAnyIndexErrors": true,
15-
"noUnusedLocals": true,
16-
"allowJs": true,
17-
"skipLibCheck": true,
18-
"experimentalDecorators": true,
19-
"strict": true,
20-
"paths": {
21-
"@/*": ["./src/*"],
22-
"@@/*": ["./src/.fes/*"]
23-
}
24-
},
25-
"include": [
26-
"src/**/*",
27-
"tests/**/*",
28-
"test/**/*",
29-
"__test__/**/*",
30-
"typings/**/*",
31-
"config/**/*",
32-
".eslintrc.js",
33-
".stylelintrc.js",
34-
".prettierrc.js"
35-
],
36-
"exclude": ["node_modules", "build", "dist", "scripts", "src/.fes/*", "webpack", "jest"]
2+
"compilerOptions": {
3+
"target": "esnext",
4+
"jsx": "preserve",
5+
"lib": ["esnext", "dom"],
6+
"experimentalDecorators": true,
7+
"baseUrl": ".",
8+
"module": "esnext",
9+
"moduleResolution": "node",
10+
"paths": {
11+
"@/*": ["./src/*"],
12+
"@@/*": ["./src/.fes/*"]
13+
},
14+
"allowJs": true,
15+
"strict": true,
16+
"noImplicitReturns": true,
17+
"noUnusedLocals": true,
18+
"outDir": "build/dist",
19+
"sourceMap": true,
20+
"allowSyntheticDefaultImports": true,
21+
"forceConsistentCasingInFileNames": true,
22+
"skipLibCheck": true
23+
},
24+
"include": [
25+
"src/**/*"
26+
]
27+
3728
}

packages/plugin-qiankun/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"@fesjs/utils": "workspace:*",
4545
"address": "^1.1.2",
4646
"lodash-es": "^4.17.21",
47-
"qiankun": "^2.7.0",
47+
"qiankun": "^2.10.16",
4848
"vite-plugin-qiankun": "^1.0.15"
4949
},
5050
"devDependencies": {

pnpm-lock.yaml

Lines changed: 9 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)