mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-12 16:47:26 +02:00
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:
parent
946e2cef90
commit
159b80df94
7 changed files with 1297 additions and 25 deletions
|
@ -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'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue