Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5ba702d

Browse files
committed
fix empty plugins
1 parent cd0c603 commit 5ba702d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tasks/cibundle.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ _bundle(constants.pathToPlotlyIndex, constants.pathToPlotlyBuild, {
1818
}, function() {
1919
// Bundle the geo assets
2020
_bundle(constants.pathToPlotlyGeoAssetsSrc, constants.pathToPlotlyGeoAssetsDist, {
21-
noCompressAttributes: true,
21+
noPlugins: true,
2222
standalone: 'PlotlyGeoAssets'
2323
});
2424
});

tasks/util/bundle_wrapper.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default async function _bundle(pathToIndex, pathToBundle, opts, cb) {
2828
config.entryPoints = [pathToIndex];
2929
config.outfile = pathToBundle || pathToMinBundle;
3030
if(!opts.noCompressAttributes) config.plugins.push(browserifyAdapter(transform));
31-
if(opts.noPlugins) consfig.noPlugins = [];
31+
if(opts.noPlugins) config.plugins = [];
3232

3333
var pathToMinBundle = opts.pathToMinBundle;
3434
var pending = (pathToMinBundle && pathToBundle) ? 2 : 1;

0 commit comments

Comments
 (0)