Minimum set of plugins necessary for styles customization


Topic: Minimum set of plugins necessary for styles customization

duckies asked 4 years ago

Hi,

I have downloaded MDB-Pro_4.19.1 and MDB-Gulp-Pro_4.19.1. In order to customize component styles in _custom-skins.scss, _custom-styles.scss and _custom-varaibles.scss and build to generate new mdb-pro.css and mdb-pro.min.css files, what are the minimum set of required Node.js plugins? I read that these are necessary for customization:

npm install --save-dev gulp-sass gulp-autoprefixer gulp-cssmin browser-sync gulp-concat gulp-minify gulp-rename gulp-imagemin

But I am not quite sure. After installing the above and doing a few customizations, /MDB-Gulp-Pro_4.19.1/node_modules has ~29,725 files with 162MB.

Can you please confirm the minimum set of plugins necessary to customize component styles using Gulp?

Thanks


Marcin Luczak staff answered 4 years ago

Hi,

A list of node modules you provided is a required minimum based on our gulpfile.js and its imports necessary to make everything work properly on the bundle :

const gulp = require('gulp');
const autoprefixer = require('gulp-autoprefixer');
const browserSync = require('browser-sync');
const concat = require('gulp-concat');
const cssmin = require('gulp-cssmin');
const imagemin = require('gulp-imagemin');
const minify = require('gulp-minify');
const rename = require('gulp-rename');
const sass = require('gulp-sass');

The size of node_modules is based on dependencies you install and all of the other dependencies installed along with your packages and may vary due to versions of packages.

Regards, Marcin


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.19.1
  • Device: All
  • Browser: IE 11, Firefox, Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No