8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aef130b commit ee2d0ddCopy full SHA for ee2d0dd
build.js
@@ -217,9 +217,6 @@
217
/** Flag used to specify a mobile build */
218
var isMobile = process.argv.indexOf('mobile') > -1;
219
220
- /** Flag used to specify a custom build */
221
- var isCustom = filterType || isBackbone || isMobile;
222
-
223
/*--------------------------------------------------------------------------*/
224
225
/**
@@ -618,7 +615,7 @@
618
615
source = source.replace(/(?:(?:\s*\/\/.*)*\s*lodash\._[^=]+=.+\n)+/g, '\n');
619
616
620
617
// begin the minification process
621
- if (isCustom) {
+ if (filterType || isBackbone || isMobile) {
622
fs.writeFileSync(path.join(__dirname, 'lodash.custom.js'), source);
623
minify(source, 'lodash.custom.min', function(result) {
624
fs.writeFileSync(path.join(__dirname, 'lodash.custom.min.js'), result);
0 commit comments