This repository has been archived by the owner on May 15, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Updating build steps (CSS) (#67)
- Removing 'css/vendor folder in favor of adding npm modules and having them import automatically via postcss-import plugin. - Adding newer version of WikimediaUI Base & normalize.css via npm. - Fixing 'grunt watch' task to ignore files in the 'css/build' folder - Adding npm tasks to call Grunt, for those who don't install Grunt globally. - Downgrading normalize.css to v7 & fixing typo - Fixing relative paths in CSS URLs & switching minifier to cssnano - Removing the need for `grunt-contrib-cssmin` since PostCSS can integrate a minifier. This means we don't have to output an uncompressed css file in the `build` folder. Instead we can generate the minified file in one pass, which also gets rid of the cssmin grunt tasks. - Also outputting a source map for the minified CSS file. - Adding seperate grunt tasks for compiling minified and unminifed CSS Minified CSS gets compiles with source maps, unminified does not.
- Loading branch information
1 parent
f26af54
commit 7a8ff8c
Showing
10 changed files
with
379 additions
and
1,164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.