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.
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 optionentities
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.