We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c4c41e commit f3b0644Copy full SHA for f3b0644
.kktrc.ts
@@ -1,8 +1,8 @@
1
import path from 'path';
2
import webpack from 'webpack';
3
-import { OptionConf, Webpack } from 'kkt';
+import { OptionConf, Webpack, ModuleScopePluginOpts, LoaderOneOf } from 'kkt';
4
5
-export const moduleScopePluginOpts = [
+export const moduleScopePluginOpts: ModuleScopePluginOpts = [
6
path.resolve(process.cwd(), 'README.md'),
7
path.resolve(process.cwd(), 'src'),
8
path.resolve(process.cwd(), 'src/APILoader/README.md'),
@@ -31,7 +31,7 @@ export const moduleScopePluginOpts = [
31
path.resolve(process.cwd(), 'src/withMap/README.md'),
32
];
33
34
-export const loaderOneOf = [
+export const loaderOneOf: LoaderOneOf = [
35
[require.resolve('@kkt/loader-less'), {}],
36
]
37
0 commit comments