Skip to content

Export Option for different Parts #116

@arendtio

Description

@arendtio

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions