Skip to content

Commit a075a5d

Browse files
authored
Merge pull request #2572 from plotly/hocho-browser-pack-flat
Bye bye browser-pack-flat
2 parents b548e6e + bde2521 commit a075a5d

File tree

3 files changed

+0
-137
lines changed

3 files changed

+0
-137
lines changed

package-lock.json

-129
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@
115115
},
116116
"devDependencies": {
117117
"brfs": "^1.4.4",
118-
"browser-pack-flat": "^3.0.8",
119118
"browserify": "^15.2.0",
120119
"browserify-transform-tools": "^1.7.0",
121120
"check-node-version": "^3.2.0",

tasks/util/browserify_wrapper.js

-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ var fs = require('fs');
22
var path = require('path');
33

44
var browserify = require('browserify');
5-
var packFlat = require('browser-pack-flat/plugin');
65
var minify = require('minify-stream');
76

87
var constants = require('./constants');
@@ -20,7 +19,6 @@ var strictD3 = require('./strict_d3');
2019
* Additional option:
2120
* - pathToMinBundle {string} path to destination minified bundle
2221
* - compressAttrs {boolean} do we compress attribute meta?
23-
* - packFlat {boolean} do we use browser-pack-flat plugin?
2422
* @param {function} cb callback
2523
*
2624
* Outputs one bundle (un-minified) file if opts.pathToMinBundle is omitted
@@ -47,11 +45,6 @@ module.exports = function _bundle(pathToIndex, pathToBundle, opts, cb) {
4745
}
4846

4947
var b = browserify(pathToIndex, browserifyOpts);
50-
51-
if(opts.packFlat) {
52-
b.plugin(packFlat);
53-
}
54-
5548
var pending = opts.pathToMinBundle ? 2 : 1;
5649

5750
function done() {

0 commit comments

Comments
 (0)