esbuild-plugin-import-glob icon indicating copy to clipboard operation
esbuild-plugin-import-glob copied to clipboard

dynamic imports do not work for me

Open adamwong246 opened this issue 5 months ago • 0 comments

Maybe I am missing something but I was not able to get dynamic imports to work.

// This does work. It returns an object with the files I expected.
import sz from "./spacetrash/tiled/*";
console.log(sz)
// this does not work. It returns an empty object.
import("/spacetrash/tiled/*").then((t) => {
  console.log(t)
})

adamwong246 avatar Jul 07 '25 15:07 adamwong246