Skip to content

.default is back in 8.0 #238

Closed
Closed
@realityking

Description

@realityking

Unfortunately adding the modules property to package.json in #234 brought #221 back. We're using webpack 3.10.0

This is especially painful when trying to use both Node.js for server side rendering and the browser.

I fixed this by adding mainFields: ['browser', 'main'] to our webpack config though that's obviously not optimal.

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