@progress/kendo-theme-default
Advanced tools
Comparing version 2.10.9 to 2.11.0
{ | ||
"name": "@progress/kendo-theme-default", | ||
"description": "SASS resources for the default Kendo UI theme", | ||
"version": "2.10.9", | ||
"version": "2.11.0", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "Kendo UI", |
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
/* | ||
@@ -35,2 +36,15 @@ * Build CSS out of SCSS files using webpack, reusing the | ||
let entry = { 'all': './build/all.js' }; | ||
const components = process.env.COMPONENTS || null; | ||
if (components) { | ||
// custom build | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
const imports = components.split(',') | ||
.map(c => `require("./../scss/${c}.scss");`).join('\n') | ||
fs.writeFileSync(path.join('build', 'custom.js'), imports); | ||
entry = { 'custom': './build/custom.js' }; | ||
} | ||
const inDevelopment = process.argv.find(v => v.includes('webpack-dev-server')) | ||
@@ -45,5 +59,3 @@ module.exports = require('@telerik/kendo-common-tasks') | ||
module: { loaders: [] }, | ||
entry: { | ||
'all': './build/all.js' | ||
}, | ||
entry: entry, | ||
plugins: inDevelopment ? [ new BrowserSync() ] : [], | ||
@@ -50,0 +62,0 @@ output: { |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
904115
104
16
5