Riot: Pre-compile not finding my extension

Created on 5 Jun 2018  路  3Comments  路  Source: riot/riot

  1. Describe your issue:
    I'm trying to pre-compile all components in a directory that have an html extension into a single output file using the cli like this:
riot --ext html (seems to have worked)
riot components dist/all.js ('components' is a folder with files that have the .html ext, there are other files in there but they don't have the html extension)

There is no output. No errors or warnings, nothing. If I use the tag extension it works. I want to use use the --ext option.

  1. Can you reproduce the issue?
    Yes

  2. On which browser/OS does the issue appear?
    N/A

  3. Which version of Riot does it affect?
    I'm on Riot 3.10.1, riot-cli 4.0.1, and riot-compiler 3.5.1

  4. How would you tag this issue?

    • [X] Bug
answered question

Most helpful comment

have you tried using riot --ext html components dist/all.js?

All 3 comments

have you tried using riot --ext html components dist/all.js?

@GianlucaGuarini thanks! Should of been obvious but I was up late ;)

thank you too. I will close this issue

Was this page helpful?
0 / 5 - 0 ratings

Related issues

syuilo picture syuilo  路  3Comments

chrisk314 picture chrisk314  路  3Comments

samhstn picture samhstn  路  3Comments

vogloblinsky picture vogloblinsky  路  3Comments

SatoshiKawabata picture SatoshiKawabata  路  3Comments