Skip to content

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

@MartinEmanuelMaldonado93

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!

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