How to ignore "Seems to be a pre-built javascript file...Try to require the original source to get better results." for Webpack?
Fix this by adding the path to the prebuilt module into your webpack config under module:
module: {
// ...
noParse: [
'/node_modules/prebuiltlib/dist/build.js',
]
// ...
}
This has the added benefit of slightly faster build times.