segmentio / analytics.js-core

The hassle-free way to integrate analytics into any web application.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile warning

jd-lacey opened this issue · comments

Using 4.1.1

Compiled with warnings.

./node_modules/@segment/analytics.js-core/build/index.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

@jd-lacey Thanks for the report. Just out of curiosity, how are you importing the library? I am not seeing the issue in a test sandbox. This is with both commonjs and ES6-style imports. I am using 4.1.5

Here is the sandbox https://codesandbox.io/s/how-to-use-segment-as-npm-package-forked-wy95f?file=/src/index.js

cc @pooyaj

Related issues:

commented

This issue has been automatically marked stale because it has not had any activity in the last 60 days. If no further activity occurs within 7 days, it will be closed. Closed does not mean "never", just that it has no momentum to get accomplished any time soon. See CONTRIBUTING.md for more info.

commented

Closing due to staleness. Closed does not mean "never", just that it has no momentum to get accomplished any time soon. See CONTRIBUTING.md for more info.