Skip to content

Commit

Permalink
fix: fix for tests
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Mathieu Davy committed Oct 5, 2023
1 parent 7638681 commit f62bdd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/danfojs-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "JavaScript library providing high performance, intuitive, and easy to use data structures for manipulating and processing structured data.",
"main": "dist/danfojs-browser/src/index.js",
"types": "dist/danfojs-browser/src/index.d.ts",
"module": "lib/bundle-esm.js",
"module": "lib/bundle.js",
"directories": {
"test": "tests"
},
Expand Down
2 changes: 1 addition & 1 deletion src/danfojs-browser/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const createConfig = () => {
target: "web",
output: {
path: path.resolve(__dirname, "lib"),
filename: "bundle-esm.js",
filename: "bundle.js",
library: "dfd"
},
module: {
Expand Down

0 comments on commit f62bdd3

Please sign in to comment.