{"_id":"@aardbol-actions/webpack-config","_rev":"2-293e7c1e6ae47a0dd6093c39e8bfe4d5","name":"@aardbol-actions/webpack-config","dist-tags":{"latest":"1.1.1"},"versions":{"1.1.0":{"name":"@aardbol-actions/webpack-config","version":"1.1.0","keywords":["webpack","webpack-config"],"author":{"name":"Red Hat"},"license":"MIT","_id":"@aardbol-actions/webpack-config@1.1.0","maintainers":[{"name":"aardbol","email":"l@aardbol.dev"}],"homepage":"https://github.com/aardbol/common#readme","bugs":{"url":"https://github.com/aardbol/common/issues"},"dist":{"shasum":"23ea3a0f9b4430d044b85a26d0880be5ad10835e","tarball":"https://registry.npmjs.org/@aardbol-actions/webpack-config/-/webpack-config-1.1.0.tgz","fileCount":4,"integrity":"sha512-jXZEPWoxoTOiRWgCSUYfu0iYnPzF4rHt8cbV3xwa/gnYoVfkHn9oNpucj/+KoP27paquTUnxOlnIZs9YDnWa0A==","signatures":[{"sig":"MEQCIAKoYdqOcCPC1+VEbAbDBbqvBwBVEw5MLtw1GpxNnkkeAiBHp/S8Zf8fh3jjYKXX+fI39sTaGWrZ5mFhD8VOl/E/Ng==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3459},"types":"./index.d.ts","gitHead":"c25558ce20a7640e0f6744aad13a5dce7ff517a5","_npmUser":{"name":"aardbol","email":"l@aardbol.dev"},"repository":{"url":"git+ssh://git@github.com/aardbol/common.git","type":"git"},"_npmVersion":"11.16.0","description":"Webpack config for Red Hat GitHub Actions","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"peerDependencies":{"webpack":">= 5","ts-loader":">= 8","webpack-cli":">= 4","@types/terser-webpack-plugin":">= 5"},"_npmOperationalInternal":{"tmp":"tmp/webpack-config_1.1.0_1782728678282_0.7272940938652732","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@aardbol-actions/webpack-config","version":"1.1.1","description":"Webpack config for Red Hat GitHub Actions","keywords":["webpack","webpack-config"],"repository":{"type":"git","url":"git+ssh://git@github.com/aardbol-actions/common.git"},"author":{"name":"Red Hat"},"license":"MIT","peerDependencies":{"@types/terser-webpack-plugin":">= 5","ts-loader":">= 8","webpack":">= 5","webpack-cli":">= 4"},"dependencies":{"terser-webpack-plugin":"^5.6.1"},"gitHead":"906aeeeb35f947cc4a09da3613bc90ffb6307130","types":"./index.d.ts","_id":"@aardbol-actions/webpack-config@1.1.1","bugs":{"url":"https://github.com/aardbol-actions/common/issues"},"homepage":"https://github.com/aardbol-actions/common#readme","_nodeVersion":"24.16.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-0PVEh+43FEQX0YVfve3YC3z4O0fBC1j9LozOMIkJ6T82xa/siYtpWCXbT5wtr+RL4dBD9KEdvc1cpl/BHigl2A==","shasum":"998cc02ab5cc95793af0035b76c5c8fb19e4d811","tarball":"https://registry.npmjs.org/@aardbol-actions/webpack-config/-/webpack-config-1.1.1.tgz","fileCount":4,"unpackedSize":3530,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIG+P51K3biKDd+b/Jb62n1zHgRFMKe7qvb3DP9SVMxLSAiEArETv33RGLANLDein+SV59KO30shoLgM7BPU3fxqxm78="}]},"_npmUser":{"name":"aardbol","email":"l@aardbol.dev"},"directories":{},"maintainers":[{"name":"aardbol","email":"l@aardbol.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/webpack-config_1.1.1_1782735318270_0.14455824169036213"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-29T10:24:38.081Z","modified":"2026-06-29T12:15:18.505Z","1.1.0":"2026-06-29T10:24:38.409Z","1.1.1":"2026-06-29T12:15:18.402Z"},"bugs":{"url":"https://github.com/aardbol-actions/common/issues"},"author":{"name":"Red Hat"},"license":"MIT","homepage":"https://github.com/aardbol-actions/common#readme","keywords":["webpack","webpack-config"],"repository":{"type":"git","url":"git+ssh://git@github.com/aardbol-actions/common.git"},"description":"Webpack config for Red Hat GitHub Actions","maintainers":[{"name":"aardbol","email":"l@aardbol.dev"}],"readme":"# Red Hat Actions Webpack Config\n\n[![webpack config](https://img.shields.io/npm/v/@aardbol-actions/webpack-config?label=@aardbol-actions/webpack-config)](https://npmjs.com/@aardbol-actions/webpack-config)\n\nGitHub Actions tend to use `@vercel/ncc` for bundling due to its ease of use. However, on multiple occasions I've had `ncc` stop working without any obvious way to fix it.\n\nOn those projects, I've migrated to `webpack`, so the config is stored here.\n\n# Install\n\nInstall peer dependencies:\n```sh\nnpm i -D webpack webpack-cli ts-loader @types/terser-webpack-plugin\n```\n\nInstall the config:\n```sh\nnpm i -D @aardbol-actions/webpack-config\n```\n\nCreate `webpack.config.js` with the following content:\n\n```js\n//@ts-check\n\nmodule.exports = require(\"@aardbol-actions/webpack-config\")(__dirname);\n```\n\nIf you need to modify/override the config, you can set `module.exports` to a function instead, modify the `require`'d config as necessary, and return the config.\n","readmeFilename":"README.md"}