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

fix: find workaround for Sass imports #7

Closed
nicholaschiang opened this issue Apr 4, 2020 · 1 comment
Closed

fix: find workaround for Sass imports #7

nicholaschiang opened this issue Apr 4, 2020 · 1 comment
Labels
p1 Urgent tasks type:bug Something isn't working in a story

Comments

@nicholaschiang
Copy link
Member

We still need to find a workaround for @use-ing @material's Sass modules as detailed in this issue.

@nicholaschiang nicholaschiang added category:dev-ops p1 Urgent tasks type:bug Something isn't working in a story labels Apr 4, 2020
@nicholaschiang nicholaschiang added this to To Do in Tutorbook Roadmap via automation Apr 4, 2020
@nicholaschiang nicholaschiang moved this from To Do to Doing in Tutorbook Roadmap Apr 4, 2020
@nicholaschiang
Copy link
Member Author

Actually, after a deeper dive into #11063 it looks like I implemented my configuration incorrectly (you guys seriously have to work on your documentation). This next.config.js seems to be working:

const path = require('path');

module.exports = {
  experimental: {
    sassOptions: {
      includePaths: [path.resolve(__dirname, 'node_modules')],
    },
  },
};

I'm going to keep this issue open but now I'm only asking for improved documentation for how to use/enable experimental features. You should also consider adding documentation to your website for such experimental features so that developers don't have to spend days searching through old issues, discussions, and PRs.

See this issue and this PR for more info.

Tutorbook Roadmap automation moved this from Doing to Done Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p1 Urgent tasks type:bug Something isn't working in a story
Projects
No open projects
Development

No branches or pull requests

1 participant