This repository was archived by the owner on May 16, 2024. It is now read-only.
File tree 2 files changed +9
-17
lines changed
2 files changed +9
-17
lines changed Original file line number Diff line number Diff line change 1
- # ejs-compiled -loader for webpack
1
+ # ejs-webpack -loader for webpack 4.x
2
2
3
3
EJS loader for [ webpack] ( http://webpack.github.io/ ) . Uses [ ejs] ( https://github.com/mde/ejs ) function to compile templates.
4
4
5
- To use [ EJS by tj] ( https://github.com/tj/ejs ) use 1.x branch and 1.x.x versions.
6
-
7
5
## Installation
8
6
9
- ` npm install ejs-compiled -loader `
7
+ ` npm install ejs-webpack -loader `
10
8
11
9
## Usage
12
10
@@ -41,12 +39,6 @@ module: {
41
39
loaders: [
42
40
{test: / \. ejs$ / , loader: ' ejs-compiled?htmlmin' } // enable here
43
41
]
44
- },
45
- ' ejs-compiled-loader' : {
46
- ' htmlmin' : true , // or enable here
47
- ' htmlminOptions' : {
48
- removeComments: true
49
- }
50
42
}
51
43
```
52
44
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " ejs-compiled -loader" ,
2
+ "name" : " ejs-webpack -loader" ,
3
3
"version" : " 2.2.0" ,
4
- "description" : " EJS webpack loader (without frontend dependencies)" ,
4
+ "description" : " EJS webpack 4.x loader (without frontend dependencies)" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
7
"test" : " cd test && ../node_modules/.bin/webpack && node bundle.js"
8
8
},
9
9
"repository" : {
10
10
"type" : " git" ,
11
- "url" : " https://github.com/bazilio91 /ejs-compiled -loader.git "
11
+ "url" : " https://github.com/rorkflash /ejs-webpack -loader"
12
12
},
13
13
"keywords" : [
14
14
" ejs" ,
15
15
" webpack" ,
16
16
" loader" ,
17
17
" template"
18
18
],
19
- "author" : " Vasily Ostanin <bazilio91 @gmail.com>" ,
19
+ "author" : " Ashot Gasparyan <rorkflash @gmail.com>" ,
20
20
"license" : " MIT" ,
21
21
"bugs" : {
22
- "url" : " https://github.com/bazilio91 /ejs-compiled -loader/issues"
22
+ "url" : " https://github.com/rorkflash /ejs-webpack -loader/issues"
23
23
},
24
- "homepage" : " https://github.com/bazilio91 /ejs-compiled -loader" ,
24
+ "homepage" : " https://github.com/rorkflash /ejs-webpack -loader" ,
25
25
"dependencies" : {
26
26
"ejs" : " ^2.0.0" ,
27
27
"html-minifier" : " ^3" ,
31
31
},
32
32
"devDependencies" : {
33
33
"node-libs-browser" : " ^0.5.0" ,
34
- "webpack" : " ^1.9.4 "
34
+ "webpack" : " ^4.5.0 "
35
35
}
36
36
}
You can’t perform that action at this time.
0 commit comments