Skip to content

Watch other files that is importing in main file (webpack) #4

@gabrielpapke

Description

@gabrielpapke

Hello, first congrats and thanks for the project.

I'm separating files like: theme1.ts, theme2.ts, and importing in theme.ts, using import Theme1 from 'theme1', which theme1.ts has an exported object that contains the definitions from the theme using the rules.

When I import the objects from other file to increment the main object (theme.ts), the css file doesn't update with the changes. If I use only file that is defined in srcPath, that's works.

How can i do this? Using separate files for a better architecture and watching the changes.

Thanks!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions