@kasko/webpack-asset-loader-plugin
Advanced tools
Comparing version 1.0.0-beta.1 to 1.0.0
12
index.js
@@ -31,2 +31,7 @@ const axios = require('axios'); | ||
const additionalAssets = { | ||
css: [], | ||
js: [], | ||
}; | ||
data | ||
@@ -38,3 +43,3 @@ .map((plugin) => plugin.files || {}) | ||
files.js.forEach((file) => { | ||
pluginArgs.assets.js.push(file.url); | ||
additionalAssets.js.push(file.url); | ||
}); | ||
@@ -45,6 +50,9 @@ } | ||
files.css.forEach((file) => { | ||
pluginArgs.assets.css.push(file.url); | ||
additionalAssets.css.push(file.url); | ||
}); | ||
} | ||
}); | ||
pluginArgs.assets.css.unshift(...additionalAssets.css); | ||
pluginArgs.assets.js.unshift(...additionalAssets.js); | ||
} | ||
@@ -51,0 +59,0 @@ |
{ | ||
"name": "@kasko/webpack-asset-loader-plugin", | ||
"version": "1.0.0-beta.1", | ||
"version": "1.0.0", | ||
"description": "Load KASKO platform plugins and add their assets to output HTML", | ||
@@ -5,0 +5,0 @@ "license": "UNLICENSED", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3628
78
1