Skip to content

why I can't use bundle-loader like this? #2477

Closed
@famanoder

Description

@famanoder

import LazyLogin from 'bundle-loader?lazy&name=[name]!./views/Login.js';

when I use bundle-loader like this ,some errors occured ! I had found some way and couldn't solve it .
I need some help ,and what should I do ?

Unexpected '!' in 'bundle-loader?lazy&name=[name]!./views/Login.js'. Do not use import syntax to configure webpack loaders import/no-webpack-loader-syntax

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