Skip to content

Commit 5cd75f9

Browse files
committed
chore(deps): update dependency kkt to v7.0.4
Failed to parse source map kktjs/kkt#325 kktjs/kkt#323 Upgrade react-scripts to v5, Support Webpack 5.x kktjs/kkt#198
1 parent 51295f8 commit 5cd75f9

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

.kktrc.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,6 @@ export default (conf: Configuration, env: 'development' | 'production', options:
2020
VERSION: JSON.stringify(pkg.version),
2121
}));
2222

23-
if (conf.module && conf.module.rules && conf.module.rules[0]) {
24-
const rules = conf.module.rules[0];
25-
if (typeof rules === 'object' && typeof rules.loader === 'string' && /source-map-loader/.test(rules.loader)) {
26-
;(conf.module.rules[0] as any).exclude = /((@babel(?:\/|\\{1,2})runtime)|codesandbox-import-utils)/;
27-
}
28-
}
29-
3023
if (env === 'production') {
3124
conf.output = { ...conf.output, publicPath: './' }
3225
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,16 @@
3737
"codesandbox-import-utils": "2.2.3"
3838
},
3939
"devDependencies": {
40-
"@kkt/less-modules": "7.0.1",
41-
"@kkt/raw-modules": "7.0.1",
42-
"@kkt/scope-plugin-options": "7.0.1",
40+
"@kkt/less-modules": "7.0.4",
41+
"@kkt/raw-modules": "7.0.4",
42+
"@kkt/scope-plugin-options": "7.0.4",
4343
"@types/react": "17.0.38",
4444
"@types/react-dom": "17.0.11",
4545
"@uiw/react-github-corners": "1.5.3",
4646
"@uiw/react-markdown-preview": "3.4.5",
4747
"react": "17.0.2",
4848
"react-dom": "17.0.2",
49-
"kkt": "7.0.1",
49+
"kkt": "7.0.4",
5050
"tsbb": "3.5.4"
5151
},
5252
"eslintConfig": {

0 commit comments

Comments
 (0)