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

Export Option for different Parts #116

Open
arendtio opened this issue May 3, 2017 · 0 comments
Open

Export Option for different Parts #116

arendtio opened this issue May 3, 2017 · 0 comments

Comments

@arendtio
Copy link

arendtio commented May 3, 2017

To be able to use riot-tags with a safe Content Security Policy I would like to export the CSS of riot tags into a separate file. With the riot-cli I can do that via the options --export and --exclude. But as I would like to use gulp I would be grateful if this functionality could be built into gulp-riot.

I tried to find out how riot-cli implements those options but it seems the setting --export triggers a special compiler option entities which in turn tells the riot compiler to return parts (instead of what it returns otherwise).

Maybe gulp-riot supports exporting parts already, but I could not find out how. It would be great to have this option as stricter CSP settings are becoming more of a default for developers.

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