8000 fix: fix for tests · javascriptdata/danfojs@f62bdd3 · GitHub
[go: up one dir, main page]

Skip to content

Commit f62bdd3

Browse files
author
Mathieu Davy
committed
fix: fix for tests
There seems to be a process to publish the module that renames the bundle-esm.js file to bundle.js. I don't know why we need to name the webpack generated file with the -esm suffix.
1 parent 7638681 commit f62bdd3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/danfojs-browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "JavaScript library providing high performance, intuitive, and easy to use data structures for manipulating and processing structured data.",
55
"main": "dist/danfojs-browser/src/index.js",
66
"types": "dist/danfojs-browser/src/index.d.ts",
7-
"module": "lib/bundle-esm.js",
7+
"module": "lib/bundle.js",
88
"directories": {
99
"test": "tests"
1010
},

src/danfojs-browser/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const createConfig = () => {
1212
target: "web",
1313
output: {
1414
path: path.resolve(__dirname, "lib"),
15-
filename: "bundle-esm.js",
15+
filename: "bundle.js",
1616
library: "dfd"
1717
},
1818
module: {

0 commit comments

Comments
 (0)
0