Skip to content

dynamic imports do not work for me #21

@adamwong246

Description

@adamwong246

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)
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions