Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to parse source map from #446

Closed
jaywcjlove opened this issue Nov 23, 2023 · 0 comments
Closed

Failed to parse source map from #446

jaywcjlove opened this issue Nov 23, 2023 · 0 comments

Comments

@jaywcjlove
Copy link
Member

jaywcjlove commented Nov 23, 2023

Solution 1

"start": "GENERATE_SOURCEMAP=false react-scripts start",

Solution 2

Modify .kktrc.ts config.

import { LoaderConfOptions, WebpackConfiguration } from 'kkt';

export default (conf: WebpackConfiguration, env: 'production' | 'development', options: LoaderConfOptions) => {
  conf.ignoreWarnings = [
    {
      module: /node_modules[\\/]parse5[\\/]/,
    }
  ];
  return conf;
};
jaywcjlove added a commit to uiwjs/react-markdown-preview that referenced this issue Nov 23, 2023
github-actions bot added a commit to uiwjs/react-markdown-preview that referenced this issue Nov 23, 2023
jaywcjlove added a commit to uiwjs/react-markdown-editor that referenced this issue Nov 23, 2023
github-actions bot pushed a commit to uiwjs/react-markdown-editor that referenced this issue Nov 23, 2023
jaywcjlove added a commit to uiwjs/react-monorepo-template that referenced this issue Nov 23, 2023
github-actions bot pushed a commit to uiwjs/react-monorepo-template that referenced this issue Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant