Skip to content

ERROR in only one instance of babel-polyfill is allowed @ ./~/bootstrap-loader/loader.js 1:0-44 #16

Closed
@AllenFang

Description

@AllenFang

I upgrade bootstrap-loader according #13, and it work for [email protected] and earlier, but I got another problem for babel-polyfill is loaded repeatedly.

the error message is in the following:

ERROR in only one instance of babel-polyfill is allowed  @ ./~/bootstrap-loader/loader.js 1:0-44

The root cause is I wrote my dev webpack config with es6, and I add require('babel/register'); this line in my webpack-dev-server.js

Anyway, if re-write whole webpack config with es5 and it's work, so have any idea to solve it or did I miss something?

Thanks :)

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