Upgrading from 1.3.3 to 1.3.4 gives worrying build-time warnings
See original GitHub issueI’m using jotai in a Next.js project, with nothing special in particular with the setup.
When I upgrade to 1.3.4 I get this in the build output, which seems reasonably important. My guess is that it’s to do with the way the exports were changed to use wildcards?
Reverting back to 1.3.3 removes the warning.
warn - ./node_modules/jotai/esm/index.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
./node_modules/jotai/esm/utils.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
./node_modules/jotai/esm/utils.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:11 (4 by maintainers)
Top Results From Across the Web
chore(build): pin esbuild for now and replace size plugin with github ...
dai-shi linked an issue on Sep 19, 2021 that may be closed by this pull request. Upgrading from 1.3.3 to 1.3.4 gives worrying...
Read more >@objc Warnings Upgrading To Swift 4 - Use Your Loaf
Open a Swift 3 project in Xcode 9 and it will warn you that you can upgrade to Swift 4. If you accept...
Read more >AngularJS: Developer Guide: Migrating from Previous Versions
This fixes issues where input[date] and input[number] cannot be validated because the $viewValue string is parsed into Date and Number respectively (starting ...
Read more >Notes on Data Structures and Programming Techniques ...
Many programming environments will give you a rich collection of built-in data structures as part of their standard library.
Read more >BitBake User Manual - the Yocto Project Documentation
Classes; 1.3.4. ... This manual provides information on the BitBake tool. ... Handle inter-package dependencies (build time on target architecture, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
FYI, this is also happening in Next.js, which doesn’t use
esbuild
.Just to be clear, this is caused by the version of
esbuild
that buildsjotai
, it’s not because of the consumers environment. This doesn’t have anything to do with Next.js or Gatsby. 🙂