An unopinionated, no-fluff CSS project template with task automation using Gulp.
- Autoprefixer: Using autoprefixer, the build process automatically handles vendor prefixes.
- Minification: The build process uses clean-css to minify your CSS and remove redundant and unnecessary code, such as repeated properties.
- Source Maps: The minification process uses gulp-sourcemaps so that any problems that do occur to a client can be re-mapped to the original, unmodified source code.
To install the project's dependencies, run npm install
. css-project
is only
a development boilerplate, so there are no production dependencies.
To build your project for development, run npm run build
from the command
line. This will launch the build
Gulp task which does some light modification
to your code and outputs it to the build
directory.
To build your project for production, run npm run dist
from the command line.
This process performs much more rigorous modification to your code, such as
minification and bundling, and outputs the result to the dist
directory.
See the LICENSE
file for license information.