-
Notifications
You must be signed in to change notification settings - Fork 4
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
Without from
option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to undefined
to prevent this warning.
#2
Comments
Thanks for raising this issue - I've just been ignoring that (it's just a warning, not an error). I haven't known what, if anything, it would make sense to set the So, it's probably fine to set it to |
i'm not sure, to be honest. i'd try |
Same issue for me |
Please... 🔨 it. |
Has anyone tested an alternative? |
Pull requests are welcome |
Setting And at least I've tried codes from this PR for the |
Published as 1.1.0 – let me know if there are any issues. |
I get the following error when running rollup:
Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.
here's the
svelte
config inrollup.config.js
:and here's my
postcss.config.js
:i can fix this if i edit this line: https://github.com/TehShrike/svelte-preprocess-postcss/blob/master/index.js#L20
to be this:
.process(css, { from: undefined })
but this is probably wrong...
The text was updated successfully, but these errors were encountered: