We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2767829 commit aeaff2dCopy full SHA for aeaff2d
.kktrc.js
@@ -2,16 +2,24 @@ import path from 'path';
2
import webpack from 'webpack';
3
import lessModules from '@kkt/less-modules';
4
import rawModules from '@kkt/raw-modules';
5
+import { disableScopePlugin } from '@kkt/scope-plugin-options';
6
import scopePluginOptions from '@kkt/scope-plugin-options';
7
import pkg from './package.json';
8
9
export default (conf, env, options) => {
10
conf = lessModules(conf, env, options);
11
conf = rawModules(conf, env, options);
12
+ conf = disableScopePlugin(conf);
13
conf = scopePluginOptions(conf, env, {
14
...options,
- allowedFiles: [path.resolve(process.cwd(), 'README.md')],
15
+ allowedFiles: [
16
+ path.resolve(process.cwd(), 'README.md'),
17
+ path.resolve(process.cwd(), 'src')
18
+ ],
19
});
20
+ conf.ignoreWarnings = [
21
+ { module: /node_modules[\\/]parse5[\\/]/ }
22
+ ];
23
// Get the project version.
24
conf.plugins.push(
25
new webpack.DefinePlugin({
0 commit comments