Skip to content

Commit

Permalink
(#48) - autoprefix all CSS, add promise polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanlawson committed Jun 24, 2016
1 parent 7db429c commit f3045e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ module.exports = async function build(debug) {
spritesCss.split('\n').slice(0, CRITICAL_CSS_SPRITES_LINES).join('\n');

mainCss = await inlineSvgs(mainCss);
mainCss = await cleanCss.minify(mainCss).styles;
mainCss = await minifyCss(mainCss);
var muiCss = await fs.readFileAsync('./src/vendor/mui.css', 'utf-8');
muiCss = await minifyCss(muiCss);
return html
Expand Down
1 change: 1 addition & 0 deletions src/js/worker/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('lie/polyfill'); // regenerator requires this
var regen = require('regenerator/runtime');

if (typeof window !== 'undefined') {
Expand Down

0 comments on commit f3045e4

Please sign in to comment.