Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Importing CSS from node_modules #146

Closed
@spentacular

Description

@spentacular

Expected behavior

I'm having trouble getting CSS imported from node_modules.

Actual behavior

CSS doesn't appear to get pulled in from node_modules when compiling.

Steps to reproduce the behavior

I'm not quite sure if I'm missing something or the best way to do this. Currently, my style tag looks like

<style src="~module/dist/index.css"></style>

I've also tried doing an inline one:

<style>
@import '~module/dist/index.css';
</style>

I've tried several different build options as well but couldn't find anything. Am I just missing something simple?

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