[json-schema-loader] Breaks Webpack 2
See original GitHub issueAs per the most recent commit - https://github.com/cloudflare/json-schema-loader/commit/2e75f223a77c987b66e98d054c3018d3e64f93dc - this now breaks for webpack 2.
The docs specify that callback
should be invoked with a second argument that looks like a sourcemap, not an arbitrary type. https://webpack.js.org/api/loaders/#this-callback.
We are able to use 0.0.3
and it works, but you might want to specify webpack version in the readme.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Releases · cloudflare/json-schema-loader - GitHub
This doesn't break anything but fixes problems with webpack2 that doesn't use this.inputValue anymore; The version was bumped so it's more clear that ......
Read more >json-schema-loader - npm
Webpack loader that resolves Json Schema references.. Latest version: 1.0.0, last published: 6 years ago. Start using json-schema-loader in ...
Read more >webpack.validateSchema is not a function - Stack Overflow
It turns out that some of my loaders were not working correctly; Bootstrap and some other things were not being loaded in properly,...
Read more >rushstack/rushstack - Gitter
Hey guys, I'm seeing some very strange behaviour when running @microsoft/gulp-build-core whereby a module is being resolved as {} i.e. an empty object....
Read more >Help with getting start creating JSON form app - Discourse
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if...
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
@wmonk if we decide we don’t need json-schema-loader in the doca suite, we would still likely fix it for webpack 2 and keep it as an active project, we’d just change it to be standalone and give it its own issues list, etc.
json-schema-loader
has been deprecated in favor of the new@cloudflare/json-schema-ref-loader
in the https://github.com/cloudflare/json-schema-tools repository.@cloudflare/json-schema-ref-loader
does not use the extra parameter. The requested bundling feature is tracked as cloudflare/json-schema-tools#2