Skip to content

Commit

Permalink
Use requirejs to bundle/minify extensions, copy only what we need to …
Browse files Browse the repository at this point in the history
…dist/, part of mozilla#634 (mozilla#637)

* Rework extension loading to use a json file, drop ?enableExtensions support

* Close, but no cigar

* Working, all extensions built with requirejs, copied as small as possible

* Revert change to swPrecache I removed for debugging

* Don't copy unused SourceCodePro fonts to dist/styles/fonts
  • Loading branch information
humphd authored and timmoy committed Apr 20, 2017
1 parent b93952f commit 3ab2b17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/BrambleExtensionLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ define(function (require, exports, module) {

// Disable any extensions we found on the query string's ?disableExtensions= param
function _processDefaults(disableExtensions) {
<<<<<<< HEAD
disableExtensions = disableExtensions ? disableExtensions.trim().split(/\s*,\s*/) : [];

var brambleExtensions = [];
Expand Down

0 comments on commit 3ab2b17

Please sign in to comment.