Skip to content

Expected identifier error in IE8 #45

@kevana

Description

@kevana

At line 6:

exports.default = thunkMiddleware;

default is a reserved keyword in IE8 and it throws an errror when dot notation is used. it does work when bracket notation is used:

exports['default'] = thunkMiddleware;

I think this is a bug in the upstream babel-plugin-add-module-exports, but wanted to show it here in case people are looking here first.

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