Skip to content

modular options docs update #124

@SassNinja

Description

@SassNinja

It took me a while to realize the option modular: true is not part of the riot compiler but a custom option of this gulp plugin.

Within the plugin additional code gets prepended as

if (options.modular) {
      compiledCode = ...
}

Imo it should be more clear that the modular option isn't an option of the actual riot compiler. The docs shouldn't link to the riot docs when describing it or rather point out it's a custom option.

Would you mind to update the docs?

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