@caweb/html-webpack-plugin 2.1.0 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +5 -5
- package/tests/webpack.tests.js +3 -11
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caweb/html-webpack-plugin",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "CAWebPublishing Site Generation HTML Webpack Plugin",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@caweb/framework": "^1.9.
|
|
29
|
-
"@caweb/icon-library": "^1.1.
|
|
30
|
-
"@caweb/template": "^1.0.
|
|
28
|
+
"@caweb/framework": "^1.9.5",
|
|
29
|
+
"@caweb/icon-library": "^1.1.7",
|
|
30
|
+
"@caweb/template": "^1.0.13",
|
|
31
31
|
"html-webpack-plugin": "^5.6.6"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"test": "echo \"Error: run tests from root\" && exit 0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"webpack": "^5.
|
|
40
|
+
"webpack": "^5.105.1",
|
|
41
41
|
"webpack-cli": "^6.0.1"
|
|
42
42
|
}
|
|
43
43
|
}
|
package/tests/webpack.tests.js
CHANGED
|
@@ -12,21 +12,13 @@ import path from 'path';
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
// we import this current plugin to test it
|
|
15
|
-
import
|
|
15
|
+
import CAWebHTMLPlugin from '../index.js';
|
|
16
16
|
|
|
17
17
|
export default {
|
|
18
18
|
plugins: [
|
|
19
|
-
new
|
|
19
|
+
new CAWebHTMLPlugin({
|
|
20
20
|
templateParameters: {
|
|
21
21
|
}
|
|
22
22
|
})
|
|
23
|
-
]
|
|
24
|
-
devServer: {
|
|
25
|
-
static: [
|
|
26
|
-
// we all serving the local template media files for testing
|
|
27
|
-
{
|
|
28
|
-
directory: path.join( process.cwd(), '..', 'template', 'media' ),
|
|
29
|
-
},
|
|
30
|
-
]
|
|
31
|
-
}
|
|
23
|
+
]
|
|
32
24
|
};
|