{"library":"webpack-ejs3-loader","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.0.2","tags":["javascript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install webpack-ejs3-loader","imports":["import template from 'webpack-ejs3-loader!./file.ejs';","module.exports = { module: { rules: [ { test: /\\.ejs$/, use: { loader: 'webpack-ejs3-loader', options: { htmlmin: true } } } ] } };","new HtmlWebpackPlugin({ template: 'webpack-ejs3-loader!./templates/index.ejs' })"]},{"cmd":"yarn add webpack-ejs3-loader","imports":[]},{"cmd":"pnpm add webpack-ejs3-loader","imports":[]}],"homepage":"https://github.com/t0lkman/webpack-ejs3-loader/","github":"https://github.com/t0lkman/webpack-ejs3-loader/","docs":null,"changelog":null,"pypi":null,"npm":"webpack-ejs3-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}