Skip to content

Commit

Permalink
Merge pull request #75 from stealjs/async
Browse files Browse the repository at this point in the history
Make less use async mode in the browser
  • Loading branch information
matthewp authored Sep 30, 2018
2 parents f843110 + f27ace3 commit d330a8c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions less-engine.js
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
// Without these options Less will inject a `body { display: none !important; }`
var less = window.less || (window.less = {});
less.async = true;

module.exports = require("less/dist/less");

0 comments on commit d330a8c

Please sign in to comment.