williamthom-as / color-helper

Generate CSS/Sass/Less color variables from a color palette

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

color-helper

An app using dumber bundler to build. More details in gulpfile.js.

Run in dev mode, plus watch

npm start

Run in production mode, plus watch

It updates index.html with hashed file name.

npm run start:prod

Build in dev mode

Generates dist/*-bundle.js

npm run build:dev

Build in production mode

npm run build

It builds dist/*-bundle.[hash].js, updates index.html with hashed js bundle file name. To deploy to production server, copy over both the generated index.html and all the dist/* files.

For example

index.html
dist/entry-bundle.12345.js

Copy to production root folder

root_folder/index.html
root_folder/dist/entry-bundle.12345.js

To clear cache

Clear tracing cache. In rare situation, you might need to run clear-cache after upgrading to new version of dumber bundler.

npm run clear-cache

About

Generate CSS/Sass/Less color variables from a color palette


Languages

Language:JavaScript 53.2%Language:SCSS 29.1%Language:HTML 17.7%