Skip to content

Commit f3b0644

Browse files
committed
chore: Modify kkt config.
1 parent 1c4c41e commit f3b0644

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.kktrc.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import path from 'path';
22
import webpack from 'webpack';
3-
import { OptionConf, Webpack } from 'kkt';
3+
import { OptionConf, Webpack, ModuleScopePluginOpts, LoaderOneOf } from 'kkt';
44

5-
export const moduleScopePluginOpts = [
5+
export const moduleScopePluginOpts: ModuleScopePluginOpts = [
66
path.resolve(process.cwd(), 'README.md'),
77
path.resolve(process.cwd(), 'src'),
88
path.resolve(process.cwd(), 'src/APILoader/README.md'),
@@ -31,7 +31,7 @@ export const moduleScopePluginOpts = [
3131
path.resolve(process.cwd(), 'src/withMap/README.md'),
3232
];
3333

34-
export const loaderOneOf = [
34+
export const loaderOneOf: LoaderOneOf = [
3535
[require.resolve('@kkt/loader-less'), {}],
3636
]
3737

0 commit comments

Comments
 (0)