How to provide import-map path to luath serve #2
Answered
by
cmorten
borsemayur2
asked this question in
Q&A
-
Can we provide luath serve --imap examples/react/import-map.json examples/react |
Beta Was this translation helpful? Give feedback.
Answered by
cmorten
May 16, 2021
Replies: 1 comment 2 replies
-
Yup - like the idea! In theory might be as simple as adding https://github.com/cmorten/deno-rollup/tree/main/plugins/importmap as a plugin to the config file ( not tried! ), but IMO it's potentially such a common use-case that probably worth baking into the set of built-in plugins 😄 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
borsemayur2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yup - like the idea!
In theory might be as simple as adding https://github.com/cmorten/deno-rollup/tree/main/plugins/importmap as a plugin to the config file ( not tried! ), but IMO it's potentially such a common use-case that probably worth baking into the set of built-in plugins 😄