Closed jaywcjlove closed 9 months ago
"start": "GENERATE_SOURCEMAP=false react-scripts start",
Modify .kktrc.ts config.
.kktrc.ts
import { LoaderConfOptions, WebpackConfiguration } from 'kkt'; export default (conf: WebpackConfiguration, env: 'production' | 'development', options: LoaderConfOptions) => { conf.ignoreWarnings = [ { module: /node_modules[\\/]parse5[\\/]/, } ]; return conf; };
Solution 1
Solution 2
Modify
.kktrc.ts
config.