Issue #1403💬 AnsweredOpened September 4, 2018by Abhisheknanda13444630 reactions

How to build minified Css?

Quick answerby artf

npm run build minifies also CSS via "build-dev": "webpack --env=dev && npm run build:css",

Read full answer below ↓

Question

hi @artf Can You please explain me how can i build css from style section. Everytime when i run "Npm run build".Code build in min js only should i need to add file for css build??? Thanks.

Answers (3)

artfSeptember 5, 2018

npm run build minifies also CSS via "build-dev": "webpack --env=dev && npm run build:css",

Abhisheknanda1344463September 5, 2018

ok @artf thanks :)

Abhisheknanda1344463September 5, 2018

@artf With command "Npm run build" my css doesn't get build. i tried npm run build:css it shows error && various scripts are written in my package.json as shown below. My all css is in the Style folder."lint": "eslint src","v:patch": "npm version --no-git-tag-version patch","build": "npm run v:patc...

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.