Skip to content

Code splitting is not working #412

Open
@jaswantmandloi

Description

@jaswantmandloi

I am using the code splitting with the " import() " function of ES6 but it is not working and giving me errors.

ERROR in ./src/client/components/demo3Load.js
Module build failed: SyntaxError: 'import' and 'export' may only appear at the top level (5:2)

Does electrode not support for the code splitting or there is any other way of doing the same ?
Please refer me the approach of doing the SSR if any ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions