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

Exclusion Doesn't Work in passthrough #196

Open
josiahbryan opened this issue Sep 13, 2018 · 0 comments
Open

Exclusion Doesn't Work in passthrough #196

josiahbryan opened this issue Sep 13, 2018 · 0 comments

Comments

@josiahbryan
Copy link

josiahbryan commented Sep 13, 2018

I've tried everything I can to get the plugin to NOT add in a certain subfolder of my project to the concat'd stylesheet output, but no no avail. Here's my config from ember-cli-build:

sassOptions: {
	includePaths: [],
	onlyIncluded: true,
	passthrough: {
		include: ['app/styles/**/*','node_modules/**/**'],
		exclude: ['app/sfcs/*'],
		annotation: 'Funnel (styles, no SFC styles)'
	}
},

(The node_modules inclusion above is an attempt to replicate the default tree, because these options cause my app.scss to fail on @import "ember-cli-bootstrap-4/bootstrap"; Eventually, I got bootstrap working again with @import "../../node_modules/bootstrap/scss/bootstrap"; but I digress.)

I thought that by setting includePaths:[] and onlyInclude: true would cause the plugin to bypass generating it's own inclusion tree (which is what the source seems to say), and then I could give the Funnel my own opts. According to docs, exclude takes precedence over include - but even with these options set, I still see the styles in app/sfcs/ present in the output.

Any advice on how to just exclude one folder from the compiled output...?

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

1 participant