webpack-ejs3-loader
JSON →A webpack loader that compiles EJS templates into JavaScript functions at build time, with no frontend runtime dependencies. The current version 0.0.2 is a minor fork of compile-ejs-loader that upgrades dependencies and moves ejs, html-minifier, uglify-js, and loader-utils from devDependencies to dependencies for easier installation. It supports EJS compile options, optional HTML minification via html-minifier, and AST beautification via uglify-js. Works with webpack 4 and 5. Note that the package has very few downloads and may not receive updates.
Resources
packagewebpack-ejs3-loader ↗
API endpoints
full doc /v1/registry/webpack-ejs3-loader