deepsweet / deepsweet/mustache-loader
How to only include Hogan.Template?
- Dominant language
- JavaScript
- Stars
- 38
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
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.
```js
{
test: /\.html$/,
loader: "mustache-loader",
options: { minify: true, noShortcut: true },
}
```
```log
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
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.