Skip to content

support chunks created by async components #17

Description

@harrybin

Hi,
please support async components for screating chunks:
https://serverless-stack.com/chapters/code-splitting-in-create-react-app.html
currently I get

Module parse failed: Unexpected token (5:9)
You may need an appropriate loader to handle this file type.
| import MonitoringModuleContent from './MonitoringModuleContent';
| var MonitoringMainAsync = asyncComponent(function () {
>   return import('./Monitoring');
| });
| /**

https://www.npmjs.com/package/react-scripts-ts
supports this, but it's outdated

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions