You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the --external flag is only for excluding modules, not arbitrary paths. There is already an open feature request for having --external support relative paths: #127. It looks like this request is similar but slightly different because it's for absolute paths, not relative paths.
I have a source file with an external import, like so:
I try to build it with the
--bundle
and--external:"/api/config?a=1&b=2"
flags. I get the following error:This does work with other build systems (e.g. TypeScript or Babel). The external module is supposed to be resolved by the browser at runtime.
Am I doing something wrong? Is this not supported?
The text was updated successfully, but these errors were encountered: