Skip to content

I can't load the gltfs files in Dev mode in Webpack5#1

Description

Hi 馃憢! I wanna ask you a question, I have a little project in W5 and it works fine in production:

....
output: {
path: path.join(__dirname, "../build"),
filename: "[name].[contenthash:8].js",
clean: true,
assetModuleFilename: "[name][ext]",
publicPath: "/",
} ....

{
test: /.(gltf)$/,
loader: "gltf-loader",
options: {
filePath: "models",
inline: false,
}

but when I try to run in dev mode the loader doesn't emit anything ... could be the loader ? my config ?
I tried differents configurations but I'm not sure ... maybe you could give me an idea thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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