Shims are not available in NPM package
See original GitHub issueContext
I am trying to add FilerWebpackPlugin
to an existing Webpack configuration.
Problem
All imports of fs
are properly replaced by node_modules/filer/shims/fs.js
. However, that file cannot be found.
Analysis
The shims are not made available in the NPM package.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
es-module-shims - npm
Start using es-module-shims in your project by running `npm i es-module-shims`. There are 24 other projects in the npm registry using ...
Read more >Angular 12: No way to provide missing node shims used in ...
Just to recap, the question is: how can I provide Node.js shims to resolve crypto , stream and other modules in Angular 12...
Read more >How to shim npm package dependency in browserify?
1 Answer 1 · No, this doesn't work. · Thanks, but I suggest you change the peerDependencies entry in the react-nouislider package defeats...
Read more >npm shim from nodenv not accepted and prevents project ...
Install nodenv and prove presence and function of ~/.nodenv/shims/npm --version ... there is a bin/npm-cli.js script relative to the npm package directory.
Read more >Project Shims – Using NPM modules with UI5 - SAP Blogs
NPM packages greatly help with easy installations and easy version management. This problem is now tackled in UI5 with the help of Project...
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 FreeTop 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
Top GitHub Comments
@bcheidemann ah, I see. We need to update https://github.com/filerjs/filer/blob/master/package.json#L77-L81 and potentially the
build
script to copy things where they are expected when younpm install filer
. If you want to do that, that would be great.Confirmed, shims are now present 😃