@rollup-extras/plugin-html 1.2.4 → 1.3.0

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/dist/index.cjs CHANGED
@@ -211,7 +211,7 @@ function index (options$1 = {}) {
211
211
  useConditionalLoading !== null && useConditionalLoading !== void 0 ? useConditionalLoading : (useConditionalLoading = !!((assets.iife.length
212
212
  || assets.umd.length)
213
213
  && assets.es.length));
214
- return (options.format === 'iife' || options.format === 'umd') ? getNonModuleScriptElement(assetPath, useConditionalLoading) : getModuleScriptElement(assetPath);
214
+ return (options.format === 'iife' || options.format === 'umd') ? getNonModuleScriptElement(assetPath, !!useConditionalLoading) : getModuleScriptElement(assetPath);
215
215
  },
216
216
  head: injectIntoHead(relativeToRootAssetPath),
217
217
  type: 'asset'
package/dist/index.mjs CHANGED
@@ -202,7 +202,7 @@ function index (options = {}) {
202
202
  useConditionalLoading !== null && useConditionalLoading !== void 0 ? useConditionalLoading : (useConditionalLoading = !!((assets.iife.length
203
203
  || assets.umd.length)
204
204
  && assets.es.length));
205
- return (options.format === 'iife' || options.format === 'umd') ? getNonModuleScriptElement(assetPath, useConditionalLoading) : getModuleScriptElement(assetPath);
205
+ return (options.format === 'iife' || options.format === 'umd') ? getNonModuleScriptElement(assetPath, !!useConditionalLoading) : getModuleScriptElement(assetPath);
206
206
  },
207
207
  head: injectIntoHead(relativeToRootAssetPath),
208
208
  type: 'asset'
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.4",
2
+ "version": "1.3.0",
3
3
  "license": "MIT",
4
4
  "name": "@rollup-extras/plugin-html",
5
5
  "author": {
@@ -63,10 +63,10 @@
63
63
  "pkgbld": "1.2.12"
64
64
  },
65
65
  "peerDependencies": {
66
- "rollup": "^2.60.1"
66
+ "rollup": "^2.60.1 || ^3.0.0"
67
67
  },
68
68
  "dependencies": {
69
- "@niceties/logger": "^1.1.3",
70
- "@rollup-extras/utils": "^1.2.4"
69
+ "@niceties/logger": "^1.1.4",
70
+ "@rollup-extras/utils": "^1.3.0"
71
71
  }
72
72
  }