Skip to content

Error: outfile must end with .html #76

@codedust

Description

@codedust

First of all: Thanks for your great tool!

The README says:

It is also possible to write mappings into a separate file as follow:

npx @jsenv/importmap-node-module demo.importmap --entrypoint index.html

However, this produces the following error:

Error: outfile must end with .html

The following command:

npx @jsenv/importmap-node-module importmap.html --entrypoint index.html

also produces an error:

Import resolution failed for "./importmap.html"

How do I write mappings into a separate file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions