watson-developer-cloud / discovery-components

IBM Watson Discovery components
https://watson-developer-cloud.github.io/discovery-components/storybook
Apache License 2.0
20 stars 38 forks source link

build: set absolute SASS_PATH #437

Closed jhpedemonte closed 2 years ago

jhpedemonte commented 2 years ago

What do these changes do/fix?

After upgrade to Webpack v5, we were seeing several warnings about relative import paths for SCSS/CSS files during the example app build. This PR uses an absolute path for SASS_PATH so we no longer get these warnings.

How do you test/verify these changes?

Run yarn start or yarn build for the example app

Have you documented your changes (if necessary)?

Are there any breaking changes included in this pull request?