scikit.js icon indicating copy to clipboard operation
scikit.js copied to clipboard

If I use bundler, the project will fail to build.

Open 1093919186 opened this issue 3 years ago • 3 comments

I run the scikitjs (version: 1.24.0) in my project. and package it by parcel-bundler (version: 1.12.5). When I start the project I get the following error: image if I import the bundle by script tag (CDN), works fine.

The error location: /node_modules/scikitjs/dist/es5/index.js (line: 20). And, Comment out this line of code and it works fine.

1093919186 avatar Sep 09 '22 02:09 1093919186

I have same issue in Webpack v4.43.0

kennytrumptech avatar Oct 17 '22 05:10 kennytrumptech

Can you share your bundler config? I'm using NextJS and everything working fine

fahminlb33 avatar Mar 24 '23 13:03 fahminlb33

@1093919186 I'm happy to take a look at this if it is still an issue.

dcrescim avatar Jan 17 '24 02:01 dcrescim