@zohodesk/client_build_tool 0.0.13-exp.1 → 0.0.13-exp.3

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.
@@ -72,7 +72,7 @@ class InitialHtmlPlugin {
72
72
  });
73
73
 
74
74
  if (tag.tagName === 'link') {
75
- addIntegrity(tag, 'link');
75
+ addIntegrity(tag, 'css');
76
76
  headTags.push(tag);
77
77
  } else {
78
78
  if (url.endsWith('.i18n.js')) {
@@ -16,7 +16,8 @@ var _InitialHtmlPlugin = require("../custom_plugins/InitialHtmlPlugin");
16
16
  function configHtmlWebpackPlugin(options) {
17
17
  const {
18
18
  htmlTemplate,
19
- mode
19
+ mode,
20
+ enableSubResourceIntegrity
20
21
  } = options;
21
22
  const {
22
23
  inject,
@@ -31,7 +32,8 @@ function configHtmlWebpackPlugin(options) {
31
32
  template: appInitialHTMLTemplatePath,
32
33
  minify: minifyHtmlOptions,
33
34
  inject,
34
- scriptLoading: 'defer'
35
+ scriptLoading: 'defer',
36
+ enableSubResourceIntegrity
35
37
  });
36
38
  }
37
39
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/client_build_tool",
3
- "version": "0.0.13-exp.1",
3
+ "version": "0.0.13-exp.3",
4
4
  "description": "A CLI tool to build web applications and client libraries",
5
5
  "main": "lib/index.js",
6
6
  "bin": {