Skip to content

Importing external CSS goes kaboom #103

Closed
@tristanoneil

Description

@tristanoneil

When I installed hack and then tried importing it I get the following error. 💥💥💥

Error in ./~/hack/dist/hack.css
Module parse failed: /Users/tristanoneil/src/saute/node_modules/hack/dist/hack.css Unexpected token (1:4)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (1:4)
 @ ./src/index.js 11:0-15

Feel free to close if this just isn't how create-react-app is intended to be used but I could see others being bit by this as well so hence the issue.

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