Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dart based sass in Portal and Stories #1080

Merged
merged 1 commit into from
Oct 29, 2021
Merged

Conversation

tujoworker
Copy link
Member

This PR will use dart based sass for both the portal and stories.

For the build process will still use node-sass because of the usage of node-sass-once-importer and the lack of an easy replacement – as of now.

The second reason why we still use node-sass are the usage of sass in jest tests.
Because we need the jest testEnvironment to be jsdom (testEnvironment: 'jsdom') the dart based sass can't find the given file.
There is an unsolved issue about that, and none of the solutions did work out.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 29, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit e029ded:

Sandbox Source
eufemia-starter Configuration

@gatsby-cloud
Copy link

gatsby-cloud bot commented Oct 29, 2021

Gatsby Cloud Build Report

DNB Eufemia Portal

🎉 Your build was successful! See the Deploy preview here.

Build Details

View the build logs here.

🕐 Build time: 8m

Performance

Lighthouse report

Metric Score
Performance 🔶 72
Accessibility 💚 100
Best Practices 💚 100
SEO 💚 92

🔗 View full report

@tujoworker tujoworker merged commit 70cc3d3 into main Oct 29, 2021
@tujoworker tujoworker deleted the fix/use-dart-sass branch October 29, 2021 16:22
@tujoworker
Copy link
Member Author

🎉 This PR is included in version 9.15.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants