Skip to content

Commit 48ce92e

Browse files
authored
Merge pull request #6437 from plotly/fix-const-error
Fix es5 dist on master
2 parents 73f9691 + 30d0a99 commit 48ce92e

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.circleci/config.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -403,15 +403,12 @@ jobs:
403403
- run:
404404
name: Test plotly.min.js import using requirejs
405405
command: npm run test-requirejs
406-
- run:
407-
name: Display function constructors in all bundles (only on master)
408-
command: |
409-
if [ $CIRCLE_BRANCH == "master" ]
410-
then npm run no-new-func
411-
fi
412406
- run:
413407
name: Test plotly bundles against es6
414408
command: npm run no-es6-dist
409+
- run:
410+
name: Display function constructors in all bundles
411+
command: npm run no-new-func
415412

416413
workflows:
417414
version: 2

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = {
2222
}
2323
}, {
2424
test: /\.js$/,
25-
include: /node_modules[\\\/]buffer[\\\/]/,
25+
include: /node_modules[\\\/](buffer|is-mobile)[\\\/]/,
2626
use: {
2727
loader: 'babel-loader',
2828
options: {

0 commit comments

Comments
 (0)