Skip to content

Webpack support #4

Open
Open
@aaronroberson

Description

@aaronroberson

Hello,

I'm trying to use this plugin within our Aurelia application. I'm using webpack as our bundler and have installed the aurelia-react-loader plugin via npm.

When I try to do the following:
<require from='@nike/frame-component-library/src/components/nav/Nav.js!react-component'></require>

I get an error stating that the file cannot be found. However, if I drop the !react-component suffix the file is found but I get an Unexpected token error due to the JSX.

Any help would be appreciated, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions