bazilio91 / Ejs Compiled Loader
Licence: mit
EJS loader for webpack (without frontend dependencies)
Stars: ✭ 102
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Ejs Compiled Loader
Template.js
A javascript template engine, simple, easy & extras, support webpack, rollup, parcel, browserify, fis and gulp
Stars: ✭ 1,201 (+1077.45%)
Mutual labels: webpack, ejs
Webpack Seed
🚀 A Multi-Page Application base on webpack and babel. webpack搭建基于ES6,支持模板的多页面项目
Stars: ✭ 113 (+10.78%)
Mutual labels: webpack, ejs
Nodeppt
This is probably the best web presentation tool so far!
Stars: ✭ 9,589 (+9300.98%)
Mutual labels: webpack
Wordless
All the power of Pug, Sass, Coffeescript and WebPack in your WordPress theme. Stop writing themes like it's 1998.
Stars: ✭ 1,374 (+1247.06%)
Mutual labels: webpack
Koa Mobx React Starter
A straightforward starter for Node javascript web projects. Using Koa, MobX and ReactJS (with universal / isomorphic server rendering)
Stars: ✭ 102 (+0%)
Mutual labels: webpack
Webpack Wordpress
Build Wordpress themes using Webpack and Hot Module Reloading
Stars: ✭ 100 (-1.96%)
Mutual labels: webpack
React Uport Box
Truffle, Webpack, React, Redux boilerplate with routing and authentication via a UPort.
Stars: ✭ 99 (-2.94%)
Mutual labels: webpack
Art Template
High performance JavaScript templating engine
Stars: ✭ 9,554 (+9266.67%)
Mutual labels: webpack
Webpack Bundle Size Analyzer
A tool for finding out what contributes to the size of Webpack bundles
Stars: ✭ 1,376 (+1249.02%)
Mutual labels: webpack
Frontie Webpack
Front-end Boilerplate | Gulp 4 + Webpack 4 + Babel + ITCSS Architecture + BEM Methodology + Twig.js
Stars: ✭ 102 (+0%)
Mutual labels: webpack
Stack Source Map
Add source map support for error stack (Chrome only)
Stars: ✭ 98 (-3.92%)
Mutual labels: webpack
Jhipster Microservices Example
JHipster Microservices Example using Spring Cloud, Spring Boot, Angular, Docker, and Kubernetes
Stars: ✭ 100 (-1.96%)
Mutual labels: webpack
Cloudflare Workers Webpack Boilerplate
A superbly simple, minimal-config template for building, bundling and deploying Cloudflare Workers with Webpack 🚀
Stars: ✭ 101 (-0.98%)
Mutual labels: webpack
ejs-compiled-loader for webpack
EJS loader for webpack. Uses ejs function to compile templates.
To use EJS by tj use 1.x branch and 1.x.x versions.
Installation
npm install ejs-compiled-loader
Usage
var template = require("ejs-compiled!./file.ejs");
// => returns the template function compiled with ejs templating engine.
// And then use it somewhere in your code
template(data) // Pass object with data
// Child Templates
// path is relative to where webpack is being run
<%- include templates/child -%>
Options
Following options can be specified in query:
beautify
— enable or disable uglify-js beautify of template ast
compileDebug
— see ejs compileDebug option
htmlmin
— see htmlminify section
htmlminify
module: {
loaders: [
{test: /\.ejs$/, loader: 'ejs-compiled?htmlmin'} // enable here
]
},
'ejs-compiled-loader': {
'htmlmin': true, // or enable here
'htmlminOptions': {
removeComments: true
}
}
License
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].