-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
@parcel/transformer-sass failed to compile mdc-checkbox #8825
Comments
#8844 could improve this if material adds an |
I don't think that I would be able to convince @Material developers to do that for this version. Is there any configuration option for the parcel to substitute the lack of an export field in the material |
One easy workaround would be to specify the file you want to import You could also write a Parcel resolver plugin that does this (something like "if the parent file is SCSS and you're importing something from |
You can also simply create an automatically applied patch to |
@mischnic @danieltroger Thank you for your help, and I will probably try the direct import solution. |
🐛 bug report
I want to use Parcel to build a custom version of the MDC Checkbox components using SASS.
parcel build index.html
fails to compile sass.🎛 Configuration (.babelrc, package.json, cli command)
babel.rc
- nonepackage.json
🤔 Expected Behavior
Using
npm run build
I expect to compile thestyle.scss
tostyle.css
using parcel transformer😯 Current Behavior
npm run build
orparcel build index.html
failsnpm run sass
orsass style.scss --load-path=node_module
works💻 Code Sample
parcel-mdc-checkbox.zip
🌍 Your Environment
The text was updated successfully, but these errors were encountered: