Use cssnano to minify main CSS file (#569)

* Add cssnano to CSS generation

* Add babel-polyfill

* Call cssnano at the end

* Fix tests

* Add babelrc
This commit is contained in:
Yangshun Tay 2018-04-16 21:31:01 -07:00 committed by GitHub
parent 946e2cef90
commit 159b80df94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 1297 additions and 25 deletions

View file

@ -7,6 +7,7 @@
* LICENSE file in the root directory of this source tree.
*/
require('babel-polyfill');
require('babel-register')({
babelrc: false,
only: [__dirname, process.cwd() + '/core'],