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

extensions option not working #150

Open
RobbieTheWagner opened this issue Jan 14, 2019 · 1 comment
Open

extensions option not working #150

RobbieTheWagner opened this issue Jan 14, 2019 · 1 comment

Comments

@RobbieTheWagner
Copy link

I have been trying to figure out how to make this plugin only run on .css files, and exclude .scss files. I thought I could accomplish this by setting extensions: ['.css'], but this still runs on the .scss files. How can I exclude files?

The reason I want to run rollup-plugin-sass on the scss and rollup-plugin-postcss on the css is because I want to inject some third party css into the head, but I want to create separate css theme files from my scss as well. If that is possible here, I could just use one plugin, but I cannot figure it out.

@totalpave
Copy link

I have the exact same use case and I tried exactly what you did, using [".css"], but it is still trying to parse/load my .less files.

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

No branches or pull requests

2 participants