Releases: Pagepro/libsasserplate
Releases · Pagepro/libsasserplate
2.1.0
Libsasserplate v2.0.0
The release brings ES6 syntax to gulp tasks, greatly reduces pre-defined rules making it more lighweight and fixes multiple bugs that existed in the previous versions. The most significant changes are listed below:
- Upgraded dependencies (incl. babel and webpack) to the latest versions
- Removed unused dependencies
- Removed a lot of unused SCSS rules and helpers.
- Added pre-install hook that throws an error when trying to install packages with NPM. The error message advices you to install them using yarn instead.
- Adjust build scripts to match the latest versions of babel and webpack
- Updated the out-of-the-package SCSS rules to be less constricting
- Changed approach to form styling
- Upgraded gulp tasks to ES6
- Updated the favicon
- Fixed the favicon generating script
- Created a detailed README file
- Simplified nunjucks templates directory structure
- Added a timestamp to global tpl config(used in footer, was hardcoded 2016)
- Added Standard library to dependencies
- Changed the approach to variables(now they’re based on maps)
- Fixed SCSS compilation issues on Windows
- Updated ui-color and ui-background generating classes - they now generate more human-friendly classnames
- Updated .editorconfig
- Fixed an issue where after attempting a commit, webpack generated a new bundle file that was unstaged. The file is now being staged and attached to the commit properly.
- Fixed SCSS sourcemaps
- Babel polyfill is now based on config instead of loading the polyfill in JS entry script explicitly
- Added SVG minifying gulp process
Custom classes separation
- Gridle gridle_generate_custom_class() declarations moved to separate file for better performance.
- On development mode custom classes are loaded from separate file.
- Added custom-classes Gulp task to compile custom-classes.css file.
- On production custom classes are compiled into main.css file.
LibSasserPlate 1.0.5
LibSasserPlate 1.0.5
LibSass starter for front-end projects by Pagepro.
Most important changes:
- Gulpfile tasks moved into separate files with json file configuration.
- ES6 support.
- Gridle as required dependency for building CSS.
- HTML templating with Nunjucks.
Updated packages:
| Feature | Packages |
|---|---|
| CSS | Sass (Libsass via node-sass), Autoprefixer, CSSNano, Source Maps |
| JavaScript | Babel, Webpack |
| HTML | Nunjucks, gulp-data |
| Images | Compression with imagemin |
| Fonts | Folder and .sass mixin for including WebFonts |
| Live Updating | BrowserSync, Webpack Dev Middleware, Webpack Hot Middleware |
| Production Builds | JS and CSS are uglified and minified, filename md5 hashing (reving), file size reporting, local production Express server for testing builds. |
| JS Testing | Karma, Mocha, Chai, and Sinon, Example Travis CI integration |