Skip to content

Commit 97dd37e

Browse files
committed
build for browser envs
1 parent 251c15a commit 97dd37e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

danfojs/src/plotting/plot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//perform plotting
2-
import { newPlot } from 'plotly.js' //comment out when building for Node Version
2+
// import { newPlot } from 'plotly.js' //comment out when building for Node Version
33
import { Utils } from "../core/utils"
44
import { Series } from "../core/series"
55

package-config-web.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"dev": "npm run lint && babel ./danfojs/src -d dist --no-comments",
2929
"build": "babel ./danfojs/src -d ./dist --no-comments",
3030
"lint": "eslint ./danfojs/src",
31-
"bundle": "webpack --mode development",
31+
"bundle": "webpack --mode production",
3232
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
3333
"coverage": "nyc report --reporter=text-lcov | coveralls && nyc report --reporter=lcov",
3434
"patch": "npm version patch",
@@ -116,7 +116,7 @@
116116
"dev": "npm run lint && babel ./danfojs/src -d dist --no-comments",
117117
"build": "babel ./danfojs/src -d ./dist --no-comments",
118118
"lint": "eslint ./danfojs/src",
119-
"bundle": "webpack --mode development",
119+
"bundle": "webpack --mode production",
120120
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
121121
"coverage": "nyc report --reporter=text-lcov | coveralls && nyc report --reporter=lcov",
122122
"patch": "npm version patch",

0 commit comments

Comments
 (0)