Skip to content
This repository was archived by the owner on May 16, 2024. It is now read-only.

Commit 1b7761e

Browse files
committed
content update
1 parent c4a9395 commit 1b7761e

File tree

2 files changed

+9
-17
lines changed

2 files changed

+9
-17
lines changed

README.md

+2-10
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
# ejs-compiled-loader for webpack
1+
# ejs-webpack-loader for webpack 4.x
22

33
EJS loader for [webpack](http://webpack.github.io/). Uses [ejs](https://github.com/mde/ejs) function to compile templates.
44

5-
To use [EJS by tj](https://github.com/tj/ejs) use 1.x branch and 1.x.x versions.
6-
75
## Installation
86

9-
`npm install ejs-compiled-loader`
7+
`npm install ejs-webpack-loader`
108

119
## Usage
1210

@@ -41,12 +39,6 @@ module: {
4139
loaders: [
4240
{test: /\.ejs$/, loader: 'ejs-compiled?htmlmin'} // enable here
4341
]
44-
},
45-
'ejs-compiled-loader': {
46-
'htmlmin': true, // or enable here
47-
'htmlminOptions': {
48-
removeComments: true
49-
}
5042
}
5143
```
5244

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
{
2-
"name": "ejs-compiled-loader",
2+
"name": "ejs-webpack-loader",
33
"version": "2.2.0",
4-
"description": "EJS webpack loader (without frontend dependencies)",
4+
"description": "EJS webpack 4.x loader (without frontend dependencies)",
55
"main": "index.js",
66
"scripts": {
77
"test": "cd test && ../node_modules/.bin/webpack && node bundle.js"
88
},
99
"repository": {
1010
"type": "git",
11-
"url": "https://github.com/bazilio91/ejs-compiled-loader.git"
11+
"url": "https://github.com/rorkflash/ejs-webpack-loader"
1212
},
1313
"keywords": [
1414
"ejs",
1515
"webpack",
1616
"loader",
1717
"template"
1818
],
19-
"author": "Vasily Ostanin <bazilio91@gmail.com>",
19+
"author": "Ashot Gasparyan <rorkflash@gmail.com>",
2020
"license": "MIT",
2121
"bugs": {
22-
"url": "https://github.com/bazilio91/ejs-compiled-loader/issues"
22+
"url": "https://github.com/rorkflash/ejs-webpack-loader/issues"
2323
},
24-
"homepage": "https://github.com/bazilio91/ejs-compiled-loader",
24+
"homepage": "https://github.com/rorkflash/ejs-webpack-loader",
2525
"dependencies": {
2626
"ejs": "^2.0.0",
2727
"html-minifier": "^3",
@@ -31,6 +31,6 @@
3131
},
3232
"devDependencies": {
3333
"node-libs-browser": "^0.5.0",
34-
"webpack": "^1.9.4"
34+
"webpack": "^4.5.0"
3535
}
3636
}

0 commit comments

Comments
 (0)