Skip to content

Commit 65a05bc

Browse files
committedSep 9, 2021
chore(deps): Update dependency kkt to v6.11.0
1 parent 124fa59 commit 65a05bc

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed
 

‎.kktrc.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@ import rawModules from '@kkt/raw-modules';
66
import scopePluginOptions from '@kkt/scope-plugin-options';
77
import pkg from './package.json';
88

9-
export default (conf: Configuration, env: string, options: LoaderConfOptions) => {
9+
export default (conf: Configuration, env: 'production' | 'development', options: LoaderConfOptions) => {
10+
conf = lessModules(conf, env, options);
1011
conf = rawModules(conf, env, { ...options });
1112
conf = scopePluginOptions(conf, env, {
1213
...options,
1314
allowedFiles: [
14-
path.resolve(process.cwd(), 'README.md')
15+
path.resolve(process.cwd(), 'README.md'),
1516
]
1617
});
17-
conf = lessModules(conf, env, options);
18+
// conf.resolve!.alias = { '@uiw/react-monacoeditor': process.cwd() };
1819
// Get the project version.
1920
conf.plugins!.push(new webpack.DefinePlugin({
2021
VERSION: JSON.stringify(pkg.version),
@@ -24,4 +25,3 @@ export default (conf: Configuration, env: string, options: LoaderConfOptions) =>
2425
}
2526
return conf;
2627
}
27-

‎package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
},
3232
"dependencies": {},
3333
"devDependencies": {
34-
"@kkt/less-modules": "6.8.2",
35-
"@kkt/raw-modules": "6.8.2",
36-
"@kkt/scope-plugin-options": "6.8.2",
37-
"@types/react": "17.0.3",
38-
"@types/react-dom": "17.0.3",
39-
"@uiw/react-github-corners": "1.2.0",
40-
"kkt": "6.8.2",
34+
"@kkt/less-modules": "6.11.0",
35+
"@kkt/raw-modules": "6.11.0",
36+
"@kkt/scope-plugin-options": "6.11.0",
37+
"@types/react": "17.0.20",
38+
"@types/react-dom": "17.0.9",
39+
"@uiw/react-github-corners": "1.5.1",
40+
"kkt": "6.11.0",
4141
"react": "17.0.2",
4242
"react-dom": "17.0.2",
4343
"tsbb": "3.1.5"

0 commit comments

Comments
 (0)
Please sign in to comment.