@studyportals/bob-manifest-generator
Advanced tools
Comparing version 2.1.3 to 2.2.0
{ | ||
"name": "@studyportals/bob-manifest-generator", | ||
"version": "2.1.3", | ||
"version": "2.2.0", | ||
"description": "A Webpack plugin that generates a manifest file for your microservice.", | ||
@@ -5,0 +5,0 @@ "main": "src/main.js", |
@@ -52,2 +52,3 @@ # BobManifestGenerator | ||
baseURL: string, | ||
crossorigin: boolean, | ||
exclude: string[], | ||
@@ -67,2 +68,3 @@ async: string[], | ||
"html": "https://bucket.prtl.co/index.html", | ||
"crossorigin": true, | ||
"assets": { | ||
@@ -112,2 +114,3 @@ "js": [ | ||
| `baseURL` | The base URL for your microservice's assets. This will be prepended to the filenames. | no (default: `''`) | | ||
| `crossorigin` | Determines if JS assets will be inserted on the page with a `crossorigin="anonymous"` tag. | no (default: `true`) | | ||
| `exclude` | An array of filenames to be excluded from the manifest. This can be just a filename or a filename including extension. When `true` is passed as a value, all assets will be excluded. | no (default: `[]`) | | ||
@@ -114,0 +117,0 @@ | `async` | An array of JS filenames to be loaded async. This can be just a filename or a filename including extension. Keep in mind that only javascript assets may be loaded async. When `true` is passed as a value, all javascript assets will be loaded async. | no (default: `[]`) | |
@@ -12,2 +12,3 @@ const path = require('path'); | ||
html: options.html, | ||
crossorigin: (options.crossorigin === false) ? false : true, | ||
assets: { | ||
@@ -14,0 +15,0 @@ js: [], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14827
243
209