Skip to content

Commit e64be1e

Browse files
committed
update test cases
1 parent cd1a4d0 commit e64be1e

64 files changed

Lines changed: 3129 additions & 52 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "html-res-webpack-plugin",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "html generation and resource inline or md5 for webpack",
55
"keywords": [
66
"front-end",
@@ -28,9 +28,9 @@
2828
"test": "jasmine"
2929
},
3030
"dependencies": {
31-
"lodash": "^3.10.1",
3231
"html-minifier": "^1.1.1",
33-
"loader-utils": "^0.2.15"
32+
"loader-utils": "^0.2.15",
33+
"lodash": "^3.10.1"
3434
},
3535
"devDependencies": {
3636
"async": "^2.0.0-rc.6",
@@ -41,7 +41,7 @@
4141
"colors": "^1.1.2",
4242
"copy-webpack-plugin-hash": "^3.0.2",
4343
"css-loader": "^0.22.0",
44-
"extract-text-webpack-plugin": "github:lcxfs1991/extract-text-webpack-plugin",
44+
"extract-text-webpack-plugin-steamer": "^1.0.1",
4545
"file-loader": "^0.8.4",
4646
"fs-extra": "^0.30.0",
4747
"html-loader": "^0.3.0",
@@ -50,7 +50,7 @@
5050
"less-loader": "^2.2.3",
5151
"style-loader": "^0.13.0",
5252
"url-loader": "^0.5.6",
53-
"webpack": "^1.13.1"
53+
"webpack": "^1.14.0"
5454
},
5555
"license": "MIT",
5656
"engines": {
File renamed without changes.

specWebpack/dist/image-in-html/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<head>
44
<meta charset="utf-8">
55
<title>Tencent QQ</title>
6-
<link rel="stylesheet" href="//localhost:9000/./css/index-fb590d.css">
6+
<link rel="stylesheet" href="//localhost:9000/./css/index-53db8e.css">
77
</head>
88
<body>
99
<div id="pages" class="qq-ui"></div>
1010

1111

1212
<img src="//localhost:9000/img/google-92b6c8.png" />
13-
<script src="//localhost:9000/js/index-fb590d.js"></script>
13+
<script src="//localhost:9000/js/index-53db8e.js"></script>
1414
</body>
1515
</html>
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html lang="zh"><head><meta charset="utf-8"><title>Tencent QQ</title><link rel="stylesheet" href="//localhost:9000/./css/index-6e4dfb.css"></head><body><div id="pages" class="qq-ui"></div><script type="text/javascript" src="//localhost:9000/libs/react-fb6122.js"></script><script type="text/javascript" src="//localhost:9000/js/commons-4d6555.js"></script><script type="text/javascript" src="//localhost:9000/js/index-484388.js"></script><script type="text/javascript" src="//localhost:9000/js/detail-ff5ac7.js"></script><script type="text/javascript" src="//localhost:9000/js/list-6d994e.js"></script></body></html>
1+
<!doctype html><html lang="zh"><head><meta charset="utf-8"><title>Tencent QQ</title><link rel="stylesheet" href="//localhost:9000/./css/index-6e4dfb.css"></head><body><div id="pages" class="qq-ui"></div><script type="text/javascript" src="//localhost:9000/libs/react-fb6122.js"></script><script type="text/javascript" src="//localhost:9000/js/commons-9fe11f.js"></script><script type="text/javascript" src="//localhost:9000/js/index-f53214.js"></script><script type="text/javascript" src="//localhost:9000/js/detail-ff5ac7.js"></script><script type="text/javascript" src="//localhost:9000/js/list-6d994e.js"></script></body></html>

specWebpack/dist/resource-common-1/js/commons-4d6555.js renamed to specWebpack/dist/resource-common-1/js/commons-9fe11f.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
/******/ script.charset = 'utf-8';
7777
/******/ script.async = true;
7878

79-
/******/ script.src = __webpack_require__.p + "chunk/" + ({"1":"js/index","2":"js/list","3":"js/detail","4":"libs/react"}[chunkId]||chunkId) + "-" + {"1":"484388","2":"6d994e","3":"ff5ac7","4":"fb6122"}[chunkId] + ".js";
79+
/******/ script.src = __webpack_require__.p + "chunk/" + ({"1":"js/index","2":"js/list","3":"js/detail","4":"libs/react"}[chunkId]||chunkId) + "-" + {"1":"f53214","2":"6d994e","3":"ff5ac7","4":"fb6122"}[chunkId] + ".js";
8080
/******/ head.appendChild(script);
8181
/******/ }
8282
/******/ };
File renamed without changes.

specWebpack/dist/resource-common-2/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<div id="pages" class="qq-ui"></div>
1111

1212

13-
<script src="//localhost:9000/js/commons-66e370.js"></script>
14-
<script src="//localhost:9000/js/index-b942de.js"></script>
13+
<script src="//localhost:9000/js/commons-49b893.js"></script>
14+
<script src="//localhost:9000/js/index-5d72a6.js"></script>
1515
<script src="//localhost:9000/js/detail-ff5ac7.js"></script>
1616
</body>
1717
</html>

specWebpack/dist/resource-common-2/js/commons-66e370.js renamed to specWebpack/dist/resource-common-2/js/commons-49b893.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
/******/ script.charset = 'utf-8';
7777
/******/ script.async = true;
7878

79-
/******/ script.src = __webpack_require__.p + "chunk/" + ({"1":"js/index","2":"js/list","3":"js/detail","4":"libs/react"}[chunkId]||chunkId) + "-" + {"1":"b942de","2":"6d994e","3":"ff5ac7","4":"fb6122"}[chunkId] + ".js";
79+
/******/ script.src = __webpack_require__.p + "chunk/" + ({"1":"js/index","2":"js/list","3":"js/detail","4":"libs/react"}[chunkId]||chunkId) + "-" + {"1":"5d72a6","2":"6d994e","3":"ff5ac7","4":"fb6122"}[chunkId] + ".js";
8080
/******/ head.appendChild(script);
8181
/******/ }
8282
/******/ };
File renamed without changes.

0 commit comments

Comments
 (0)