Hi! I'm currently using mustache-loader but I can't find how to include only template.js and not hogan.js. I don't need the compiler in my project.
Here's my config.
{
test: /\.html$/,
loader: "mustache-loader",
options: { minify: true, noShortcut: true },
}
cacheable modules 84.9 KiB
modules by path ./src/templates/html/*.html 9.74 KiB 12 modules
modules by path ./node_modules/.pnpm/hogan.js@3.0.2/node_modules/hogan.js/lib/*.js 21.6 KiB
./node_modules/.pnpm/hogan.js@3.0.2/node_modules/hogan.js/lib/hogan.js 810 bytes [built] [code generated]
./node_modules/.pnpm/hogan.js@3.0.2/node_modules/hogan.js/lib/compiler.js 11.8 KiB [built] [code generated]
./node_modules/.pnpm/hogan.js@3.0.2/node_modules/hogan.js/lib/template.js 9.05 KiB [built] [code generated]
./src/main.ts + 37 modules 53.6 KiB [built] [code generated]
webpack 5.38.1 compiled successfully in 6680 ms
Hi! I'm currently using
mustache-loaderbut I can't find how to include onlytemplate.jsand nothogan.js. I don't need the compiler in my project.Here's my config.