Skip to content

Commit

Permalink
fix: modify kkt config fix Failed to parse source map.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 26, 2023
1 parent e5d7e25 commit 0225c29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .kktrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ export default (conf, evn, options) => {
path.resolve(process.cwd(), 'README.md')
]
});

conf.ignoreWarnings = [
{ module: /node_modules[\\/]parse5[\\/]/ }
];
if (evn === 'production') {
conf.optimization = {
...conf.optimization,
Expand Down

0 comments on commit 0225c29

Please # to comment.