For questions please post on Stack Overflow and use the 'webpack' tag (http://stackoverflow.com/tags/webpack).
dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
Bump eslint-plugin-jest from 24… (compare)
vankop on refactor-json-modules
fix discussions (compare)
sokra on main
add createRequire support add createRequire javascript pa… Merge branch 'main' into suppor… and 3 more (compare)
sokra on support-create-require
hot: false
on devServer but I'm still getting an error about sockjs
@johnmarinelli maybe i was not clear in my description. The thing is, there are several times when a chunk will not be found, like when there is no network, or the server is down, or the chunk that was meant to be loaded dynamically has been deleted at the server, or the chunk that was meant to be loaded dynamically has been replaced by another update/build from a security update to the code.
The last two cases will occur if the client/user was already in the browser, but they attempt to go the page that requires the chunk that is no longer there... so, boom... the chunk cant be loaded... now, i needed to catch that error that the chunk cant be loaded, which i figured out, see https://stackoverflow.com/a/57860730/3563013
libraryTarget: 'umd'
, because the docs says, "To make the library compatible with other environments, add libraryTarget property to the config. This will add various options about how the library can be exposed."
output: {
// ...
globalObject: "this"
}