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

Skip to content

Commit 657c08b

Browse files
committed
adjust strict bundle headers
1 parent 9051a04 commit 657c08b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/bundle.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ tasks.push(function(done) {
5050
standalone: 'Plotly',
5151
pathToMinBundle: pathToPlotlyStrictDistMin
5252
}, function() {
53-
prependFile.sync(pathToPlotlyStrictDist, header, common.throwOnError);
54-
prependFile.sync(pathToPlotlyStrictDistMin, header, common.throwOnError);
53+
prependFile.sync(pathToPlotlyStrictDist, header.replace('plotly.js', 'plotly.js (strict)'), common.throwOnError);
54+
prependFile.sync(pathToPlotlyStrictDistMin, header.replace('plotly.js', 'plotly.js (strict - minified)'), common.throwOnError);
5555

5656
done();
5757
});

0 commit comments

Comments
 (0)