Skip to content

Unable to resolve scss file referenced from component file #107

@brandongregoryscott

Description

@brandongregoryscott

Looks like in one of the recent releases (0.4.0 or 0.5.0), the distribution broke - the compiled JS files are looking for scss files that are next to/around the component, but not included in the distribution. We may need to tweak the build process and add in a CSS loader or use an actual module bundler like webpack instead of just tsc

Failed to compile.

./node_modules/andculturecode-javascript-react-components/dist/molecules/checkbox-button/checkbox-button.js
Module not found: Can't resolve '../checkbox-input/checkbox-input.scss' in 'C:\Users\bscot\acc\fork\brandongregoryscott.AndcultureCode.DotnetReact.Boilerplate\frontend\node_modules\andculturecode-javascript-react-components\dist\molecules\checkbox-button'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions