Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

@progress/kendo-theme-default

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-theme-default - npm Package Compare versions

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: {