parent
a70a919d14
commit
6d70cd78ec
|
@ -2,7 +2,14 @@
|
||||||
|
|
||||||
let execSync = require('child_process').execSync;
|
let execSync = require('child_process').execSync;
|
||||||
let fs = require('fs');
|
let fs = require('fs');
|
||||||
let minimist = require('minimist');
|
|
||||||
|
let minimist;
|
||||||
|
try {
|
||||||
|
minimist = require('minimist');
|
||||||
|
} catch (e) {
|
||||||
|
minimist = function(){ return {projects: ""}; };
|
||||||
|
}
|
||||||
|
|
||||||
let path = require('path');
|
let path = require('path');
|
||||||
let os = require('os');
|
let os = require('os');
|
||||||
let ua;
|
let ua;
|
||||||
|
|
|
@ -118,8 +118,6 @@ module.exports = function makeBrowserTree(options, destinationPath) {
|
||||||
|
|
||||||
var es5ModulesTree = mergeTrees([modulesTree, es6PolyfillTypings]);
|
var es5ModulesTree = mergeTrees([modulesTree, es6PolyfillTypings]);
|
||||||
|
|
||||||
es5ModulesTree = stew.debug(es5ModulesTree, {name: 'debug-es5'});
|
|
||||||
|
|
||||||
var scriptPathPatternReplacement = {
|
var scriptPathPatternReplacement = {
|
||||||
match: '@@PATH',
|
match: '@@PATH',
|
||||||
replacement: function(replacement, relativePath) {
|
replacement: function(replacement, relativePath) {
|
||||||
|
|
Loading…
Reference in New Issue