@talend/scripts-config-cdn
Advanced tools
Comparing version 9.11.5 to 9.12.0
12
cdn.js
@@ -15,6 +15,2 @@ /* eslint-disable no-param-reassign */ | ||
function init() { | ||
moduleToCdn.add(modules); | ||
} | ||
function getModuleName(nameandversion) { | ||
@@ -231,3 +227,10 @@ const split = nameandversion.split('@'); | ||
let talendModulesConfigured = false; | ||
function resolver(importPath, version, options) { | ||
// insert talend modules at first module resolution | ||
if (!talendModulesConfigured) { | ||
moduleToCdn.add(modules); | ||
talendModulesConfigured = true; | ||
} | ||
const info = moduleToCdn(importPath, version, options); | ||
@@ -280,3 +283,2 @@ if (!info) { | ||
resolver, | ||
init, | ||
getCopyConfig, | ||
@@ -283,0 +285,0 @@ getWebpackPlugin, |
# CHANGELOG | ||
## 9.12.0 | ||
### Minor Changes | ||
- 0a831ce: feat(ARCH-466/storybook): no @talend from cdn | ||
## 9.11.5 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@talend/scripts-config-cdn", | ||
"version": "9.11.5", | ||
"version": "9.12.0", | ||
"description": "Provide a simple API to inject CDN config into existing webpack configuration", | ||
@@ -5,0 +5,0 @@ "main": "cdn.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
34656
1170