{"_id":"@rails/webpacker","_rev":"115-f926024b216b195c8711bb2d6fc93545","name":"@rails/webpacker","dist-tags":{"next":"6.0.0-rc.6","latest":"5.4.4"},"versions":{"3.0.0-beta.0":{"name":"@rails/webpacker","version":"3.0.0-beta.0","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.0.0-beta.0","maintainers":[{"name":"javan","email":"javan@javan.us"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"d4d8bd2acec0cd4b69a841ef0d8b235a9b3898dd","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.0.0-beta.0.tgz","integrity":"sha512-vm+DJZ/g/S2rG1Qe4e2UMi/bKVIODPzqt8qyoz0K1emJetJA+dkNqJu81zcrz0W2MbkOq8mlvIKw9DXm5/bllg==","signatures":[{"sig":"MEYCIQDecVfiTfUEO9qcr35bd4WEfWScVkN0bP5df5c/by7HYQIhAK5oWYf+yI5QhS2Is6Jb5754dffE4rc66CvjIDePZ+Mp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"package/index.js","files":["package"],"engines":{"node":">= 6.0.0"},"gitHead":"50aaf772a50e589f7ddf4917a3dcd22e42ee3adc","scripts":{"lint":"eslint {package,lib}/","test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"javan","email":"javan@javan.us"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"5.3.0","description":"Webpacker makes it easy to use the JavaScript preprocessor and bundler [Webpack](https://webpack.github.io) to manage application-like JavaScript in Rails. It coexists with the asset pipeline, as the purpose is only to use Webpack for app-like JavaScript,","directories":{},"_nodeVersion":"8.4.0","dependencies":{"glob":"^7.1.2","js-yaml":"^3.9.1","webpack":"^3.5.5","node-sass":"^4.5.3","babel-core":"^6.26.0","css-loader":"^0.28.5","file-loader":"^0.11.2","sass-loader":"^6.0.6","babel-loader":"^7.1.2","style-loader":"^0.18.2","coffee-loader":"^0.8.0","coffee-script":"^1.12.7","babel-polyfill":"^6.26.0","postcss-loader":"^2.0.6","postcss-cssnext":"^3.0.2","babel-preset-env":"^1.6.0","rails-erb-loader":"^5.2.1","resolve-url-loader":"^2.1.0","postcss-smart-import":"^0.7.5","path-complete-extname":"^0.1.0","webpack-manifest-plugin":"^1.3.1","compression-webpack-plugin":"^1.0.0","extract-text-webpack-plugin":"^3.0.0","babel-plugin-syntax-dynamic-import":"^6.18.0","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"devDependencies":{"eslint":"^3.16.1","eslint-plugin-react":"^6.10.0","eslint-config-airbnb":"^14.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/webpacker-3.0.0-beta.0.tgz_1504101401510_0.8445974714122713","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@rails/webpacker","version":"3.0.0","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.0.0","maintainers":[{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"27b52c8b411e131963cf1f476e3cd1fd11b644cd","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.0.0.tgz","integrity":"sha512-+Sk73tmek6yQtu5Lln+LQIzbJesTCGn+xeZDL+F1BZfzxVoiuO/T0XXmECd6IBwV024t63YuBSQnFzYot8y80A==","signatures":[{"sig":"MEUCIGyDVCqzjHGRxOodFpYpasaotQ9F8r9SOazh+dGSh9IwAiEA2vKoyXZmNzALdent3XBavELwSJ1lPmxDm06AAhFs86o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"package/index.js","files":["package"],"engines":{"node":">= 6.0.0"},"gitHead":"7cc9040b6c3232f8c92b007bbc6fbbd22a0312d3","scripts":{"lint":"eslint {package,lib}/","test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"javan","email":"javan@javan.us"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"5.3.0","description":"Use Webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.4.0","dependencies":{"glob":"^7.1.2","js-yaml":"^3.9.1","webpack":"^3.5.5","node-sass":"^4.5.3","babel-core":"^6.26.0","css-loader":"^0.28.5","file-loader":"^0.11.2","sass-loader":"^6.0.6","babel-loader":"^7.1.2","style-loader":"^0.18.2","coffee-loader":"^0.8.0","coffee-script":"^1.12.7","babel-polyfill":"^6.26.0","postcss-loader":"^2.0.6","postcss-cssnext":"^3.0.2","babel-preset-env":"^1.6.0","rails-erb-loader":"^5.2.1","resolve-url-loader":"^2.1.0","postcss-smart-import":"^0.7.5","path-complete-extname":"^0.1.0","webpack-manifest-plugin":"^1.3.1","compression-webpack-plugin":"^1.0.0","extract-text-webpack-plugin":"^3.0.0","babel-plugin-syntax-dynamic-import":"^6.18.0","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"devDependencies":{"eslint":"^3.16.1","eslint-plugin-react":"^6.10.0","eslint-config-airbnb":"^14.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/webpacker-3.0.0.tgz_1504122629043_0.7193853834178299","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"@rails/webpacker","version":"3.0.1","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.0.1","maintainers":[{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"54da0c2a0d2b7c482cd4eb2eca73beb28150c45d","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.0.1.tgz","integrity":"sha512-w25HPt/m1qD4buj4sXDspEPCys2yaJWpKTPnm+n3MAfGesccwoivQ8LlmGYa15KVFxxLSscUs1gJQ3Oa+wy8KQ==","signatures":[{"sig":"MEUCICXLeeqwpihpii11X1+zmRXSm6u7Bz20rCm4qYbIuLVDAiEA9oaOiconRSvGtzwbJRiV7sNX2OdGCQ1KQR0i21Tph7w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"package/index.js","files":["package"],"engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"fb8dd8c09ccc9d93ef3e084838e6e0f0683aaeb0","scripts":{"lint":"eslint {package,lib}/","test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"javan","email":"javan@javan.us"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"5.3.0","description":"Use Webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.4.0","dependencies":{"glob":"^7.1.2","js-yaml":"^3.9.1","webpack":"^3.5.5","node-sass":"^4.5.3","babel-core":"^6.26.0","css-loader":"^0.28.5","file-loader":"^0.11.2","sass-loader":"^6.0.6","babel-loader":"^7.1.2","coffeescript":"^1.12.7","style-loader":"^0.18.2","coffee-loader":"^0.8.0","babel-polyfill":"^6.26.0","postcss-loader":"^2.0.6","postcss-cssnext":"^3.0.2","babel-preset-env":"^1.6.0","rails-erb-loader":"^5.2.1","resolve-url-loader":"^2.1.0","postcss-smart-import":"^0.7.5","path-complete-extname":"^0.1.0","webpack-manifest-plugin":"^1.3.1","compression-webpack-plugin":"^1.0.0","extract-text-webpack-plugin":"^3.0.0","babel-plugin-syntax-dynamic-import":"^6.18.0","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"devDependencies":{"eslint":"^3.16.1","eslint-plugin-react":"^6.10.0","eslint-config-airbnb":"^14.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/webpacker-3.0.1.tgz_1504286601294_0.06377887120470405","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"@rails/webpacker","version":"3.0.2","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.0.2","maintainers":[{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"574b021c1f3d700b40a934576c9bdac5c9f9c744","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.0.2.tgz","integrity":"sha512-nSKZoRoHFJEaAijmIKOOnRx1VYOVOld3tZIda7pPL0hoqTfPGF1eUv6daW3eHIDZDi+HrJzoVMGqZpXNnsSl3Q==","signatures":[{"sig":"MEUCICJ6x79Vw17HAzpHlfomUdhPaMuoku2GO/I1blIPtxqYAiEAt3i2k2O+j91EFvCwMXpZDP2L2pZSACO985JUEmKLnAY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"package/index.js","_from":".","files":["package"],"_shasum":"574b021c1f3d700b40a934576c9bdac5c9f9c744","engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"b160e6bbcb95135aca0b21250a3fd6f25e71ca9e","scripts":{"lint":"eslint {package,lib}/","test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"javan","email":"javan@javan.us"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"4.0.5","description":"Use Webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"7.4.0","dependencies":{"glob":"^7.1.2","js-yaml":"^3.9.1","webpack":"^3.5.5","node-sass":"^4.5.3","babel-core":"^6.26.0","css-loader":"^0.28.5","file-loader":"^0.11.2","sass-loader":"^6.0.6","babel-loader":"^7.1.2","style-loader":"^0.18.2","coffee-loader":"^0.8.0","babel-polyfill":"^6.26.0","postcss-loader":"^2.0.6","postcss-cssnext":"^3.0.2","babel-preset-env":"^1.6.0","rails-erb-loader":"^5.2.1","resolve-url-loader":"^2.1.0","postcss-smart-import":"^0.7.5","path-complete-extname":"^0.1.0","webpack-manifest-plugin":"^1.3.1","compression-webpack-plugin":"^1.0.0","extract-text-webpack-plugin":"^3.0.0","babel-plugin-syntax-dynamic-import":"^6.18.0","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"devDependencies":{"eslint":"^3.16.1","eslint-plugin-react":"^6.10.0","eslint-config-airbnb":"^14.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^4.0.0"},"peerDependencies":{"coffeescript":">= 1.12.7 || >= 2.x"},"_npmOperationalInternal":{"tmp":"tmp/webpacker-3.0.2.tgz_1507130928456_0.5732799009419978","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"@rails/webpacker","version":"3.1.0","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.1.0","maintainers":[{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"902013be6402a34d980a7053ffd67833aa5f32dc","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.1.0.tgz","integrity":"sha512-ssfjcSEiLXjtAH85bljZSoKO+FKGQyP8jwhl9lk7ZeROVUZqdVu6CY6t/dyYs8aI7dwmpizL21ma251yeR4dNA==","signatures":[{"sig":"MEYCIQCJ0kPyxmYcRf+3JlepdDvGU4Z8jG18OhwdKSSFRQN5lAIhAMw2LqcrmaPvjHZQ/gkU9xleacnUoQDr7BJq0GHIKZxd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","files":["package"],"engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"83f0a50c6e8a8e866c06b45a8b57b7fbde319a71","scripts":{"lint":"eslint {package,lib}/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"5.5.1","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"9.2.0","dependencies":{"glob":"^7.1.2","js-yaml":"^3.10.0","webpack":"^3.8.1","node-sass":"^4.7.2","babel-core":"^6.26.0","css-loader":"^0.28.7","url-loader":"^0.6.2","file-loader":"^1.1.5","sass-loader":"^6.0.6","babel-loader":"^7.1.2","style-loader":"^0.19.0","coffee-loader":"^0.9.0","babel-polyfill":"^6.26.0","postcss-loader":"^2.0.9","postcss-cssnext":"^3.0.2","babel-preset-env":"^1.6.1","rails-erb-loader":"^5.2.1","postcss-smart-import":"^0.7.5","path-complete-extname":"^0.1.0","webpack-manifest-plugin":"^1.3.2","compression-webpack-plugin":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","babel-plugin-syntax-dynamic-import":"^6.18.0","case-sensitive-paths-webpack-plugin":"^2.1.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"devDependencies":{"jest":"^21.2.1","eslint":"^4.11.0","eslint-plugin-react":"^7.5.1","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2"},"peerDependencies":{"coffeescript":">= 1.12.7 || >= 2.x"},"_npmOperationalInternal":{"tmp":"tmp/webpacker-3.1.0.tgz_1512993307360_0.5737655393313617","host":"s3://npm-registry-packages"}},"3.1.1":{"name":"@rails/webpacker","version":"3.1.1","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.1.1","maintainers":[{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"040766f1c130a0e71d9d84cf95b0eea32c76bfd3","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.1.1.tgz","integrity":"sha512-DQM1pR6bsuQMtzYbEMHh5Kl1MYgar7m9fFcAmifwcF+2LAAJvcfSV/2NtwEYqUP2BtzJNLCZkWdvCUcs+oYxuw==","signatures":[{"sig":"MEUCIQDd8B9tOV3sgTgAAL9CmFP9iY8FtwgT1LSPWaG+kblnlAIgAssi5kiEM+EcwdKxaOAvTXqJ26jTJsNFlhxMzDUuou8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","files":["package","lib/install/config/webpacker.yml"],"engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"48454416f42b89d51a68a0a7e89093c4e51cec21","scripts":{"lint":"eslint {package,lib}/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"5.5.1","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"9.2.0","dependencies":{"glob":"^7.1.2","js-yaml":"^3.10.0","webpack":"^3.8.1","node-sass":"^4.7.2","babel-core":"^6.26.0","css-loader":"^0.28.7","url-loader":"^0.6.2","file-loader":"^1.1.5","sass-loader":"^6.0.6","babel-loader":"^7.1.2","style-loader":"^0.19.0","coffee-loader":"^0.9.0","babel-polyfill":"^6.26.0","postcss-loader":"^2.0.9","postcss-cssnext":"^3.0.2","babel-preset-env":"^1.6.1","rails-erb-loader":"^5.2.1","postcss-smart-import":"^0.7.5","path-complete-extname":"^0.1.0","webpack-manifest-plugin":"^1.3.2","compression-webpack-plugin":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","babel-plugin-syntax-dynamic-import":"^6.18.0","case-sensitive-paths-webpack-plugin":"^2.1.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"devDependencies":{"jest":"^21.2.1","eslint":"^4.11.0","eslint-plugin-react":"^7.5.1","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2"},"peerDependencies":{"coffeescript":">= 1.12.7 || >= 2.x"},"_npmOperationalInternal":{"tmp":"tmp/webpacker-3.1.1.tgz_1512994480327_0.5124870701692998","host":"s3://npm-registry-packages"}},"3.2.0":{"name":"@rails/webpacker","version":"3.2.0","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.2.0","maintainers":[{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"e9e98a4da4a3e09441c71d2cbd66461659971055","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.2.0.tgz","integrity":"sha512-SeeKl54LQs1YjwUlHr3I/Nz9OEludpVWe/dBXo1qJpFGs+99KsRE8flDlQ+B/YLJaF7n9W22PGRnbLS4TGsMiw==","signatures":[{"sig":"MEUCIBmcricsj8QA/1+/vmnAKGA/cVrOQZPyesm9WZ5vznOXAiEA8SidzHGIB59hCZkRjgrkFWGz77sgIevuj+gchcc5icA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","files":["package","lib/install/config/webpacker.yml"],"engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"4f65c5ee58666bbe58b234c48d47ec7d48fab4d8","scripts":{"lint":"eslint {package,lib}/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"5.6.0","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"9.2.0","dependencies":{"glob":"^7.1.2","js-yaml":"^3.10.0","webpack":"^3.10.0","node-sass":"^4.7.2","babel-core":"^6.26.0","css-loader":"^0.28.7","file-loader":"^1.1.5","sass-loader":"^6.0.6","babel-loader":"^7.1.2","style-loader":"^0.19.0","babel-polyfill":"^6.26.0","postcss-import":"^11.0.0","postcss-loader":"^2.0.9","postcss-cssnext":"^3.0.2","babel-preset-env":"^1.6.1","path-complete-extname":"^0.1.0","webpack-manifest-plugin":"^1.3.2","compression-webpack-plugin":"^1.0.1","extract-text-webpack-plugin":"^3.0.2","babel-plugin-syntax-dynamic-import":"^6.18.0","case-sensitive-paths-webpack-plugin":"^2.1.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"devDependencies":{"jest":"^21.2.1","eslint":"^4.13.0","eslint-plugin-react":"^7.5.1","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2"},"_npmOperationalInternal":{"tmp":"tmp/webpacker-3.2.0.tgz_1513429825456_0.22896982007659972","host":"s3://npm-registry-packages"}},"3.2.1":{"name":"@rails/webpacker","version":"3.2.1","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.2.1","maintainers":[{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"da7331106b93b2818c3595627c88c5c037fff3c8","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.2.1.tgz","integrity":"sha512-dCbV37GtpiPzx8OTfq0ovBgpw3itvW0HYIAi5C2k79QDy31xvUlQFZPK+W8EhOQLciestBquXY3UZj5gB80Gug==","signatures":[{"sig":"MEUCIHnPmLP4lf2V8ZkRPJ/WVGnZ4Rmb+WUfxKj3Xn195P/WAiEA5PIC0UmRQ6tgL3k4aonYRH9Ctdq87l9n9CDeZmhK/Vw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","files":["package","lib/install/config/webpacker.yml"],"engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"8a56406bfa2d5cfe1426cb2987c3abf0f110ca8f","scripts":{"lint":"eslint {package,lib}/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"5.6.0","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"9.2.0","dependencies":{"glob":"^7.1.2","js-yaml":"^3.10.0","webpack":"^3.10.0","node-sass":"^4.7.2","babel-core":"^6.26.0","css-loader":"^0.28.8","file-loader":"^1.1.6","sass-loader":"^6.0.6","babel-loader":"^7.1.2","style-loader":"^0.19.1","babel-polyfill":"^6.26.0","postcss-import":"^11.0.0","postcss-loader":"^2.0.10","postcss-cssnext":"^3.0.2","babel-preset-env":"^1.6.1","path-complete-extname":"^0.1.0","uglifyjs-webpack-plugin":"^1.1.6","webpack-manifest-plugin":"^1.3.2","compression-webpack-plugin":"^1.1.3","extract-text-webpack-plugin":"^3.0.2","babel-plugin-syntax-dynamic-import":"^6.18.0","case-sensitive-paths-webpack-plugin":"^2.1.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"devDependencies":{"jest":"^22.0.6","eslint":"^4.15.0","eslint-plugin-react":"^7.5.1","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker-3.2.1.tgz_1516557930098_0.7384484012145549","host":"s3://npm-registry-packages"}},"3.2.2":{"name":"@rails/webpacker","version":"3.2.2","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.2.2","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"6d60e1cf729dc2ccc52053c9b6b8d30c9a48a297","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.2.2.tgz","fileCount":29,"integrity":"sha512-MknVPPEMlya1dT3h2ZCcdNMNCSHzaWSXGtcmYx1tX229JWEtriYaXg2WZCkVw2En+nVE91TWdkfrX4/lyKpoEQ==","signatures":[{"sig":"MEQCICe8Ar9XFo8Y/hkbSTQK+baxvhklT4SvelNbXOO59mDZAiBwFAckW/o5F5Rn0xRy6bUgKTpiVrcgk3xL4bZKfuhqTQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58803},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","files":["package","lib/install/config/webpacker.yml"],"engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"523285908bfd630000084c017069926928f6292c","scripts":{"lint":"eslint {package,lib}/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"5.6.0","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.9.4","dependencies":{"glob":"^7.1.2","js-yaml":"^3.10.0","webpack":"^3.10.0","node-sass":"^4.7.2","babel-core":"^6.26.0","css-loader":"^0.28.9","file-loader":"^1.1.6","sass-loader":"^6.0.6","babel-loader":"^7.1.2","style-loader":"^0.20.1","babel-polyfill":"^6.26.0","postcss-import":"^11.0.0","postcss-loader":"^2.1.0","postcss-cssnext":"^3.1.0","babel-preset-env":"^1.6.1","path-complete-extname":"^0.1.0","uglifyjs-webpack-plugin":"^1.1.8","webpack-manifest-plugin":"^1.3.2","compression-webpack-plugin":"^1.1.6","extract-text-webpack-plugin":"^3.0.2","babel-plugin-syntax-dynamic-import":"^6.18.0","case-sensitive-paths-webpack-plugin":"^2.1.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.2.1","eslint":"^4.17.0","eslint-plugin-react":"^7.6.1","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_3.2.2_1518381708108_0.07267690153147965","host":"s3://npm-registry-packages"}},"3.3.0":{"name":"@rails/webpacker","version":"3.3.0","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.3.0","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"4ce1e67d57e615dfacde33d2b27fbd46a2111cba","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.3.0.tgz","fileCount":38,"integrity":"sha512-4jg9xzqPmb9HQ220Gqcp0AI3/fuhEYPvZNe/IcLKQISUKp0nUW8tvmKsCHDP829X7UCP56zGpIsEPJLpATL8yQ==","signatures":[{"sig":"MEUCIQCh9TNXJ+PRXXuM0teKy7CO/1f51CO3Fx/jak9oL4+YrwIgUv4BSwIEPDY+M8av/hBO9lIULeJ1eGKzwbE0lgpXiGE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64328},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","files":["package","lib/install/config/webpacker.yml"],"engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"18ee56cbb7a5c37b8eeb600d6842819d0d347c75","scripts":{"lint":"eslint {package,lib}/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"5.6.0","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.9.4","dependencies":{"glob":"^7.1.2","js-yaml":"^3.10.0","webpack":"^3.10.0","node-sass":"^4.7.2","babel-core":"^6.26.0","css-loader":"^0.28.9","file-loader":"^1.1.6","sass-loader":"^6.0.6","babel-loader":"^7.1.2","style-loader":"^0.20.1","babel-polyfill":"^6.26.0","postcss-import":"^11.0.0","postcss-loader":"^2.1.0","postcss-cssnext":"^3.1.0","babel-preset-env":"^1.6.1","path-complete-extname":"^0.1.0","uglifyjs-webpack-plugin":"^1.1.8","webpack-manifest-plugin":"^1.3.2","compression-webpack-plugin":"^1.1.10","extract-text-webpack-plugin":"^3.0.2","babel-plugin-syntax-dynamic-import":"^6.18.0","case-sensitive-paths-webpack-plugin":"^2.1.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.2.1","eslint":"^4.17.0","eslint-plugin-react":"^7.6.1","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_3.3.0_1520098123271_0.23235473993581546","host":"s3://npm-registry-packages"}},"3.3.1":{"name":"@rails/webpacker","version":"3.3.1","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.3.1","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"cc327dbdd5380c75468e769b52ea09b6616b4529","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.3.1.tgz","fileCount":38,"integrity":"sha512-P5vBSxQkmBcOdIO+AhDWwmgI+5j823JNTg7ZnoR+6erTVa7LHguaBGgRtP62csthNYMeJubAd0kDjVSdQ5Ezuw==","signatures":[{"sig":"MEQCIEWNhugA01nWjhsQQNb6IYAmw88EFLFlNILUVRtekDiBAiBZkUBhK5QgcgwrGiaMuUMpC4+HyXCKGM9reOzQYncOEQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64752},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","files":["package","lib/install/config/webpacker.yml"],"engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"0a7778a87b4bb94780aed0fabfa675031d6993bf","scripts":{"lint":"eslint {package,lib}/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"5.7.1","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.9.4","dependencies":{"glob":"^7.1.2","js-yaml":"^3.10.0","webpack":"^3.10.0","node-sass":"^4.7.2","babel-core":"^6.26.0","css-loader":"^0.28.9","file-loader":"^1.1.6","sass-loader":"^6.0.6","babel-loader":"^7.1.2","style-loader":"^0.20.1","babel-polyfill":"^6.26.0","postcss-import":"^11.0.0","postcss-loader":"^2.1.0","postcss-cssnext":"^3.1.0","babel-preset-env":"^1.6.1","path-complete-extname":"^1.0.0","uglifyjs-webpack-plugin":"^1.1.8","webpack-manifest-plugin":"^1.3.2","compression-webpack-plugin":"^1.1.10","extract-text-webpack-plugin":"^3.0.2","babel-plugin-syntax-dynamic-import":"^6.18.0","case-sensitive-paths-webpack-plugin":"^2.1.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.2.1","eslint":"^4.17.0","eslint-plugin-react":"^7.6.1","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_3.3.1_1520898630544_0.30702673941158753","host":"s3://npm-registry-packages"}},"3.4.0":{"name":"@rails/webpacker","version":"3.4.0","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.4.0","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"839055f2df777f4bd9ce94c7787a65ac1028ef58","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.4.0.tgz","fileCount":41,"integrity":"sha512-ICEmoBR+5ZYWPXsjWSlIWZr++rHsI+Xe4+hePOBV7kMzQGKp5gZj5EV4qYw0Cqofc6QCIv0CWlSvkO60QickbQ==","signatures":[{"sig":"MEYCIQDbZ/MIiThfkGfbrGsbBg/g2szZF0hVbe8iOmOTTBiHJgIhANG9PBvaQdaI2pzKVA3P9iwlSCYtjF5g8loCBkvtsbjQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69512},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","files":["package","lib/install/config/webpacker.yml"],"engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"d418bcff71a920b6e3e9968dbb863751fc329e13","scripts":{"lint":"eslint {package,lib}/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"5.7.1","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.9.4","dependencies":{"glob":"^7.1.2","js-yaml":"^3.10.0","webpack":"^3.10.0","node-sass":"^4.7.2","babel-core":"^6.26.0","css-loader":"^0.28.9","file-loader":"^1.1.6","sass-loader":"^6.0.6","babel-loader":"^7.1.2","style-loader":"^0.20.1","babel-polyfill":"^6.26.0","postcss-import":"^11.0.0","postcss-loader":"^2.1.0","postcss-cssnext":"^3.1.0","babel-preset-env":"^1.6.1","path-complete-extname":"^1.0.0","uglifyjs-webpack-plugin":"^1.1.8","webpack-manifest-plugin":"^1.3.2","compression-webpack-plugin":"^1.1.10","extract-text-webpack-plugin":"^3.0.2","babel-plugin-syntax-dynamic-import":"^6.18.0","case-sensitive-paths-webpack-plugin":"^2.1.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.2.1","eslint":"^4.17.0","eslint-plugin-react":"^7.6.1","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_3.4.0_1521824382959_0.7179151790062572","host":"s3://npm-registry-packages"}},"3.4.1":{"name":"@rails/webpacker","version":"3.4.1","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.4.1","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"10859330fa3fc9c7f4be637dd30cb009fef4513c","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.4.1.tgz","fileCount":41,"integrity":"sha512-kmOZ26AOGxcXDEsr3lKx0sQt5wj52q15lE9HRptqcD+p0nZaR1quwPI3p25y07ma2hKIoyxmEwgzOQvs2eMecg==","signatures":[{"sig":"MEUCIQD+73d0muYlc7NuLlBpsl3XW6ZaI9pYiSfbYvIOW0y+tQIgcr8pu7fWCmplU09HUH1gspDJECHrwlmEQzD5eI/BtXI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69674},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","files":["package","lib/install/config/webpacker.yml"],"engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"c57e97018b28046ada1cef515c5bde924b9f27e2","scripts":{"lint":"eslint {package,lib}/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"5.7.1","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.9.4","dependencies":{"glob":"^7.1.2","js-yaml":"^3.10.0","webpack":"^3.10.0","node-sass":"^4.7.2","babel-core":"^6.26.0","css-loader":"^0.28.9","file-loader":"^1.1.6","sass-loader":"^6.0.6","babel-loader":"^7.1.2","style-loader":"^0.20.1","babel-polyfill":"^6.26.0","postcss-import":"^11.0.0","postcss-loader":"^2.1.0","postcss-cssnext":"^3.1.0","babel-preset-env":"^1.6.1","path-complete-extname":"^1.0.0","uglifyjs-webpack-plugin":"^1.1.8","webpack-manifest-plugin":"^1.3.2","compression-webpack-plugin":"^1.1.10","extract-text-webpack-plugin":"^3.0.2","babel-plugin-syntax-dynamic-import":"^6.18.0","case-sensitive-paths-webpack-plugin":"^2.1.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.2.1","eslint":"^4.17.0","eslint-plugin-react":"^7.6.1","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_3.4.1_1521900531882_0.8246601043286994","host":"s3://npm-registry-packages"}},"4.0.0-pre.1":{"name":"@rails/webpacker","version":"4.0.0-pre.1","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.0.0-pre.1","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"03a1903959a3ee46f0ff0e7e4d92bdae023067f6","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.0.0-pre.1.tgz","fileCount":41,"integrity":"sha512-9snWGzAEYqH4wrBkuFoz4pZF/AWTFJsWz8yp24PluEneh1LRznq0QAQ09QW2cBumXIeYeJX2+S8Q0RgEWOv+Uw==","signatures":[{"sig":"MEUCIE0zM8mg41ktqXgiCbwMC2fY9eUufgdqKIus47FXLwTIAiEAkbzedYWJfoslG6zVQuYTtb7KV4OgpGGW2JWWXld4A8I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69921},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","files":["package","lib/install/config/webpacker.yml"],"engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"0bfb986831ba6a1019ca310f18dff1dd8364c166","scripts":{"lint":"eslint {package,lib}/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"5.7.1","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.9.4","dependencies":{"glob":"^7.1.2","js-yaml":"^3.11.0","webpack":"^4.4.1","node-sass":"^4.8.3","babel-core":"^6.26.0","css-loader":"^0.28.11","file-loader":"^1.1.11","sass-loader":"^6.0.7","webpack-cli":"^2.0.13","babel-loader":"^7.1.3","style-loader":"^0.20.3","babel-polyfill":"^6.26.0","postcss-import":"^11.1.0","postcss-loader":"^2.1.3","postcss-cssnext":"^3.1.0","babel-preset-env":"^1.6.1","path-complete-extname":"^1.0.0","mini-css-extract-plugin":"^0.4.0","uglifyjs-webpack-plugin":"^1.2.4","webpack-assets-manifest":"^3.0.1","compression-webpack-plugin":"^1.1.11","babel-plugin-syntax-dynamic-import":"^6.18.0","case-sensitive-paths-webpack-plugin":"^2.1.2","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.4.2","eslint":"^4.18.2","eslint-plugin-react":"^7.7.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.9.0","eslint-plugin-jsx-a11y":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.0.0-pre.1_1522707028092_0.6778658423911745","host":"s3://npm-registry-packages"}},"4.0.0-pre.2":{"name":"@rails/webpacker","version":"4.0.0-pre.2","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.0.0-pre.2","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"66be9b5eac9e5f54030de4dde93820a626e70657","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.0.0-pre.2.tgz","fileCount":41,"integrity":"sha512-F4N43nPm5Mq+6Ff+S4z3XGCHBiYSMSBVM6744/wZ7sKDVIzXKT+Vo7FTftCUZrhVZxwrrhhEInWPrEwTefAuRg==","signatures":[{"sig":"MEUCIQC4ywN9x1feFaC8AV8d7qudJakpqo3Vn0sAId0SD6Zh5AIgCrdA1MbA7tifusULmS4WR0HlicqyIlfHV6T1DuBvpT0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":70156},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","files":["package","lib/install/config/webpacker.yml"],"engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"2dd68f0273074aadb3f869c4c30369d5e4e3fea7","scripts":{"lint":"eslint {package,lib}/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"5.7.1","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.9.4","dependencies":{"glob":"^7.1.2","js-yaml":"^3.11.0","webpack":"^4.4.1","node-sass":"^4.8.3","babel-core":"^6.26.0","css-loader":"^0.28.11","file-loader":"^1.1.11","sass-loader":"^6.0.7","webpack-cli":"^2.0.13","babel-loader":"^7.1.3","style-loader":"^0.20.3","babel-polyfill":"^6.26.0","postcss-import":"^11.1.0","postcss-loader":"^2.1.3","postcss-cssnext":"^3.1.0","babel-preset-env":"^1.6.1","path-complete-extname":"^1.0.0","mini-css-extract-plugin":"^0.4.0","uglifyjs-webpack-plugin":"^1.2.4","webpack-assets-manifest":"^3.0.1","compression-webpack-plugin":"^1.1.11","babel-plugin-syntax-dynamic-import":"^6.18.0","case-sensitive-paths-webpack-plugin":"^2.1.2","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.4.2","eslint":"^4.18.2","eslint-plugin-react":"^7.7.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.9.0","eslint-plugin-jsx-a11y":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.0.0-pre.2_1522708315838_0.812521891298666","host":"s3://npm-registry-packages"}},"3.4.3":{"name":"@rails/webpacker","version":"3.4.3","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.4.3","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"496a5d49bea8856db20b212d2727a4b43b281dd9","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.4.3.tgz","fileCount":41,"integrity":"sha512-laFXURYDbms082tgSjQBNB6AfdiPi/qOngTf2Iopv+T676GzKT7YaA3fBUg9r7WPOhY3ttNvt22b4fuddhFoZg==","signatures":[{"sig":"MEYCIQDHc2IQMoejeTmc3md+kILUSTYTgVTyjZpE0wLp4/PNMgIhANS9QDH70zkYU8QWOzU3P2CknpVZylxAmd5NDn7vreGv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69805},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","files":["package","lib/install/config/webpacker.yml"],"engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"2a7cd04150ee9d477d70e7b60120b200e30dd1d6","scripts":{"lint":"eslint {package,lib}/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"5.7.1","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.9.4","dependencies":{"glob":"^7.1.2","js-yaml":"^3.10.0","webpack":"^3.10.0","node-sass":"^4.7.2","babel-core":"^6.26.0","css-loader":"^0.28.9","file-loader":"^1.1.6","sass-loader":"^6.0.6","babel-loader":"^7.1.2","style-loader":"^0.20.1","babel-polyfill":"^6.26.0","postcss-import":"^11.0.0","postcss-loader":"^2.1.0","postcss-cssnext":"^3.1.0","babel-preset-env":"^1.6.1","path-complete-extname":"^1.0.0","uglifyjs-webpack-plugin":"^1.1.8","webpack-manifest-plugin":"^1.3.2","compression-webpack-plugin":"^1.1.10","extract-text-webpack-plugin":"^3.0.2","babel-plugin-syntax-dynamic-import":"^6.18.0","case-sensitive-paths-webpack-plugin":"^2.1.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.2.1","eslint":"^4.17.0","eslint-plugin-react":"^7.6.1","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_3.4.3_1522757773856_0.6664968472977091","host":"s3://npm-registry-packages"}},"3.5.0":{"name":"@rails/webpacker","version":"3.5.0","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.5.0","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"0cd3d8e6c66f0f0ef0c67ebe0d4d111a7acb4a44","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.5.0.tgz","fileCount":41,"integrity":"sha512-n+i7JoLOmf2cO393UBqVnGG6O47dGnC2Iw7JlGTBhG+pDE/eeZ/jmOUt5w60jpAFny3drQzh2z6bNw9ID4Bzqg==","signatures":[{"sig":"MEUCIDECqywFp8oddD6oIwPlHNC5Jvooe0JuLEexnq4N9xI7AiEArVd2xEunbDiOE65FoPl6fRJQJ9WiYDr9VNp4aQrTU3Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71532,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa5hSyCRA9TVsSAnZWagAAMN0P/18LWwWIAh9pPQznqD+Y\noD5wKgtTfPND0GlWSLHonEJJROBOqh1l2DubcmM4jIdIcMW0di5wDj7C4NJK\nxnE+S+AX3heIterTdzgoPAh1Z/tDU0rO7vxYEqUVWeVzPM8h1TCrFfHTmw7g\npIZOQ8qWuX+gw9i+0Ovx1vg0LwTSGOPNe5Iyg2gXQG/emUkwLBzF3/5vKkum\naGrksV1e/PkB5fD2Dir5SfvRDQ9oSQdCjf7CfgZzEBlCeNkZiZWfYqAuM7Ub\nMWTaPepeFtBX/Xw74phGDxqCRyGl1nKHlZyaAmw/kA9vegiUhaN/tvaWummi\nSKCs4o0rJ9C+d/D8hkCsCEOIDSl5KwX+fw0z9Myc0X3Es1ppa2hoygj2tQ1s\n84QE+Jlm11G1H95iyp324A9U1STgPudw9bUnbuhS+SSIBO0/HtQTJ8nTeZxE\nzyaTL8KEeNA/Fjl8nM6SlvTOjU64N3tA5n0Erbs5sieyz7dXlnuA0MSNF617\n4ktZfvhqTtbqKYIYaUnSZ6hns0+oZuCxfLtEu9yptIB7xcOXHpMu4KZ7jOVI\nWiit1P/c1jAD4d6gh/QHekB6cIaphsY6taEiDBmGQ6m00Z/M6Ax6LFPdEBxK\npUwzy5jKhU8cpuRdT3PJ6IxcnSTGWKSlgxRgBTTSyp+7EkfLTETdibpEMQ8X\nqaSv\r\n=PB0I\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","files":["package","lib/install/config/webpacker.yml"],"engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"647041db366f28d4864dffb3f1ca169a5c443e24","scripts":{"lint":"eslint {package,lib}/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"5.7.1","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.9.4","dependencies":{"glob":"^7.1.2","js-yaml":"^3.10.0","webpack":"^3.10.0","node-sass":"^4.7.2","babel-core":"^6.26.0","css-loader":"^0.28.9","file-loader":"^1.1.6","sass-loader":"^6.0.6","babel-loader":"^7.1.2","style-loader":"^0.20.1","babel-polyfill":"^6.26.0","postcss-import":"^11.0.0","postcss-loader":"^2.1.0","postcss-cssnext":"^3.1.0","babel-preset-env":"^1.6.1","path-complete-extname":"^1.0.0","uglifyjs-webpack-plugin":"^1.1.8","webpack-manifest-plugin":"^1.3.2","compression-webpack-plugin":"^1.1.10","extract-text-webpack-plugin":"^3.0.2","babel-plugin-syntax-dynamic-import":"^6.18.0","case-sensitive-paths-webpack-plugin":"^2.1.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.2.1","eslint":"^4.17.0","eslint-plugin-react":"^7.6.1","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_3.5.0_1525028017406_0.5428745335974408","host":"s3://npm-registry-packages"}},"3.5.1":{"name":"@rails/webpacker","version":"3.5.1","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.5.1","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"50ca43bc90607c313e7e989e2a5ca061f0640a8e","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.5.1.tgz","fileCount":41,"integrity":"sha512-BgwZSnUaLivWO+XvxG0pwgGM97KAnUOPLdquZohOzPjV0Pgv4G90PZqsdhIbbF0uqQWe6f7OBDFnAX4IWp3/Vw==","signatures":[{"sig":"MEYCIQC7zJJY5S31tJMpR10ar2cZKGQCTF/TbZnTMtzMyRSpPAIhAOCNi/u/OwIVk0Z7z0J0Jpf1ljIXaNVA4rzWgRzS4ylL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71584,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa5jBiCRA9TVsSAnZWagAAQH0P+QHwvpXl2Uc/aYN+P+MA\n2n8uWEyD36HG9//je5U0ttGRn/xVXO/dJZgy8Fq1Hkuf0mJ+11vEWhaGQCR6\nmAjacHSlttQxBRs0xRCfP8cjhC/rvJuRzzc4Sixr3WR/i9YCCLNZZn2ZZVMw\nYMJDgNfCIag6mAnIPuQlYHBY5hkxXC9chNShMQkw2IbztwesRfy3D1ead1xG\nIe5c163paAZPS8BrcsfYDkwbG6xG9XIZfLaknHfvuoVKJf0yeKcm7MAOm+Xy\n98IJtuc8dTnfYEwClMLcaUgH2qCvhbotA6P0PcWe8eqxzEFzRNhZ5kfiHXFH\nwQJ2K26xdtQ6bzLtRCUzxWgamrimY/Vq9FOgCeAcGWOVbhJubo1PWyxk0s+3\nCI62Ew4/ZbfKI+Mu/yAnP5Bn7z4el4l9WtEAvlflN0F1057wdX/IjSGYEZT0\ndudjqii3mqN+MQKV8TuxJ+g7QEDW1lVtHjC78etIth6taJQ+sfNPRa4elZiY\nLibesk/KUwaAa1nsuX37o04z2NdOmx6Z6+aMDvXKaUGd5MFLl2lJoTKIiBGp\nVF8B6nEYmHngG+oy030i6XbktR5wCArvWX0difo/qB9NLct1O9DqRtMxvi/t\nQ65+chPMsXhPfdyoGnUfsqK8Dbs825w91uf30O6RG813l1EYNZv0Y+MO63WZ\nksTV\r\n=PPNp\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","files":["package","lib/install/config/webpacker.yml"],"engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"9a161a22ca3a93b5a14d98c26f88ab98f329265e","scripts":{"lint":"eslint {package,lib}/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"5.7.1","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.9.4","dependencies":{"glob":"^7.1.2","js-yaml":"3.11.0","webpack":"3.11.0","node-sass":"4.9.0","babel-core":"6.26.3","css-loader":"0.28.11","file-loader":"1.1.11","sass-loader":"6.0.7","babel-loader":"7.1.4","style-loader":"0.20.3","babel-polyfill":"^6.26.0","postcss-import":"11.1.0","postcss-loader":"2.1.4","postcss-cssnext":"^3.1.0","babel-preset-env":"^1.6.1","path-complete-extname":"^1.0.0","uglifyjs-webpack-plugin":"1.2.5","webpack-manifest-plugin":"^1.3.2","compression-webpack-plugin":"1.1.11","extract-text-webpack-plugin":"^3.0.2","babel-plugin-syntax-dynamic-import":"^6.18.0","case-sensitive-paths-webpack-plugin":"2.1.2","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"22.4.3","eslint":"4.19.1","eslint-plugin-react":"7.7.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"2.11.0","eslint-plugin-jsx-a11y":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_3.5.1_1525035105597_0.07810822528001116","host":"s3://npm-registry-packages"}},"3.5.2":{"name":"@rails/webpacker","version":"3.5.2","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.5.2","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"be1d55e654104190795da1e6ba0d4f4a131cc3f8","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.5.2.tgz","fileCount":41,"integrity":"sha512-d9Oxyp9A3EqqeqmeWVlL3v7S3394BhDByF8k/6TXSByhS6vpIrDcj6ivLdewNAKqYRvf1utaltm2pZ4EycFyvg==","signatures":[{"sig":"MEUCIDwLpuPZNeUM8BtIFPpejlfSLpxklUiJHIEsvuvot0AgAiEA7AXYMFyGznhPPlqBgueJEslNuYyPbMtR9TD0UYmUXrw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71645,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa5jFxCRA9TVsSAnZWagAAac4P/0Ng6q/OVnMSbyesKh3V\nIRaZ6pwcXVBo6UNSf1/5ejdkUhcRWTHuaVWDzqoR/k7aAWv0hLdOXg509OQy\nPvR3m6XTsOtJxM+PHHt8N6zvwXl2aLnHL28dyylX5c7gYDwkN3wF2E+nAbgA\n2WyLCu8fOgKQV0m2q5/+Oh9kMNprpAOEImUH7oURKsquy2CZk+9cK/b0zd0q\nMSNyJOL43Vj1njJIMNE5Yvs+N//nK6fLWDLvkLBApK4nux80S6eImQVESwY/\nXVGYZyzjuU5FBBCCcypt3FiUWD90iGcg7vQpTc3/NRoQeDwMgm3mlhy7zEXR\nXMRcnAGJLQli01ySanfHga0RemoOpDKfq9cpIR1SGVwdLuh++Pe2pat73tm0\nhsM7JAUWQLKb9pPWTgjve4AKbdhq/TpsN9n20Q9J8VCddbIN5YBo3TuB8HsF\ntk0vkbpziDvTS60fJe67VafRrE5Say7F0e4g4uBCCLfmRuStaBhWNYYCrcOc\n0eJaO0SqFuEYCoZpKKzoT24ObXKxVlp24EU0A0be53oZCpG6c3LvTWJsdjqG\n5svVs0nP0f8wIFKUhlO9lrMee4hIw5z2YoG0bStNhhI1adhPy4RRNgUyh34j\nlRWLn52Cvl7l3Vo4Wf4XhV9Mnw5GdBBkc6q722NVfclj1ed3k5aFdEuXlODG\ncMh8\r\n=xLS2\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","files":["package","lib/install/config/webpacker.yml"],"engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"7af03c152d781c1850d72977737ed96623d1beba","scripts":{"lint":"eslint {package,lib}/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"5.7.1","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.9.4","dependencies":{"glob":"^7.1.2","js-yaml":"3.11.0","webpack":"3.11.0","node-sass":"4.9.0","babel-core":"6.26.3","css-loader":"0.28.11","file-loader":"1.1.11","sass-loader":"6.0.7","babel-loader":"7.1.4","style-loader":"0.20.3","babel-polyfill":"^6.26.0","postcss-import":"11.1.0","postcss-loader":"2.1.4","postcss-cssnext":"^3.1.0","babel-preset-env":"^1.6.1","path-complete-extname":"^1.0.0","uglifyjs-webpack-plugin":"1.2.5","webpack-manifest-plugin":"^1.3.2","compression-webpack-plugin":"1.1.11","extract-text-webpack-plugin":"^3.0.2","babel-plugin-syntax-dynamic-import":"^6.18.0","case-sensitive-paths-webpack-plugin":"2.1.2","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"22.4.3","eslint":"4.19.1","eslint-plugin-react":"7.7.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"2.11.0","eslint-plugin-jsx-a11y":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_3.5.2_1525035376494_0.8053721050687137","host":"s3://npm-registry-packages"}},"3.5.3":{"name":"@rails/webpacker","version":"3.5.3","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.5.3","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"8be7f4bfb1ce6f00c3456cbbe3dc363ca72bafc8","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.5.3.tgz","fileCount":41,"integrity":"sha512-pirEyjomuHkayoZ2nZ7c88D89GNkEGwK9NFmvtgqlZ5tYFSwNrbc+2inx2fqEs+oGPD1Rs2n6vjO50RAbZo8+Q==","signatures":[{"sig":"MEUCIQD9vQqMfIkj7I9p2nHqlcm8wgmf4/+ko7x0WvvAAzy/eQIgc+yB2sKGRlsU+HN5oo8LbbjrqlBDzr601ynNxiRF95I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71794,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6y2JCRA9TVsSAnZWagAAeLgQAKTL3HJofw7lmrBsrMFK\nEw85atB8YzrP1CdZ+nYAFnzG4N12n7d2XbvCh++RAwIRoZHxoXtEHbK2xdgy\nod+hHfqfjkLlnsOD9oOMX4nmFDne2JFAPUC/tKPw/kWMIiUKVJcEhOPTYTEd\n5zKvJqVeAz34dpUEdTnDd3EdsChLQW9y5HeR8BjLJNit9Z9Oa8tSh/b8WnOe\nkvl5a9YuYSWjS4X7BFjfhgEk1Poz2aB+SygfPCxmVl1T0aZ7MgJ9mncNUDml\nGTpoG2Nc+JpYvSD8i3UqahfWfdrv+JnxzAvF5HYwzOErvlADeG2yf39gaAD8\np4NZX7yYqEFYvOudfSWvSJ+gkMxvmwocTiaak/zAyTT5JYwHIRj+JVaGZGyV\nR+ZlbQw42+51FFoEURknMBMpnwy+SRKPlXDynR6xER63WCJPdTZSuIwz0LBd\n9gBI7/6kkxYP00jXh7kWMS8ytghq/5zseUUDBj1NFU3UqFiuASQPVgSKIxDD\nHYHN8yTxDCugEvkK3Ur57p+rd7hVDXpKQSjFkSBZJ1HVbEKYKGoDAzd1noK5\n4ioZH1vZOw0LJDqwsdWoeDBxTlNENZlTdvFav86kmT/QlxlNUmdDb3RnRMr8\nVto3xdDV6M4blh4BRT1Zl6jnIrBpX5pMvw4CCRhjAsw4yzC/gOPS6HIGSmvO\nZZTc\r\n=N8T6\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","files":["package","lib/install/config/webpacker.yml"],"engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"e8b197e36c77181ca2e4765c620faea59dcd0351","scripts":{"lint":"eslint {package,lib}/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"5.7.1","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.9.4","dependencies":{"glob":"^7.1.2","js-yaml":"^3.11.0","webpack":"^3.11.0","node-sass":"^4.9.0","babel-core":"^6.26.3","css-loader":"^0.28.11","file-loader":"^1.1.11","sass-loader":"^6.0.7","babel-loader":"^7.1.4","style-loader":"^0.20.3","babel-polyfill":"^6.26.0","postcss-import":"^11.1.0","postcss-loader":"^2.1.4","postcss-cssnext":"^3.1.0","babel-preset-env":"^1.6.1","path-complete-extname":"^1.0.0","uglifyjs-webpack-plugin":"^1.2.5","webpack-manifest-plugin":"^1.3.2","compression-webpack-plugin":"^1.1.11","extract-text-webpack-plugin":"^3.0.2","babel-plugin-syntax-dynamic-import":"^6.18.0","case-sensitive-paths-webpack-plugin":"^2.1.2","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.4.3","eslint":"^4.19.1","eslint-plugin-react":"^7.7.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.11.0","eslint-plugin-jsx-a11y":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_3.5.3_1525362055627_0.3025728354818287","host":"s3://npm-registry-packages"}},"3.5.5":{"name":"@rails/webpacker","version":"3.5.5","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.5.5","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"8911c66bcefc8bc6b91270e92f0d39e3c2d43116","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.5.5.tgz","fileCount":41,"integrity":"sha512-R9kglLb/R9mMqf2BW91XJHYc0q00qAO67vfrbV52ifTSywPOixEka/7oU3cb6671u1ajd74kuGAsCSnBtdVHJg==","signatures":[{"sig":"MEUCIQDNLcRBF97tGWluBX5+jkUEMhZ1TV6omTX4y6n0Nc+VkgIgVs5wwGmxW3oOoiVsjfcVzj5se00bDyxGevNw9laPaQE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQ0t9CRA9TVsSAnZWagAAweoQAJhwNsPMkG/4tl6Nsiuh\ny+DGObH+VcSPsjNaOL5ZVOSdIQ9PIsHWysHZNZemHj4xpwmKkbdCLyQACVgM\nOh5dVnk+1RKG8bFoPdr1UqjL7ZYMWUXzupxJ9K+x6GvHN7fuR3Ro248ShVVV\nxxuwzy47gmAsRgzd0BDOuWUzLOiEG5dUZJ3nm8img1bw026rlz6IFkBlZJvs\noj8tI8iIgM42J+WloSFvxeoeCXd0lRJSrQbApsyeUJKYVMRzKkoqXsXgxjd6\nKCAEcJPzSL6kM5SzjRQv0ngxrjzyMJLDApFC8gyx6kIPJq+yZF7yuVMpT8G2\nixDJpRJnQ6jURdYxcNdfkIdyp2GdN3ZJaVDE2iEeAf55VXGPvyhW1mRylhX4\nCBCRMU/M/Pn1OwdKTXZ2ZXQIza+eLeT1PsM4RNpnxnVCaPlkZ12+dUT1MBMi\nkQoDwxfRV1e59gU1zyYp2r623lPd/rdP6oNe9+9v6TgDDfOI5Pyd/BmqpgPI\nZdnwFZrjlIu6vSwwf83Gc4jheWpyLfciQebvGw6UsiRknU7LKrv8cydrhTFl\nxiF4YLANygBeOEfIMyAbMDhCVIwbaUw7i+3dv3Wz/vz+IH9F40aM5u64dOFc\n1cAL9VedgXNDiaoyisZ7Xw2stjdUlSBTzNksmBVhveJTSDZfXP7cbsa0GoOX\nSejO\r\n=3i2q\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","files":["package","lib/install/config/webpacker.yml"],"engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"88a253ed42966eb2d5c997435e9396881513bce1","scripts":{"lint":"eslint {package,lib}/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.1.0","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.9.4","dependencies":{"glob":"^7.1.2","js-yaml":"^3.12.0","webpack":"^3.12.0","node-sass":"^4.9.2","babel-core":"^6.26.3","css-loader":"^0.28.11","file-loader":"^1.1.11","sass-loader":"^6.0.7","babel-loader":"^7.1.5","style-loader":"^0.21.0","babel-polyfill":"^6.26.0","postcss-import":"^11.1.0","postcss-loader":"^2.1.5","postcss-cssnext":"^3.1.0","babel-preset-env":"^1.7.0","path-complete-extname":"^1.0.0","uglifyjs-webpack-plugin":"^1.2.7","webpack-manifest-plugin":"^1.3.2","compression-webpack-plugin":"^1.1.11","extract-text-webpack-plugin":"^3.0.2","babel-plugin-syntax-dynamic-import":"^6.18.0","optimize-css-assets-webpack-plugin":"^3.2.0","case-sensitive-paths-webpack-plugin":"^2.1.2","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^23.3.0","eslint":"^4.19.1","eslint-plugin-react":"^7.7.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.11.0","eslint-plugin-jsx-a11y":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_3.5.5_1531136893466_0.7683474062175586","host":"s3://npm-registry-packages"}},"4.0.0-pre.3":{"name":"@rails/webpacker","version":"4.0.0-pre.3","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.0.0-pre.3","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"8974c98ba6f2fbe4e67e6d2b7812ee5d817d29e8","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.0.0-pre.3.tgz","fileCount":41,"integrity":"sha512-JOzBFHalcTLYlpex+cS+2UVLjXtISX8q59eko6uTYu2ndrTF8/9LQ3IrEWOiaCS1cNK9HK/uWlyff+7u/qIuNA==","signatures":[{"sig":"MEUCIQC7FCLWK6idoOj1CAMjcEZbL9U9cI+dkiQy/gH7lT22ugIgYOtVGsr5cQoHOG6deIY66MWrqwqcvcBJeVnePY/26Z8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73669,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsdIzCRA9TVsSAnZWagAAjKYQAIVL8b/SHTd1uVMUeR/+\nDcSQJKFomj3dF+jA9U717VrF/c7kWpKS53vRQoC7x9OQyDANeW/Aoma54k/J\nAC/riz6RuxJUlf3AzuNhqY8bmzcDfQ/pjj5zB4SU7wW5GL7/j80jo83qWVsM\n5NnBwIRm+yZp2Kf4zZTAPRsXbMcALnmXY1IYJ3Qbh4Ze73KD09u7BtW+vmGW\nijGqO86dN5EqobLSIh481XkFCfad2KJlPxZIZxqH7oUJM6yKZyrjvbsEQv1H\ndGNsg2kCwWaAZF9f5KT8zbSxleUKhE+ChwDvvWOuMp8n1BFX7VsQSVc/hsy9\nJBgUfvibu37SAYuftEMkB/016EUH4345z/WKB0kiVccKxKZCHoX8/z9rCa9X\nIS37MR0mH3/ejFtKpR5/PkcJbEsrw6CbASDaj2zoWtz5W3V8B80OxQuoCC/G\nwbNsLbNGq0BOIR/89GDR1U41NY19aJppjp/vEVA5RVXKFmgAkiGMJGi6QhnL\nN2GNtkj7daRdunQOq0iEA8N0rEF5f2WQqjl2EXxUQmXRv395RT7MVaqEY2BT\nUirRyfYcKTwOtjOVDXj094osikFvo6SnePb9b7+q1M+Oyyw+if4lwUKcWJPm\nYBfJohTYKTk4E4Ioau+zk9eRNk+kMble0wNS7DeINBmbT1HKqpS0b5g4aWgd\nFHfl\r\n=1piL\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","_from":".","readme":"# Webpacker\n\n![travis-ci status](https://api.travis-ci.org/rails/webpacker.svg?branch=master)\n[![node.js](https://img.shields.io/badge/node-%3E%3D%206.14.0-brightgreen.svg)](https://nodejs.org/en/)\n[![Gem](https://img.shields.io/gem/v/webpacker.svg)](https://github.com/rails/webpacker)\n\nWebpacker makes it easy to use the JavaScript pre-processor and bundler\n[webpack 4.x.x+](https://webpack.js.org/)\nto manage application-like JavaScript in Rails. It coexists with the asset pipeline,\nas the primary purpose for webpack is app-like JavaScript, not images, CSS, or\neven JavaScript Sprinkles (that all continues to live in app/assets).\n\nHowever, it is possible to use Webpacker for CSS, images and fonts assets as well,\nin which case you may not even need the asset pipeline. This is mostly relevant when exclusively using component-based JavaScript frameworks.\n\n**NOTE:** The master branch now hosts the code for v4.x.x. Please refer to [3-x-stable](https://github.com/rails/webpacker/tree/3-x-stable) branch for 3.x documentation.\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n- [Features](#features)\n- [Installation](#installation)\n  - [Usage](#usage)\n  - [Development](#development)\n  - [Webpack Configuration](#webpack-configuration)\n  - [Custom Rails environments](#custom-rails-environments)\n  - [Upgrading](#upgrading)\n  - [Yarn Integrity](#yarn-integrity)\n- [Integrations](#integrations)\n  - [React](#react)\n  - [Angular with TypeScript](#angular-with-typescript)\n  - [Vue](#vue)\n  - [Elm](#elm)\n  - [Stimulus](#stimulus)\n  - [Coffeescript](#coffeescript)\n  - [Erb](#erb)\n- [Paths](#paths)\n  - [Resolved](#resolved)\n  - [Watched](#watched)\n- [Deployment](#deployment)\n- [Docs](#docs)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n\n## Prerequisites\n\n* Ruby 2.2+\n* Rails 4.2+\n* Node.js 6.14.0+\n* Yarn 1.x+\n\n\n## Features\n\n* [webpack 4.x.x](https://webpack.js.org/)\n* ES6 with [babel](https://babeljs.io/)\n* Automatic code splitting using multiple entry points\n* Stylesheets - Sass and CSS\n* Images and fonts\n* PostCSS - Auto-Prefixer\n* Asset compression, source-maps, and minification\n* CDN support\n* React, Angular, Elm and Vue support out-of-the-box\n* Rails view helpers\n* Extensible and configurable\n\n\n## Installation\n\nYou can either add Webpacker during setup of a new Rails 5.1+ application\nusing new `--webpack` option:\n\n```bash\n# Available Rails 5.1+\nrails new myapp --webpack\n```\n\nOr add it to your `Gemfile`:\n\n```ruby\n# Gemfile\ngem 'webpacker', '~> 3.5'\n\n# OR if you prefer to use master\ngem 'webpacker', git: 'https://github.com/rails/webpacker.git'\nyarn add https://github.com/rails/webpacker.git\n\n# OR to try out 4.x pre-release\ngem 'webpacker', '>= 4.0.x'\nyarn add @rails/webpacker@4.0.0-pre.2\n```\n\nFinally, run the following to install Webpacker:\n\n```bash\nbundle\nbundle exec rails webpacker:install\n\n# OR (on rails version < 5.0)\nbundle exec rake webpacker:install\n```\n\nOptional: To fix [\"unmet peer dependency\" warnings](https://github.com/rails/webpacker/issues/1078),\n\n```bash\nyarn upgrade\n```\n\n### Usage\n\nOnce installed, you can start writing modern ES6-flavored JavaScript apps right away:\n\n```yml\napp/javascript:\n  ├── packs:\n  │   # only webpack entry files here\n  │   └── application.js\n  └── src:\n  │   └── application.css\n  └── images:\n      └── logo.svg\n```\n\nYou can then link the JavaScript pack in Rails views using the `javascript_pack_tag` helper.\nIf you have styles imported in your pack file, you can link them by using `stylesheet_pack_tag`:\n\n```erb\n<%= javascript_pack_tag 'application' %>\n<%= stylesheet_pack_tag 'application' %>\n```\n\nIf you want to link a static asset for `<link rel=\"prefetch\">` or `<img />` tag, you\ncan use the `asset_pack_path` helper:\n\n```erb\n<link rel=\"prefetch\" href=\"<%= asset_pack_path 'application.css' %>\" />\n<img src=\"<%= asset_pack_path 'images/logo.svg' %>\" />\n```\n\n**Note:** In order for your styles or static assets files to be available in your view,\nyou would need to link them in your \"pack\" or entry file.\n\n\n### Development\n\nWebpacker ships with two binstubs: `./bin/webpack` and `./bin/webpack-dev-server`.\nBoth are thin wrappers around the standard `webpack.js` and `webpack-dev-server.js`\nexecutables to ensure that the right configuration files and environmental variables\nare loaded based on your environment.\n\nIn development, Webpacker compiles on demand rather than upfront by default. This\nhappens when you refer to any of the pack assets using the Webpacker helper methods.\nThis means that you don't have to run any separate processes. Compilation errors are logged\nto the standard Rails log.\n\nIf you want to use live code reloading, or you have enough JavaScript that on-demand compilation is too slow, you'll need to run `./bin/webpack-dev-server` or `ruby ./bin/webpack-dev-server`. Windows users will need to run these commands\nin a terminal separate from `bundle exec rails s`. This process will watch for changes\nin the `app/javascript/packs/*.js` files and automatically reload the browser to match.\n\n```bash\n# webpack dev server\n./bin/webpack-dev-server\n\n# watcher\n./bin/webpack --watch --colors --progress\n\n# standalone build\n./bin/webpack\n```\n\nOnce you start this development server, Webpacker will automatically start proxying all\nwebpack asset requests to this server. When you stop the server, it'll revert back to\non-demand compilation.\n\nYou can use environment variables as options supported by\n[webpack-dev-server](https://webpack.js.org/configuration/dev-server/) in the\nform `WEBPACKER_DEV_SERVER_<OPTION>`. Please note that these environmental\nvariables will always take precedence over the ones already set in the\nconfiguration file, and that the _same_ environmental variables must\nbe available to the `rails server` process.\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=example.com WEBPACKER_DEV_SERVER_INLINE=true WEBPACKER_DEV_SERVER_HOT=false ./bin/webpack-dev-server\n```\n\nBy default, the webpack dev server listens on `localhost` in development for security purposes.\nHowever, if you want your app to be available over local LAN IP or a VM instance like vagrant,\nyou can set the `host` when running `./bin/webpack-dev-server` binstub:\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=0.0.0.0 ./bin/webpack-dev-server\n```\n\n**Note:** You need to allow webpack-dev-server host as an allowed origin for `connect-src` if you are running your application in a restrict CSP environment (like Rails 5.2+). This can be done in Rails 5.2+ in the CSP initializer `config/initializers/content_security_policy.rb` with a snippet like this:\n\n```ruby\n  Rails.application.config.content_security_policy do |policy|\n    policy.connect_src :self, :https, 'http://localhost:3035', 'ws://localhost:3035' if Rails.env.development?\n  end\n```\n\n**Note:** Don't forget to prefix `ruby` when running these binstubs on Windows\n\n### Webpack Configuration\n\nSee [docs/webpack](docs/webpack.md) for modifying webpack configuration and loaders.\n\n\n### Custom Rails environments\n\nOut of the box Webpacker ships with - development, test and production environments in `config/webpacker.yml` however, in most production apps extra environments are needed as part of deployment workflow. Webpacker supports this out of the box from version 3.4.0+ onwards.\n\nYou can choose to define additional environment configurations in webpacker.yml,\n\n```yml\nstaging:\n  <<: *default\n\n  # Production depends on precompilation of packs prior to booting for performance.\n  compile: false\n\n  # Cache manifest.json for performance\n  cache_manifest: true\n\n  # Compile staging packs to a separate directory\n  public_output_path: packs-staging\n```\n\nor, Webpacker will use production environment as a fallback environment for loading configurations. Please note, `NODE_ENV` can either be set to `production` or `development`.\nThis means you don't need to create additional environment files inside `config/webpacker/*` and instead use webpacker.yml to load different configurations using `RAILS_ENV`.\n\nFor example, the below command will compile assets in production mode but will use staging configurations from `config/webpacker.yml` if available or use fallback production environment configuration:\n\n```bash\nRAILS_ENV=staging bundle exec rails assets:precompile\n```\n\nAnd, this will compile in development mode and load configuration for cucumber environment\nif defined in webpacker.yml or fallback to production configuration\n\n```bash\nRAILS_ENV=cucumber NODE_ENV=development bundle exec rails assets:precompile\n```\n\nPlease note, binstubs compiles in development mode however rake tasks\ncompiles in production mode.\n\n```bash\n# Compiles in development mode unless NODE_ENV is specified\n./bin/webpack\n./bin/webpack-dev-server\n\n# compiles in production mode by default unless NODE_ENV is specified\nbundle exec rails assets:precompile\nbundle exec rails webpacker:compile\n```\n\n\n### Upgrading\n\nYou can run following commands to upgrade Webpacker to the latest stable version. This process involves upgrading the gem and related JavaScript packages:\n\n```bash\nbundle update webpacker\nrails webpacker:binstubs\nyarn upgrade @rails/webpacker --latest\nyarn add webpack-dev-server@^2.11.1\n\n# Or to install a latest release (including pre-releases)\nyarn add @rails/webpacker@4.0.0-pre.2\n```\n\n### Yarn Integrity\n\nBy default, in development, webpacker runs a yarn integrity check to ensure that all local JavaScript packages are up-to-date. This is similar to what bundler does currently in Rails, but for JavaScript packages. If your system is out of date, then Rails will not initialize. You will be asked to upgrade your local JavaScript packages by running `yarn install`.\n\nTo turn off this option, you will need to change the default setting in `config/webpacker.yml`:\n\n```yaml\n# config/webpacker.yml\ndevelopment:\n  ...\n  # Verifies that versions and hashed value of the package contents in the project's package.json\n  check_yarn_integrity: false\n```\n\nYou may also turn on this feature by adding the config option for any Rails environment in `config/webpacker.yml`:\n\n```yaml\n  check_yarn_integrity: true\n```\n\n## Integrations\n\nWebpacker ships with basic out-of-the-box integration for React, Angular, Vue and Elm.\nYou can see a list of available commands/tasks by running `bundle exec rails webpacker`:\n\n### React\n\nTo use Webpacker with [React](https://facebook.github.io/react/), create a\nnew Rails 5.1+ app using `--webpack=react` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=react\n```\n\n(or run `bundle exec rails webpacker:install:react` in a existing Rails app already\nsetup with Webpacker).\n\nThe installer will add all relevant dependencies using Yarn, changes\nto the configuration files, and an example React component to your\nproject in `app/javascript/packs` so that you can experiment with React right away.\n\n\n### Angular with TypeScript\n\nTo use Webpacker with [Angular](https://angular.io/), create a\nnew Rails 5.1+ app using `--webpack=angular` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=angular\n```\n\n(or run `bundle exec rails webpacker:install:angular` on a Rails app already\nsetup with Webpacker).\n\nThe installer will add the TypeScript and Angular core libraries using Yarn alongside\na few changes to the configuration files. An example component written in\nTypeScript will also be added to your project in `app/javascript` so that\nyou can experiment with Angular right away.\n\nBy default, Angular uses a JIT compiler for development environment. This\ncompiler is not compatible with restrictive CSP (Content Security\nPolicy) environments like Rails 5.2+. You can use Angular AOT compiler\nin development with the [@ngtools/webpack](https://www.npmjs.com/package/@ngtools/webpack#usage) plugin.\n\nAlternatively if you're using Rails 5.2+ you can enable `unsafe-eval` rule for your\ndevelopment environment. This can be done in the `config/initializers/content_security_policy.rb`\nwith the following code:\n\n```ruby\n  if Rails.env.development?\n    policy.script_src :self, :https, :unsafe_eval\n  else\n    policy.script_src :self, :https\n  end\n```\n\n\n### Vue\n\nTo use Webpacker with [Vue](https://vuejs.org/), create a\nnew Rails 5.1+ app using `--webpack=vue` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=vue\n```\n(or run `bundle exec rails webpacker:install:vue` on a Rails app already setup with Webpacker).\n\nThe installer will add Vue and its required libraries using Yarn alongside\nautomatically applying changes needed to the configuration files. An example component will\nbe added to your project in `app/javascript` so that you can experiment with Vue right away.\n\nIf you're using Rails 5.2+ you'll need to enable `unsafe-eval` rule for your development environment.\nThis can be done in the `config/initializers/content_security_policy.rb` with the following\nconfiguration:\n\n```ruby\n  if Rails.env.development?\n    policy.script_src :self, :https, :unsafe_eval\n  else\n    policy.script_src :self, :https\n  end\n```\nYou can read more about this in the [Vue docs](https://vuejs.org/v2/guide/installation.html#CSP-environments).\n\n\n### Elm\n\nTo use Webpacker with [Elm](http://elm-lang.org), create a\nnew Rails 5.1+ app using `--webpack=elm` option:\n\n```\n# Rails 5.1+\nrails new myapp --webpack=elm\n```\n\n(or run `bundle exec rails webpacker:install:elm` on a Rails app already setup with Webpacker).\n\nThe Elm library and its core packages will be added via Yarn and Elm.\nAn example `Main.elm` app will also be added to your project in `app/javascript`\nso that you can experiment with Elm right away.\n\n### Stimulus\n\nTo use Webpacker with [Stimulus](http://stimulusjs.org), create a\nnew Rails 5.1+ app using `--webpack=stimulus` option:\n\n```\n# Rails 5.1+\nrails new myapp --webpack=stimulus\n```\n\n(or run `bundle exec rails webpacker:install:stimulus` on a Rails app already setup with Webpacker).\n\nPlease read [The Stimulus Handbook](https://stimulusjs.org/handbook/introduction) or learn more about its source code at https://github.com/stimulusjs/stimulus\n\n### Coffeescript\n\nTo add [Coffeescript](http://coffeescript.org/) support,\nrun `bundle exec rails webpacker:install:coffee` on a Rails app already\nsetup with Webpacker.\n\nAn example `hello_coffee.coffee` file will also be added to your project\nin `app/javascript/packs` so that you can experiment with Coffeescript right away.\n\n### Erb\n\nTo add [Erb](https://apidock.com/ruby/ERB) support in your JS templates,\nrun `bundle exec rails webpacker:install:erb` on a Rails app already\nsetup with Webpacker.\n\nAn example `hello_erb.js.erb` file will also be added to your project\nin `app/javascript/packs` so that you can experiment with Erb-flavoured\njavascript right away.\n\n\n## Paths\n\nBy default, Webpacker ships with simple conventions for where the JavaScript\napp files and compiled webpack bundles will go in your Rails app.\nAll these options are configurable from `config/webpacker.yml` file.\n\nThe configuration for what webpack is supposed to compile by default rests\non the convention that every file in `app/javascript/packs/*`**(default)**\nor whatever path you set for `source_entry_path` in the `webpacker.yml` configuration\nis turned into their own output files (or entry points, as webpack calls it). Therefore you don't want to put anything inside `packs` directory that you do not want to be\nan entry file. As a rule of thumb, put all files you want to link in your views inside\n\"packs\" directory and keep everything else under `app/javascript`.\n\nSuppose you want to change the source directory from `app/javascript`\nto `frontend` and output to `assets/packs`. This is how you would do it:\n\n```yml\n# config/webpacker.yml\nsource_path: frontend\nsource_entry_path: packs\npublic_output_path: assets/packs # outputs to => public/assets/packs\n```\n\nSimilarly you can also control and configure `webpack-dev-server` settings from `config/webpacker.yml` file:\n\n```yml\n# config/webpacker.yml\ndevelopment:\n  dev_server:\n    host: localhost\n    port: 3035\n```\n\nIf you have `hmr` turned to true, then the `stylesheet_pack_tag` generates no output, as you will want to configure your styles to be inlined in your JavaScript for hot reloading. During production and testing, the `stylesheet_pack_tag` will create the appropriate HTML tags.\n\n\n### Resolved\n\nIf you are adding Webpacker to an existing app that has most of the assets inside\n`app/assets` or inside an engine, and you want to share that\nwith webpack modules, you can use the `resolved_paths`\noption available in `config/webpacker.yml`. This lets you\nadd additional paths that webpack should lookup when resolving modules:\n\n```yml\nresolved_paths: ['app/assets']\n```\n\nYou can then import these items inside your modules like so:\n\n```js\n// Note it's relative to parent directory i.e. app/assets\nimport 'stylesheets/main'\nimport 'images/rails.png'\n```\n\n**Note:** Please be careful when adding paths here otherwise it\nwill make the compilation slow, consider adding specific paths instead of\nwhole parent directory if you just need to reference one or two modules\n\n\n### Watched\n\nBy default, the lazy compilation is cached until a file is changed under your\ntracked paths. You can configure which paths are tracked\nby adding new paths to `watched_paths` array. This is much like Rails' `autoload_paths`:\n\n```rb\n# config/initializers/webpacker.rb\n# or config/application.rb\nWebpacker::Compiler.watched_paths << 'bower_components'\n```\n\n\n## Deployment\n\nWebpacker hooks up a new `webpacker:compile` task to `assets:precompile`, which gets run whenever you run `assets:precompile`. If you are not using Sprockets, `webpacker:compile` is automatically aliased to `assets:precompile`. Similar to sprockets both rake tasks will compile packs in production mode but will use `RAILS_ENV` to load configuration from `config/webpacker.yml` (if available).\n\n## Docs\n\nYou can find more detailed guides under [docs](./docs).\n\n\n## License\nWebpacker is released under the [MIT License](https://opensource.org/licenses/MIT).\n","_shasum":"8974c98ba6f2fbe4e67e6d2b7812ee5d817d29e8","engines":{"node":">=6.14.0","yarn":">=1.0.0"},"gitHead":"25768b0525f61c044c51216be45801d08685f650","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"3.10.10","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"6.14.0","dependencies":{"glob":"^7.1.3","js-yaml":"^3.12.0","webpack":"^4.17.1","node-sass":"^4.9.3","babel-core":"^7.0.0-bridge","css-loader":"^1.0.0","@babel/core":"^7.0.0","file-loader":"^2.0.0","sass-loader":"^7.1.0","webpack-cli":"^3.1.0","babel-loader":"^8.0.0","style-loader":"^0.23.0","@babel/runtime":"^7.0.0","postcss-import":"^12.0.0","postcss-loader":"^3.0.0","@babel/polyfill":"^7.0.0","webpack-sources":"^1.2.0","@babel/preset-env":"^7.0.0","postcss-preset-env":"^5.3.0","path-complete-extname":"^1.0.0","mini-css-extract-plugin":"^0.4.2","uglifyjs-webpack-plugin":"^1.3.0","webpack-assets-manifest":"^3.0.2","compression-webpack-plugin":"^1.1.12","@babel/plugin-transform-runtime":"^7.0.0","optimize-css-assets-webpack-plugin":"^5.0.1","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-transform-regenerator":"^7.0.0","case-sensitive-paths-webpack-plugin":"^2.1.2","@babel/plugin-transform-destructuring":"^7.0.0","@babel/plugin-proposal-class-properties":"^7.0.0","@babel/plugin-proposal-object-rest-spread":"^7.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^23.5.0","eslint":"^5.4.0","eslint-plugin-react":"^7.11.1","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.0.0-pre.3_1538380338822_0.3049701255769859","host":"s3://npm-registry-packages"}},"4.0.0-rc.1":{"name":"@rails/webpacker","version":"4.0.0-rc.1","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.0.0-rc.1","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"786eff75dc2c1bd68b2ff71c6e103a6b21d805e7","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.0.0-rc.1.tgz","fileCount":42,"integrity":"sha512-GtE/sbe0FsR3+AtHmljZ4VI1tuESZcFpUhu3w+kFQzFcCOxv6/E1iJ0bIZtbDAMVhI7wNFR/H4lRBqPEux0uog==","signatures":[{"sig":"MEYCIQCb7GpArgmydH5WPUJ4ejvX7mIGMAY86WQUPpt9uR3mEwIhAL7KOmnwipbbq+hT29okAaMAAN/gVum8B+kn6PGeXJts","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80849,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcFByUCRA9TVsSAnZWagAAHwQP/384U9gG062K4hahO7x+\nlfTrE03NlTUM6h3O54BEi6hOZiQHrBl5ujoRUYZL1/543uEiyUzWL+CXT9pX\n7IBo3nAuH04cxHoEo4surBIg8ELGA6rRN1/dTfnDcmpSydkEdmndlzgjcgtQ\n444qM+LiYW1uraN636n0aJIedvLpU6N0aa9oimx7JjI2kIgn1pHbYi/nUK6H\noVf4GO5G+G7fVQX7sjxbIlbwSWBXiE084JNNVzlybWMezgTmOhyDx9lnRhl2\n4JPRLaTM5WWaEmE7Pp3Xh8c45Kb3TZ65bvksckBxms/OTZI0zSzz/TZyajAd\nxLfvgMU98O3RO7iMu2/G9Dj96SjvngM7wBFlj0bEjxiNHDqFzaVL6EcYG6YU\nYjVU95GzLKfJc9PwzugeRQmzmJrnfCUCl/Z2iDK2EQsahkMNGW+NoHmGo0O5\nJFCy7VHdqGp9H8bo13SdvIdQVuxc+4TGi/cCOA3m1IFieQKciZrunHcKP8Zo\nytOP/cACtRBc+52u7jOkf82VbsR7W0SsieFT4TNKL2dOLz3fYCxTF2KjVDB0\n2cQyiAVd32LClitDeHgOJXUqf1UjASvRpT15LFtyRXd+AEPUUN/0iAlKu7RI\nqVrs9rBdcJgH6eVdYLzkflFGeQTdpiB7XWc/DLAtwRd2iE/ojIs0gV6WoZ5z\nnZhP\r\n=83KE\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","_from":".","readme":"# Webpacker\n\n![travis-ci status](https://api.travis-ci.org/rails/webpacker.svg?branch=master)\n[![node.js](https://img.shields.io/badge/node-%3E%3D%206.14.0-brightgreen.svg)](https://nodejs.org/en/)\n[![Gem](https://img.shields.io/gem/v/webpacker.svg)](https://github.com/rails/webpacker)\n\nWebpacker makes it easy to use the JavaScript pre-processor and bundler\n[webpack 4.x.x+](https://webpack.js.org/)\nto manage application-like JavaScript in Rails. It coexists with the asset pipeline,\nas the primary purpose for webpack is app-like JavaScript, not images, CSS, or\neven JavaScript Sprinkles (that all continues to live in app/assets).\n\nHowever, it is possible to use Webpacker for CSS, images and fonts assets as well,\nin which case you may not even need the asset pipeline. This is mostly relevant when exclusively using component-based JavaScript frameworks.\n\n**NOTE:** The master branch now hosts the code for v4.x.x. Please refer to [3-x-stable](https://github.com/rails/webpacker/tree/3-x-stable) branch for 3.x documentation.\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n- [Features](#features)\n- [Installation](#installation)\n  - [Usage](#usage)\n  - [Development](#development)\n  - [Webpack Configuration](#webpack-configuration)\n  - [Custom Rails environments](#custom-rails-environments)\n  - [Upgrading](#upgrading)\n  - [Yarn Integrity](#yarn-integrity)\n- [Integrations](#integrations)\n  - [React](#react)\n  - [Angular with TypeScript](#angular-with-typescript)\n  - [Vue](#vue)\n  - [Elm](#elm)\n  - [Stimulus](#stimulus)\n  - [Coffeescript](#coffeescript)\n  - [Erb](#erb)\n- [Paths](#paths)\n  - [Resolved](#resolved)\n  - [Watched](#watched)\n- [Deployment](#deployment)\n- [Docs](#docs)\n- [Contributing](#contributing)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n\n## Prerequisites\n\n* Ruby 2.2+\n* Rails 4.2+\n* Node.js 6.14.4+\n* Yarn 1.x+\n\n\n## Features\n\n* [webpack 4.x.x](https://webpack.js.org/)\n* ES6 with [babel](https://babeljs.io/)\n* Automatic code splitting using multiple entry points\n* Stylesheets - Sass and CSS\n* Images and fonts\n* PostCSS - Auto-Prefixer\n* Asset compression, source-maps, and minification\n* CDN support\n* React, Angular, Elm and Vue support out-of-the-box\n* Rails view helpers\n* Extensible and configurable\n\n\n## Installation\n\nYou can either add Webpacker during setup of a new Rails 5.1+ application\nusing new `--webpack` option:\n\n```bash\n# Available Rails 5.1+\nrails new myapp --webpack\n```\n\nOr add it to your `Gemfile`:\n\n```ruby\n# Gemfile\ngem 'webpacker', '~> 3.5'\n\n# OR if you prefer to use master\ngem 'webpacker', git: 'https://github.com/rails/webpacker.git'\nyarn add https://github.com/rails/webpacker.git\n\n# OR to try out 4.x pre-release\ngem 'webpacker', '>= 4.0.x'\nyarn add @rails/webpacker@next\n```\n\nFinally, run the following to install Webpacker:\n\n```bash\nbundle\nbundle exec rails webpacker:install\n\n# OR (on rails version < 5.0)\nbundle exec rake webpacker:install\n```\n\nOptional: To fix [\"unmet peer dependency\" warnings](https://github.com/rails/webpacker/issues/1078),\n\n```bash\nyarn upgrade\n```\n\n### Usage\n\nOnce installed, you can start writing modern ES6-flavored JavaScript apps right away:\n\n```yml\napp/javascript:\n  ├── packs:\n  │   # only webpack entry files here\n  │   └── application.js\n  └── src:\n  │   └── application.css\n  └── images:\n      └── logo.svg\n```\n\nYou can then link the JavaScript pack in Rails views using the `javascript_pack_tag` helper.\nIf you have styles imported in your pack file, you can link them by using `stylesheet_pack_tag`:\n\n```erb\n<%= javascript_pack_tag 'application' %>\n<%= stylesheet_pack_tag 'application' %>\n```\n\nIf you want to link a static asset for `<link rel=\"prefetch\">` or `<img />` tag, you\ncan use the `asset_pack_path` helper:\n\n```erb\n<link rel=\"prefetch\" href=\"<%= asset_pack_path 'application.css' %>\" />\n<img src=\"<%= asset_pack_path 'images/logo.svg' %>\" />\n```\n\n**Note:** In order for your styles or static assets files to be available in your view,\nyou would need to link them in your \"pack\" or entry file.\n\n\n### Development\n\nWebpacker ships with two binstubs: `./bin/webpack` and `./bin/webpack-dev-server`.\nBoth are thin wrappers around the standard `webpack.js` and `webpack-dev-server.js`\nexecutables to ensure that the right configuration files and environmental variables\nare loaded based on your environment.\n\nIn development, Webpacker compiles on demand rather than upfront by default. This\nhappens when you refer to any of the pack assets using the Webpacker helper methods.\nThis means that you don't have to run any separate processes. Compilation errors are logged\nto the standard Rails log.\n\nIf you want to use live code reloading, or you have enough JavaScript that on-demand compilation is too slow, you'll need to run `./bin/webpack-dev-server` or `ruby ./bin/webpack-dev-server`. Windows users will need to run these commands\nin a terminal separate from `bundle exec rails s`. This process will watch for changes\nin the `app/javascript/packs/*.js` files and automatically reload the browser to match.\n\n```bash\n# webpack dev server\n./bin/webpack-dev-server\n\n# watcher\n./bin/webpack --watch --colors --progress\n\n# standalone build\n./bin/webpack\n```\n\nOnce you start this development server, Webpacker will automatically start proxying all\nwebpack asset requests to this server. When you stop the server, it'll revert back to\non-demand compilation.\n\nYou can use environment variables as options supported by\n[webpack-dev-server](https://webpack.js.org/configuration/dev-server/) in the\nform `WEBPACKER_DEV_SERVER_<OPTION>`. Please note that these environmental\nvariables will always take precedence over the ones already set in the\nconfiguration file, and that the _same_ environmental variables must\nbe available to the `rails server` process.\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=example.com WEBPACKER_DEV_SERVER_INLINE=true WEBPACKER_DEV_SERVER_HOT=false ./bin/webpack-dev-server\n```\n\nBy default, the webpack dev server listens on `localhost` in development for security purposes.\nHowever, if you want your app to be available over local LAN IP or a VM instance like vagrant,\nyou can set the `host` when running `./bin/webpack-dev-server` binstub:\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=0.0.0.0 ./bin/webpack-dev-server\n```\n\n**Note:** You need to allow webpack-dev-server host as an allowed origin for `connect-src` if you are running your application in a restrict CSP environment (like Rails 5.2+). This can be done in Rails 5.2+ in the CSP initializer `config/initializers/content_security_policy.rb` with a snippet like this:\n\n```ruby\n  Rails.application.config.content_security_policy do |policy|\n    policy.connect_src :self, :https, 'http://localhost:3035', 'ws://localhost:3035' if Rails.env.development?\n  end\n```\n\n**Note:** Don't forget to prefix `ruby` when running these binstubs on Windows\n\n### Webpack Configuration\n\nSee [docs/webpack](docs/webpack.md) for modifying webpack configuration and loaders.\n\n\n### Custom Rails environments\n\nOut of the box Webpacker ships with - development, test and production environments in `config/webpacker.yml` however, in most production apps extra environments are needed as part of deployment workflow. Webpacker supports this out of the box from version 3.4.0+ onwards.\n\nYou can choose to define additional environment configurations in webpacker.yml,\n\n```yml\nstaging:\n  <<: *default\n\n  # Production depends on precompilation of packs prior to booting for performance.\n  compile: false\n\n  # Cache manifest.json for performance\n  cache_manifest: true\n\n  # Compile staging packs to a separate directory\n  public_output_path: packs-staging\n```\n\nor, Webpacker will use production environment as a fallback environment for loading configurations. Please note, `NODE_ENV` can either be set to `production`, `development` or `test`.\nThis means you don't need to create additional environment files inside `config/webpacker/*` and instead use webpacker.yml to load different configurations using `RAILS_ENV`.\n\nFor example, the below command will compile assets in production mode but will use staging configurations from `config/webpacker.yml` if available or use fallback production environment configuration:\n\n```bash\nRAILS_ENV=staging bundle exec rails assets:precompile\n```\n\nAnd, this will compile in development mode and load configuration for cucumber environment\nif defined in webpacker.yml or fallback to production configuration\n\n```bash\nRAILS_ENV=cucumber NODE_ENV=development bundle exec rails assets:precompile\n```\n\nPlease note, binstubs compiles in development mode however rake tasks\ncompiles in production mode.\n\n```bash\n# Compiles in development mode unless NODE_ENV is specified\n./bin/webpack\n./bin/webpack-dev-server\n\n# compiles in production mode by default unless NODE_ENV is specified\nbundle exec rails assets:precompile\nbundle exec rails webpacker:compile\n```\n\n\n### Upgrading\n\nYou can run following commands to upgrade Webpacker to the latest stable version. This process involves upgrading the gem and related JavaScript packages:\n\n```bash\nbundle update webpacker\nrails webpacker:binstubs\nyarn upgrade @rails/webpacker --latest\nyarn add webpack-dev-server@^2.11.1\n\n# Or to install a latest release (including pre-releases)\nyarn add @rails/webpacker@next\n```\n\n### Yarn Integrity\n\nBy default, in development, webpacker runs a yarn integrity check to ensure that all local JavaScript packages are up-to-date. This is similar to what bundler does currently in Rails, but for JavaScript packages. If your system is out of date, then Rails will not initialize. You will be asked to upgrade your local JavaScript packages by running `yarn install`.\n\nTo turn off this option, you will need to change the default setting in `config/webpacker.yml`:\n\n```yaml\n# config/webpacker.yml\ndevelopment:\n  ...\n  # Verifies that versions and hashed value of the package contents in the project's package.json\n  check_yarn_integrity: false\n```\n\nYou may also turn on this feature by adding the config option for any Rails environment in `config/webpacker.yml`:\n\n```yaml\n  check_yarn_integrity: true\n```\n\n## Integrations\n\nWebpacker ships with basic out-of-the-box integration for React, Angular, Vue and Elm.\nYou can see a list of available commands/tasks by running `bundle exec rails webpacker`:\n\n### React\n\nTo use Webpacker with [React](https://facebook.github.io/react/), create a\nnew Rails 5.1+ app using `--webpack=react` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=react\n```\n\n(or run `bundle exec rails webpacker:install:react` in a existing Rails app already\nsetup with Webpacker).\n\nThe installer will add all relevant dependencies using Yarn, changes\nto the configuration files, and an example React component to your\nproject in `app/javascript/packs` so that you can experiment with React right away.\n\n\n### Angular with TypeScript\n\nTo use Webpacker with [Angular](https://angular.io/), create a\nnew Rails 5.1+ app using `--webpack=angular` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=angular\n```\n\n(or run `bundle exec rails webpacker:install:angular` on a Rails app already\nsetup with Webpacker).\n\nThe installer will add the TypeScript and Angular core libraries using Yarn alongside\na few changes to the configuration files. An example component written in\nTypeScript will also be added to your project in `app/javascript` so that\nyou can experiment with Angular right away.\n\nBy default, Angular uses a JIT compiler for development environment. This\ncompiler is not compatible with restrictive CSP (Content Security\nPolicy) environments like Rails 5.2+. You can use Angular AOT compiler\nin development with the [@ngtools/webpack](https://www.npmjs.com/package/@ngtools/webpack#usage) plugin.\n\nAlternatively if you're using Rails 5.2+ you can enable `unsafe-eval` rule for your\ndevelopment environment. This can be done in the `config/initializers/content_security_policy.rb`\nwith the following code:\n\n```ruby\nRails.application.config.content_security_policy do |policy|\n  if Rails.env.development?\n    policy.script_src :self, :https, :unsafe_eval\n  else\n    policy.script_src :self, :https\n  end\nend\n```\n\n\n### Vue\n\nTo use Webpacker with [Vue](https://vuejs.org/), create a\nnew Rails 5.1+ app using `--webpack=vue` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=vue\n```\n(or run `bundle exec rails webpacker:install:vue` on a Rails app already setup with Webpacker).\n\nThe installer will add Vue and its required libraries using Yarn alongside\nautomatically applying changes needed to the configuration files. An example component will\nbe added to your project in `app/javascript` so that you can experiment with Vue right away.\n\nIf you're using Rails 5.2+ you'll need to enable `unsafe-eval` rule for your development environment.\nThis can be done in the `config/initializers/content_security_policy.rb` with the following\nconfiguration:\n\n```ruby\nRails.application.config.content_security_policy do |policy|\n  if Rails.env.development?\n    policy.script_src :self, :https, :unsafe_eval\n  else\n    policy.script_src :self, :https\n  end\nend\n```\nYou can read more about this in the [Vue docs](https://vuejs.org/v2/guide/installation.html#CSP-environments).\n\n\n### Elm\n\nTo use Webpacker with [Elm](http://elm-lang.org), create a\nnew Rails 5.1+ app using `--webpack=elm` option:\n\n```\n# Rails 5.1+\nrails new myapp --webpack=elm\n```\n\n(or run `bundle exec rails webpacker:install:elm` on a Rails app already setup with Webpacker).\n\nThe Elm library and its core packages will be added via Yarn and Elm.\nAn example `Main.elm` app will also be added to your project in `app/javascript`\nso that you can experiment with Elm right away.\n\n### Stimulus\n\nTo use Webpacker with [Stimulus](http://stimulusjs.org), create a\nnew Rails 5.1+ app using `--webpack=stimulus` option:\n\n```\n# Rails 5.1+\nrails new myapp --webpack=stimulus\n```\n\n(or run `bundle exec rails webpacker:install:stimulus` on a Rails app already setup with Webpacker).\n\nPlease read [The Stimulus Handbook](https://stimulusjs.org/handbook/introduction) or learn more about its source code at https://github.com/stimulusjs/stimulus\n\n### Coffeescript\n\nTo add [Coffeescript](http://coffeescript.org/) support,\nrun `bundle exec rails webpacker:install:coffee` on a Rails app already\nsetup with Webpacker.\n\nAn example `hello_coffee.coffee` file will also be added to your project\nin `app/javascript/packs` so that you can experiment with Coffeescript right away.\n\n### Erb\n\nTo add [Erb](https://apidock.com/ruby/ERB) support in your JS templates,\nrun `bundle exec rails webpacker:install:erb` on a Rails app already\nsetup with Webpacker.\n\nAn example `hello_erb.js.erb` file will also be added to your project\nin `app/javascript/packs` so that you can experiment with Erb-flavoured\njavascript right away.\n\n\n## Paths\n\nBy default, Webpacker ships with simple conventions for where the JavaScript\napp files and compiled webpack bundles will go in your Rails app.\nAll these options are configurable from `config/webpacker.yml` file.\n\nThe configuration for what webpack is supposed to compile by default rests\non the convention that every file in `app/javascript/packs/*`**(default)**\nor whatever path you set for `source_entry_path` in the `webpacker.yml` configuration\nis turned into their own output files (or entry points, as webpack calls it). Therefore you don't want to put anything inside `packs` directory that you do not want to be\nan entry file. As a rule of thumb, put all files you want to link in your views inside\n\"packs\" directory and keep everything else under `app/javascript`.\n\nSuppose you want to change the source directory from `app/javascript`\nto `frontend` and output to `assets/packs`. This is how you would do it:\n\n```yml\n# config/webpacker.yml\nsource_path: frontend\nsource_entry_path: packs\npublic_output_path: assets/packs # outputs to => public/assets/packs\n```\n\nSimilarly you can also control and configure `webpack-dev-server` settings from `config/webpacker.yml` file:\n\n```yml\n# config/webpacker.yml\ndevelopment:\n  dev_server:\n    host: localhost\n    port: 3035\n```\n\nIf you have `hmr` turned to true, then the `stylesheet_pack_tag` generates no output, as you will want to configure your styles to be inlined in your JavaScript for hot reloading. During production and testing, the `stylesheet_pack_tag` will create the appropriate HTML tags.\n\n\n### Resolved\n\nIf you are adding Webpacker to an existing app that has most of the assets inside\n`app/assets` or inside an engine, and you want to share that\nwith webpack modules, you can use the `resolved_paths`\noption available in `config/webpacker.yml`. This lets you\nadd additional paths that webpack should lookup when resolving modules:\n\n```yml\nresolved_paths: ['app/assets']\n```\n\nYou can then import these items inside your modules like so:\n\n```js\n// Note it's relative to parent directory i.e. app/assets\nimport 'stylesheets/main'\nimport 'images/rails.png'\n```\n\n**Note:** Please be careful when adding paths here otherwise it\nwill make the compilation slow, consider adding specific paths instead of\nwhole parent directory if you just need to reference one or two modules\n\n\n### Watched\n\nBy default, the lazy compilation is cached until a file is changed under your\ntracked paths. You can configure which paths are tracked\nby adding new paths to `watched_paths` array. This is much like Rails' `autoload_paths`:\n\n```rb\n# config/initializers/webpacker.rb\n# or config/application.rb\nWebpacker::Compiler.watched_paths << 'bower_components'\n```\n\n\n## Deployment\n\nWebpacker hooks up a new `webpacker:compile` task to `assets:precompile`, which gets run whenever you run `assets:precompile`. If you are not using Sprockets, `webpacker:compile` is automatically aliased to `assets:precompile`. Similar to sprockets both rake tasks will compile packs in production mode but will use `RAILS_ENV` to load configuration from `config/webpacker.yml` (if available).\n\n\n## Docs\n\nYou can find more detailed guides under [docs](./docs).\n\n\n## Contributing\n[![Code Helpers](https://www.codetriage.com/rails/webpacker/badges/users.svg)](https://www.codetriage.com/rails/webpacker)\n\nWe encourage you to contribute to Webpacker! See [CONTRIBUTING](CONTRIBUTING.md) for guidelines about how to proceed.\n\n\n## License\nWebpacker is released under the [MIT License](https://opensource.org/licenses/MIT).\n","_shasum":"786eff75dc2c1bd68b2ff71c6e103a6b21d805e7","engines":{"node":">=6.14.4","yarn":">=1.0.0"},"gitHead":"08dceb1ec9a64dc5468c6c639a30258efa19fb08","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"3.10.10","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"6.14.4","dependencies":{"glob":"^7.1.3","js-yaml":"^3.12.0","webpack":"^4.27.1","node-sass":"^4.11.0","css-loader":"^2.0.1","@babel/core":"^7.2.0","file-loader":"^2.0.0","sass-loader":"^7.1.0","webpack-cli":"^3.1.2","babel-loader":"^8.0.4","style-loader":"^0.23.1","@babel/runtime":"^7.2.0","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","@babel/polyfill":"^7.0.0","webpack-sources":"^1.3.0","@babel/preset-env":"^7.2.0","pnp-webpack-plugin":"^1.2.1","postcss-preset-env":"^6.5.0","babel-plugin-macros":"^2.4.2","postcss-safe-parser":"^4.0.1","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^1.1.0","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.5.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^2.0.0","@babel/plugin-transform-runtime":"^7.2.0","babel-plugin-dynamic-import-node":"^2.2.0","optimize-css-assets-webpack-plugin":"^5.0.1","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.0.0","case-sensitive-paths-webpack-plugin":"^2.1.2","@babel/plugin-transform-destructuring":"^7.2.0","@babel/plugin-proposal-class-properties":"^7.2.1","@babel/plugin-proposal-object-rest-spread":"^7.2.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^23.6.0","eslint":"^5.10.0","eslint-plugin-react":"^7.11.1","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.0.0-rc.1_1544821908214_0.29392921539439154","host":"s3://npm-registry-packages"}},"4.0.0-rc.2":{"name":"@rails/webpacker","version":"4.0.0-rc.2","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.0.0-rc.2","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"dd8f26f755a31b31162ddc5e045e337aafe78022","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.0.0-rc.2.tgz","fileCount":42,"integrity":"sha512-OiTepphCcTg2DE68o4CBMhCeAQ7qmVNSQMfGW3Qslez7GrVypZPUIoJ0o9Bx/VhkO42Sf1pvuQemYPaxn0wVmQ==","signatures":[{"sig":"MEYCIQCRkix6fiekxWesQAicxj+oLgUkyolYCCx9/u+SsVwGpAIhAMZNXDe3byax4KQRDJTazvS0N/mfoM1VC+AI7hCxT2lC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81076,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcFPtzCRA9TVsSAnZWagAASGkP/3gRqWIp0CvaM5KPEt1O\nTFnh4NNFNcsOjTB+qPsUhX+9WJU3R5QpSCsvu0AmGydWJKvlRg7cQASkgZGk\nQoM54ryCREBI9ChzJSXgaOohuB/R9vRfyjWuCNW7TqfAyKqUim8b97AMYprI\n9G1ZUMdc0j7UZovM97vpMABPWveZRhYieQWeB5ARb/ejBm3zEdItgrfaoU+I\nZv+P8+ydZlp9SzVPIXKpOjxDVF8YVyWKPOyFchfN5nnqkrXS3Fn6tsJiYyhX\nNeVq3b+ll77eGeTZU3h+vG+/VhCYGHfS5r7IxDfLme65xv+5HtDrWKlw6d2O\nLgDIDBmUOeg6wfe5VnKMzLGNa8bMFuAm0PL5GPpy2T91rqm50E7Hc3QB2f1H\nnkcfZztStjVSvcGNF5TIa+kBWS0hbglpegERTOozEQWYDUKGSvavEpu+lKgt\nPdQ4zB2N/6txYO+XP72C/1/0zHWQgLSNaIR159PKPdDYecpvSo6tWI5NX+/F\n/ohDFMuCp2WJ00pPlFUymWdCLoxWmZcDoHXf4x8RcalG8qUeiYWTOxA+S+gs\nsA4jQkPq4mf59+TmtiuRVZBYEamjFWZ0Ho9VmU1NxXrNU4c8sG8F4wFtXkXK\nCcyemhrB5oc0GfeISiqHuPZZlNVUmBAVxdnkdJGuQbOVMzRG36XamnA5Roje\n78Es\r\n=eVN9\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","_from":".","readme":"# Webpacker\n\n![travis-ci status](https://api.travis-ci.org/rails/webpacker.svg?branch=master)\n[![node.js](https://img.shields.io/badge/node-%3E%3D%206.14.0-brightgreen.svg)](https://nodejs.org/en/)\n[![Gem](https://img.shields.io/gem/v/webpacker.svg)](https://github.com/rails/webpacker)\n\nWebpacker makes it easy to use the JavaScript pre-processor and bundler\n[webpack 4.x.x+](https://webpack.js.org/)\nto manage application-like JavaScript in Rails. It coexists with the asset pipeline,\nas the primary purpose for webpack is app-like JavaScript, not images, CSS, or\neven JavaScript Sprinkles (that all continues to live in app/assets).\n\nHowever, it is possible to use Webpacker for CSS, images and fonts assets as well,\nin which case you may not even need the asset pipeline. This is mostly relevant when exclusively using component-based JavaScript frameworks.\n\n**NOTE:** The master branch now hosts the code for v4.x.x. Please refer to [3-x-stable](https://github.com/rails/webpacker/tree/3-x-stable) branch for 3.x documentation.\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n- [Features](#features)\n- [Installation](#installation)\n  - [Usage](#usage)\n  - [Development](#development)\n  - [Webpack Configuration](#webpack-configuration)\n  - [Custom Rails environments](#custom-rails-environments)\n  - [Upgrading](#upgrading)\n  - [Yarn Integrity](#yarn-integrity)\n- [Integrations](#integrations)\n  - [React](#react)\n  - [Angular with TypeScript](#angular-with-typescript)\n  - [Vue](#vue)\n  - [Elm](#elm)\n  - [Stimulus](#stimulus)\n  - [Coffeescript](#coffeescript)\n  - [Erb](#erb)\n- [Paths](#paths)\n  - [Resolved](#resolved)\n  - [Watched](#watched)\n- [Deployment](#deployment)\n- [Docs](#docs)\n- [Contributing](#contributing)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n\n## Prerequisites\n\n* Ruby 2.2+\n* Rails 4.2+\n* Node.js 6.14.4+\n* Yarn 1.x+\n\n\n## Features\n\n* [webpack 4.x.x](https://webpack.js.org/)\n* ES6 with [babel](https://babeljs.io/)\n* Automatic code splitting using multiple entry points\n* Stylesheets - Sass and CSS\n* Images and fonts\n* PostCSS - Auto-Prefixer\n* Asset compression, source-maps, and minification\n* CDN support\n* React, Angular, Elm and Vue support out-of-the-box\n* Rails view helpers\n* Extensible and configurable\n\n\n## Installation\n\nYou can either add Webpacker during setup of a new Rails 5.1+ application\nusing new `--webpack` option:\n\n```bash\n# Available Rails 5.1+\nrails new myapp --webpack\n```\n\nOr add it to your `Gemfile`:\n\n```ruby\n# Gemfile\ngem 'webpacker', '~> 3.5'\n\n# OR if you prefer to use master\ngem 'webpacker', git: 'https://github.com/rails/webpacker.git'\nyarn add https://github.com/rails/webpacker.git\n\n# OR to try out 4.x pre-release\ngem 'webpacker', '>= 4.0.x'\nyarn add @rails/webpacker@next\n```\n\nFinally, run the following to install Webpacker:\n\n```bash\nbundle\nbundle exec rails webpacker:install\n\n# OR (on rails version < 5.0)\nbundle exec rake webpacker:install\n```\n\nOptional: To fix [\"unmet peer dependency\" warnings](https://github.com/rails/webpacker/issues/1078),\n\n```bash\nyarn upgrade\n```\n\n### Usage\n\nOnce installed, you can start writing modern ES6-flavored JavaScript apps right away:\n\n```yml\napp/javascript:\n  ├── packs:\n  │   # only webpack entry files here\n  │   └── application.js\n  └── src:\n  │   └── application.css\n  └── images:\n      └── logo.svg\n```\n\nYou can then link the JavaScript pack in Rails views using the `javascript_pack_tag` helper.\nIf you have styles imported in your pack file, you can link them by using `stylesheet_pack_tag`:\n\n```erb\n<%= javascript_pack_tag 'application' %>\n<%= stylesheet_pack_tag 'application' %>\n```\n\nIf you want to link a static asset for `<link rel=\"prefetch\">` or `<img />` tag, you\ncan use the `asset_pack_path` helper:\n\n```erb\n<link rel=\"prefetch\" href=\"<%= asset_pack_path 'application.css' %>\" />\n<img src=\"<%= asset_pack_path 'images/logo.svg' %>\" />\n```\n\n**Note:** In order for your styles or static assets files to be available in your view,\nyou would need to link them in your \"pack\" or entry file.\n\n\n### Development\n\nWebpacker ships with two binstubs: `./bin/webpack` and `./bin/webpack-dev-server`.\nBoth are thin wrappers around the standard `webpack.js` and `webpack-dev-server.js`\nexecutables to ensure that the right configuration files and environmental variables\nare loaded based on your environment.\n\nIn development, Webpacker compiles on demand rather than upfront by default. This\nhappens when you refer to any of the pack assets using the Webpacker helper methods.\nThis means that you don't have to run any separate processes. Compilation errors are logged\nto the standard Rails log.\n\nIf you want to use live code reloading, or you have enough JavaScript that on-demand compilation is too slow, you'll need to run `./bin/webpack-dev-server` or `ruby ./bin/webpack-dev-server`. Windows users will need to run these commands\nin a terminal separate from `bundle exec rails s`. This process will watch for changes\nin the `app/javascript/packs/*.js` files and automatically reload the browser to match.\n\n```bash\n# webpack dev server\n./bin/webpack-dev-server\n\n# watcher\n./bin/webpack --watch --colors --progress\n\n# standalone build\n./bin/webpack\n```\n\nOnce you start this development server, Webpacker will automatically start proxying all\nwebpack asset requests to this server. When you stop the server, it'll revert back to\non-demand compilation.\n\nYou can use environment variables as options supported by\n[webpack-dev-server](https://webpack.js.org/configuration/dev-server/) in the\nform `WEBPACKER_DEV_SERVER_<OPTION>`. Please note that these environmental\nvariables will always take precedence over the ones already set in the\nconfiguration file, and that the _same_ environmental variables must\nbe available to the `rails server` process.\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=example.com WEBPACKER_DEV_SERVER_INLINE=true WEBPACKER_DEV_SERVER_HOT=false ./bin/webpack-dev-server\n```\n\nBy default, the webpack dev server listens on `localhost` in development for security purposes.\nHowever, if you want your app to be available over local LAN IP or a VM instance like vagrant,\nyou can set the `host` when running `./bin/webpack-dev-server` binstub:\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=0.0.0.0 ./bin/webpack-dev-server\n```\n\n**Note:** You need to allow webpack-dev-server host as an allowed origin for `connect-src` if you are running your application in a restrict CSP environment (like Rails 5.2+). This can be done in Rails 5.2+ in the CSP initializer `config/initializers/content_security_policy.rb` with a snippet like this:\n\n```ruby\n  Rails.application.config.content_security_policy do |policy|\n    policy.connect_src :self, :https, 'http://localhost:3035', 'ws://localhost:3035' if Rails.env.development?\n  end\n```\n\n**Note:** Don't forget to prefix `ruby` when running these binstubs on Windows\n\n### Webpack Configuration\n\nSee [docs/webpack](docs/webpack.md) for modifying webpack configuration and loaders.\n\n\n### Custom Rails environments\n\nOut of the box Webpacker ships with - development, test and production environments in `config/webpacker.yml` however, in most production apps extra environments are needed as part of deployment workflow. Webpacker supports this out of the box from version 3.4.0+ onwards.\n\nYou can choose to define additional environment configurations in webpacker.yml,\n\n```yml\nstaging:\n  <<: *default\n\n  # Production depends on precompilation of packs prior to booting for performance.\n  compile: false\n\n  # Cache manifest.json for performance\n  cache_manifest: true\n\n  # Compile staging packs to a separate directory\n  public_output_path: packs-staging\n```\n\nor, Webpacker will use production environment as a fallback environment for loading configurations. Please note, `NODE_ENV` can either be set to `production`, `development` or `test`.\nThis means you don't need to create additional environment files inside `config/webpacker/*` and instead use webpacker.yml to load different configurations using `RAILS_ENV`.\n\nFor example, the below command will compile assets in production mode but will use staging configurations from `config/webpacker.yml` if available or use fallback production environment configuration:\n\n```bash\nRAILS_ENV=staging bundle exec rails assets:precompile\n```\n\nAnd, this will compile in development mode and load configuration for cucumber environment\nif defined in webpacker.yml or fallback to production configuration\n\n```bash\nRAILS_ENV=cucumber NODE_ENV=development bundle exec rails assets:precompile\n```\n\nPlease note, binstubs compiles in development mode however rake tasks\ncompiles in production mode.\n\n```bash\n# Compiles in development mode unless NODE_ENV is specified\n./bin/webpack\n./bin/webpack-dev-server\n\n# compiles in production mode by default unless NODE_ENV is specified\nbundle exec rails assets:precompile\nbundle exec rails webpacker:compile\n```\n\n\n### Upgrading\n\nYou can run following commands to upgrade Webpacker to the latest stable version. This process involves upgrading the gem and related JavaScript packages:\n\n```bash\nbundle update webpacker\nrails webpacker:binstubs\nyarn upgrade @rails/webpacker --latest\nyarn add webpack-dev-server@^2.11.1\n\n# Or to install a latest release (including pre-releases)\nyarn add @rails/webpacker@next\n```\n\n### Yarn Integrity\n\nBy default, in development, webpacker runs a yarn integrity check to ensure that all local JavaScript packages are up-to-date. This is similar to what bundler does currently in Rails, but for JavaScript packages. If your system is out of date, then Rails will not initialize. You will be asked to upgrade your local JavaScript packages by running `yarn install`.\n\nTo turn off this option, you will need to change the default setting in `config/webpacker.yml`:\n\n```yaml\n# config/webpacker.yml\ndevelopment:\n  ...\n  # Verifies that versions and hashed value of the package contents in the project's package.json\n  check_yarn_integrity: false\n```\n\nYou may also turn on this feature by adding the config option for any Rails environment in `config/webpacker.yml`:\n\n```yaml\n  check_yarn_integrity: true\n```\n\n## Integrations\n\nWebpacker ships with basic out-of-the-box integration for React, Angular, Vue and Elm.\nYou can see a list of available commands/tasks by running `bundle exec rails webpacker`:\n\n### React\n\nTo use Webpacker with [React](https://facebook.github.io/react/), create a\nnew Rails 5.1+ app using `--webpack=react` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=react\n```\n\n(or run `bundle exec rails webpacker:install:react` in a existing Rails app already\nsetup with Webpacker).\n\nThe installer will add all relevant dependencies using Yarn, changes\nto the configuration files, and an example React component to your\nproject in `app/javascript/packs` so that you can experiment with React right away.\n\n\n### Angular with TypeScript\n\nTo use Webpacker with [Angular](https://angular.io/), create a\nnew Rails 5.1+ app using `--webpack=angular` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=angular\n```\n\n(or run `bundle exec rails webpacker:install:angular` on a Rails app already\nsetup with Webpacker).\n\nThe installer will add the TypeScript and Angular core libraries using Yarn alongside\na few changes to the configuration files. An example component written in\nTypeScript will also be added to your project in `app/javascript` so that\nyou can experiment with Angular right away.\n\nBy default, Angular uses a JIT compiler for development environment. This\ncompiler is not compatible with restrictive CSP (Content Security\nPolicy) environments like Rails 5.2+. You can use Angular AOT compiler\nin development with the [@ngtools/webpack](https://www.npmjs.com/package/@ngtools/webpack#usage) plugin.\n\nAlternatively if you're using Rails 5.2+ you can enable `unsafe-eval` rule for your\ndevelopment environment. This can be done in the `config/initializers/content_security_policy.rb`\nwith the following code:\n\n```ruby\nRails.application.config.content_security_policy do |policy|\n  if Rails.env.development?\n    policy.script_src :self, :https, :unsafe_eval\n  else\n    policy.script_src :self, :https\n  end\nend\n```\n\n\n### Vue\n\nTo use Webpacker with [Vue](https://vuejs.org/), create a\nnew Rails 5.1+ app using `--webpack=vue` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=vue\n```\n(or run `bundle exec rails webpacker:install:vue` on a Rails app already setup with Webpacker).\n\nThe installer will add Vue and its required libraries using Yarn alongside\nautomatically applying changes needed to the configuration files. An example component will\nbe added to your project in `app/javascript` so that you can experiment with Vue right away.\n\nIf you're using Rails 5.2+ you'll need to enable `unsafe-eval` rule for your development environment.\nThis can be done in the `config/initializers/content_security_policy.rb` with the following\nconfiguration:\n\n```ruby\nRails.application.config.content_security_policy do |policy|\n  if Rails.env.development?\n    policy.script_src :self, :https, :unsafe_eval\n  else\n    policy.script_src :self, :https\n  end\nend\n```\nYou can read more about this in the [Vue docs](https://vuejs.org/v2/guide/installation.html#CSP-environments).\n\n\n### Elm\n\nTo use Webpacker with [Elm](http://elm-lang.org), create a\nnew Rails 5.1+ app using `--webpack=elm` option:\n\n```\n# Rails 5.1+\nrails new myapp --webpack=elm\n```\n\n(or run `bundle exec rails webpacker:install:elm` on a Rails app already setup with Webpacker).\n\nThe Elm library and its core packages will be added via Yarn and Elm.\nAn example `Main.elm` app will also be added to your project in `app/javascript`\nso that you can experiment with Elm right away.\n\n### Stimulus\n\nTo use Webpacker with [Stimulus](http://stimulusjs.org), create a\nnew Rails 5.1+ app using `--webpack=stimulus` option:\n\n```\n# Rails 5.1+\nrails new myapp --webpack=stimulus\n```\n\n(or run `bundle exec rails webpacker:install:stimulus` on a Rails app already setup with Webpacker).\n\nPlease read [The Stimulus Handbook](https://stimulusjs.org/handbook/introduction) or learn more about its source code at https://github.com/stimulusjs/stimulus\n\n### Coffeescript\n\nTo add [Coffeescript](http://coffeescript.org/) support,\nrun `bundle exec rails webpacker:install:coffee` on a Rails app already\nsetup with Webpacker.\n\nAn example `hello_coffee.coffee` file will also be added to your project\nin `app/javascript/packs` so that you can experiment with Coffeescript right away.\n\n### Erb\n\nTo add [Erb](https://apidock.com/ruby/ERB) support in your JS templates,\nrun `bundle exec rails webpacker:install:erb` on a Rails app already\nsetup with Webpacker.\n\nAn example `hello_erb.js.erb` file will also be added to your project\nin `app/javascript/packs` so that you can experiment with Erb-flavoured\njavascript right away.\n\n\n## Paths\n\nBy default, Webpacker ships with simple conventions for where the JavaScript\napp files and compiled webpack bundles will go in your Rails app.\nAll these options are configurable from `config/webpacker.yml` file.\n\nThe configuration for what webpack is supposed to compile by default rests\non the convention that every file in `app/javascript/packs/*`**(default)**\nor whatever path you set for `source_entry_path` in the `webpacker.yml` configuration\nis turned into their own output files (or entry points, as webpack calls it). Therefore you don't want to put anything inside `packs` directory that you do not want to be\nan entry file. As a rule of thumb, put all files you want to link in your views inside\n\"packs\" directory and keep everything else under `app/javascript`.\n\nSuppose you want to change the source directory from `app/javascript`\nto `frontend` and output to `assets/packs`. This is how you would do it:\n\n```yml\n# config/webpacker.yml\nsource_path: frontend\nsource_entry_path: packs\npublic_output_path: assets/packs # outputs to => public/assets/packs\n```\n\nSimilarly you can also control and configure `webpack-dev-server` settings from `config/webpacker.yml` file:\n\n```yml\n# config/webpacker.yml\ndevelopment:\n  dev_server:\n    host: localhost\n    port: 3035\n```\n\nIf you have `hmr` turned to true, then the `stylesheet_pack_tag` generates no output, as you will want to configure your styles to be inlined in your JavaScript for hot reloading. During production and testing, the `stylesheet_pack_tag` will create the appropriate HTML tags.\n\n\n### Resolved\n\nIf you are adding Webpacker to an existing app that has most of the assets inside\n`app/assets` or inside an engine, and you want to share that\nwith webpack modules, you can use the `resolved_paths`\noption available in `config/webpacker.yml`. This lets you\nadd additional paths that webpack should lookup when resolving modules:\n\n```yml\nresolved_paths: ['app/assets']\n```\n\nYou can then import these items inside your modules like so:\n\n```js\n// Note it's relative to parent directory i.e. app/assets\nimport 'stylesheets/main'\nimport 'images/rails.png'\n```\n\n**Note:** Please be careful when adding paths here otherwise it\nwill make the compilation slow, consider adding specific paths instead of\nwhole parent directory if you just need to reference one or two modules\n\n\n### Watched\n\nBy default, the lazy compilation is cached until a file is changed under your\ntracked paths. You can configure which paths are tracked\nby adding new paths to `watched_paths` array. This is much like Rails' `autoload_paths`:\n\n```rb\n# config/initializers/webpacker.rb\n# or config/application.rb\nWebpacker::Compiler.watched_paths << 'bower_components'\n```\n\n\n## Deployment\n\nWebpacker hooks up a new `webpacker:compile` task to `assets:precompile`, which gets run whenever you run `assets:precompile`. If you are not using Sprockets, `webpacker:compile` is automatically aliased to `assets:precompile`. Similar to sprockets both rake tasks will compile packs in production mode but will use `RAILS_ENV` to load configuration from `config/webpacker.yml` (if available).\n\n\n## Docs\n\nYou can find more detailed guides under [docs](./docs).\n\n\n## Contributing\n[![Code Helpers](https://www.codetriage.com/rails/webpacker/badges/users.svg)](https://www.codetriage.com/rails/webpacker)\n\nWe encourage you to contribute to Webpacker! See [CONTRIBUTING](CONTRIBUTING.md) for guidelines about how to proceed.\n\n\n## License\nWebpacker is released under the [MIT License](https://opensource.org/licenses/MIT).\n","_shasum":"dd8f26f755a31b31162ddc5e045e337aafe78022","engines":{"node":">=6.14.4","yarn":">=1.0.0"},"gitHead":"4a100ae3f8df17aeeb3a59ad1d5326e2fd4ef01d","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"3.10.10","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"6.14.4","dependencies":{"glob":"^7.1.3","js-yaml":"^3.12.0","webpack":"^4.27.1","node-sass":"^4.11.0","css-loader":"^2.0.1","@babel/core":"^7.2.0","file-loader":"^2.0.0","sass-loader":"^7.1.0","webpack-cli":"^3.1.2","babel-loader":"^8.0.4","style-loader":"^0.23.1","@babel/runtime":"^7.2.0","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","@babel/polyfill":"^7.0.0","webpack-sources":"^1.3.0","@babel/preset-env":"^7.2.0","pnp-webpack-plugin":"^1.2.1","postcss-preset-env":"^6.5.0","babel-plugin-macros":"^2.4.2","postcss-safe-parser":"^4.0.1","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^1.1.0","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.5.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^2.0.0","@babel/plugin-transform-runtime":"^7.2.0","babel-plugin-dynamic-import-node":"^2.2.0","optimize-css-assets-webpack-plugin":"^5.0.1","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.0.0","case-sensitive-paths-webpack-plugin":"^2.1.2","@babel/plugin-transform-destructuring":"^7.2.0","@babel/plugin-proposal-class-properties":"^7.2.1","@babel/plugin-proposal-object-rest-spread":"^7.2.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^23.6.0","eslint":"^5.10.0","eslint-plugin-react":"^7.11.1","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.0.0-rc.2_1544878963245_0.9739967942235284","host":"s3://npm-registry-packages"}},"4.0.0-rc.3":{"name":"@rails/webpacker","version":"4.0.0-rc.3","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.0.0-rc.3","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"e63993759d738781cc8e905b012c98651d8877f8","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.0.0-rc.3.tgz","fileCount":42,"integrity":"sha512-Hlw8nyYqKPWaR8SYa19UFvkN4eDIj/NwQNrY7FBc1QhppnnXWhjfmuJOw8xV13K805qM0PX49xAorsYqMiimkw==","signatures":[{"sig":"MEUCIQDZyyJm6mclzxZYtAHJDIX9pTCcnskeb3ugqv1eecZw0QIgauJNwUyVIBDZGFFyAhf222z5NwESTO4ogHEtCo0saOU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":84031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcQPr7CRA9TVsSAnZWagAAOIkP/3gBXGvFXDLDH668usxZ\njjx55CznoDlzCOFWG9CbYNUl4dMoCYhTG1Z4S1sxFK2aAK7MAIYieXDt383x\ntQdrIcFosgF7HL25L/bgd9MiB1yKEVPpsBdgX0n1xOdeHNz3eIqbzVEwPs22\n7VOT/dul3Jxw5/8qc6NG/VwYuspatTfD8zKg1QiiLZFe8aZ8M6CTIAZ19iYV\nRgDwPVNgFWyKDQIOXLXHxx+KKC4U/btTLHflhVqzFld8a7OmUHmde2bbn4+l\n+wS8NqF1+E6Jqh2+59N0xJbhYh6V45MFe4FsopnJuUurbGzZw55dlvIbilYy\nVSmuJuLhFogioeQuuVPERWqmLnV4G5nnsSKvS3PmJQRuAbeMJyqnFhYJnH9d\njlSdGkAn1SN1REa+Z+/S4bKfi1fLKbQPjWk/BIup/zWiDScOa2nIP5G9oRcL\n461x/mbXGR2B2YB1ykOFZLzqPzofF6Pn7wQEz34UXK2qbBwUSE265DTM5DSv\n8XR3Uhh7BJk+AhY/tCV4hO22XwDzNWqRoRhtkujuBg8m9CWM7ph0JezN607z\nBVUTTOVxde/0ZGEn/aFYAwQ4JtlmsuDyaoDx46y2f+ziEyixmvPcrB3g0uvn\nmLl19yv2fPjnhqAJUk3D0wOevujraR25Ce0xd/HbaBuaHezoZcrIFMY/oxx4\n9ijZ\r\n=PcYX\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","_from":".","readme":"# Webpacker\n\n![travis-ci status](https://api.travis-ci.org/rails/webpacker.svg?branch=master)\n[![node.js](https://img.shields.io/badge/node-%3E%3D%206.14.0-brightgreen.svg)](https://nodejs.org/en/)\n[![Gem](https://img.shields.io/gem/v/webpacker.svg)](https://github.com/rails/webpacker)\n\nWebpacker makes it easy to use the JavaScript pre-processor and bundler\n[webpack 4.x.x+](https://webpack.js.org/)\nto manage application-like JavaScript in Rails. It coexists with the asset pipeline,\nas the primary purpose for webpack is app-like JavaScript, not images, CSS, or\neven JavaScript Sprinkles (that all continues to live in app/assets).\n\nHowever, it is possible to use Webpacker for CSS, images and fonts assets as well,\nin which case you may not even need the asset pipeline. This is mostly relevant when exclusively using component-based JavaScript frameworks.\n\n**NOTE:** The master branch now hosts the code for v4.x.x. Please refer to [3-x-stable](https://github.com/rails/webpacker/tree/3-x-stable) branch for 3.x documentation.\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n- [Features](#features)\n- [Installation](#installation)\n  - [Usage](#usage)\n  - [Development](#development)\n  - [Webpack Configuration](#webpack-configuration)\n  - [Custom Rails environments](#custom-rails-environments)\n  - [Upgrading](#upgrading)\n  - [Yarn Integrity](#yarn-integrity)\n- [Integrations](#integrations)\n  - [React](#react)\n  - [Angular with TypeScript](#angular-with-typescript)\n  - [Vue](#vue)\n  - [Elm](#elm)\n  - [Stimulus](#stimulus)\n  - [Coffeescript](#coffeescript)\n  - [Erb](#erb)\n- [Paths](#paths)\n  - [Resolved](#resolved)\n  - [Watched](#watched)\n- [Deployment](#deployment)\n- [Docs](#docs)\n- [Contributing](#contributing)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n\n## Prerequisites\n\n* Ruby 2.2+\n* Rails 4.2+\n* Node.js 6.14.4+\n* Yarn 1.x+\n\n\n## Features\n\n* [webpack 4.x.x](https://webpack.js.org/)\n* ES6 with [babel](https://babeljs.io/)\n* Automatic code splitting using multiple entry points\n* Stylesheets - Sass and CSS\n* Images and fonts\n* PostCSS - Auto-Prefixer\n* Asset compression, source-maps, and minification\n* CDN support\n* React, Angular, Elm and Vue support out-of-the-box\n* Rails view helpers\n* Extensible and configurable\n\n\n## Installation\n\nYou can either add Webpacker during setup of a new Rails 5.1+ application\nusing new `--webpack` option:\n\n```bash\n# Available Rails 5.1+\nrails new myapp --webpack\n```\n\nOr add it to your `Gemfile`:\n\n```ruby\n# Gemfile\ngem 'webpacker', '~> 3.5'\n\n# OR if you prefer to use master\ngem 'webpacker', git: 'https://github.com/rails/webpacker.git'\nyarn add https://github.com/rails/webpacker.git\n\n# OR to try out 4.x pre-release\ngem 'webpacker', '>= 4.0.x'\nyarn add @rails/webpacker@next\n```\n\nFinally, run the following to install Webpacker:\n\n```bash\nbundle\nbundle exec rails webpacker:install\n\n# OR (on rails version < 5.0)\nbundle exec rake webpacker:install\n```\n\nOptional: To fix [\"unmet peer dependency\" warnings](https://github.com/rails/webpacker/issues/1078),\n\n```bash\nyarn upgrade\n```\n\n### Usage\n\nOnce installed, you can start writing modern ES6-flavored JavaScript apps right away:\n\n```yml\napp/javascript:\n  ├── packs:\n  │   # only webpack entry files here\n  │   └── application.js\n  └── src:\n  │   └── application.css\n  └── images:\n      └── logo.svg\n```\n\nYou can then link the JavaScript pack in Rails views using the `javascript_pack_tag` helper.\nIf you have styles imported in your pack file, you can link them by using `stylesheet_pack_tag`:\n\n```erb\n<%= javascript_pack_tag 'application' %>\n<%= stylesheet_pack_tag 'application' %>\n```\n\nIf you want to link a static asset for `<link rel=\"prefetch\">` or `<img />` tag, you\ncan use the `asset_pack_path` helper:\n\n```erb\n<link rel=\"prefetch\" href=\"<%= asset_pack_path 'application.css' %>\" />\n<img src=\"<%= asset_pack_path 'images/logo.svg' %>\" />\n```\n\nIf you are using new webpack 4 split chunks API, then consider using `javascript_packs_with_chunks_tag` helper, which creates html\ntags for a pack and all the dependent chunks.\n\n```erb\n<%= javascript_packs_with_chunks_tag 'calendar', 'map', 'data-turbolinks-track': 'reload' %>\n\n<script src=\"/packs/vendor-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/calendar~runtime-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/calendar-1016838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/map~runtime-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/map-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n```\n\n**Important:** Pass all your pack names when using `javascript_packs_with_chunks_tag`\nhelper otherwise you will get duplicated chunks on the page.\n\n```erb\n<%# DO %>\n<%= javascript_packs_with_chunks_tag 'calendar', 'map' %>\n\n<%# DON'T %>\n<%= javascript_packs_with_chunks_tag 'calendar' %>\n<%= javascript_packs_with_chunks_tag 'map' %>\n```\n\n**Note:** In order for your styles or static assets files to be available in your view,\nyou would need to link them in your \"pack\" or entry file.\n\n\n### Development\n\nWebpacker ships with two binstubs: `./bin/webpack` and `./bin/webpack-dev-server`.\nBoth are thin wrappers around the standard `webpack.js` and `webpack-dev-server.js`\nexecutables to ensure that the right configuration files and environmental variables\nare loaded based on your environment.\n\nIn development, Webpacker compiles on demand rather than upfront by default. This\nhappens when you refer to any of the pack assets using the Webpacker helper methods.\nThis means that you don't have to run any separate processes. Compilation errors are logged\nto the standard Rails log.\n\nIf you want to use live code reloading, or you have enough JavaScript that on-demand compilation is too slow, you'll need to run `./bin/webpack-dev-server` or `ruby ./bin/webpack-dev-server`. Windows users will need to run these commands\nin a terminal separate from `bundle exec rails s`. This process will watch for changes\nin the `app/javascript/packs/*.js` files and automatically reload the browser to match.\n\n```bash\n# webpack dev server\n./bin/webpack-dev-server\n\n# watcher\n./bin/webpack --watch --colors --progress\n\n# standalone build\n./bin/webpack\n```\n\nOnce you start this development server, Webpacker will automatically start proxying all\nwebpack asset requests to this server. When you stop the server, it'll revert back to\non-demand compilation.\n\nYou can use environment variables as options supported by\n[webpack-dev-server](https://webpack.js.org/configuration/dev-server/) in the\nform `WEBPACKER_DEV_SERVER_<OPTION>`. Please note that these environmental\nvariables will always take precedence over the ones already set in the\nconfiguration file, and that the _same_ environmental variables must\nbe available to the `rails server` process.\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=example.com WEBPACKER_DEV_SERVER_INLINE=true WEBPACKER_DEV_SERVER_HOT=false ./bin/webpack-dev-server\n```\n\nBy default, the webpack dev server listens on `localhost` in development for security purposes.\nHowever, if you want your app to be available over local LAN IP or a VM instance like vagrant,\nyou can set the `host` when running `./bin/webpack-dev-server` binstub:\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=0.0.0.0 ./bin/webpack-dev-server\n```\n\n**Note:** You need to allow webpack-dev-server host as an allowed origin for `connect-src` if you are running your application in a restrict CSP environment (like Rails 5.2+). This can be done in Rails 5.2+ in the CSP initializer `config/initializers/content_security_policy.rb` with a snippet like this:\n\n```ruby\n  Rails.application.config.content_security_policy do |policy|\n    policy.connect_src :self, :https, 'http://localhost:3035', 'ws://localhost:3035' if Rails.env.development?\n  end\n```\n\n**Note:** Don't forget to prefix `ruby` when running these binstubs on Windows\n\n### Webpack Configuration\n\nSee [docs/webpack](docs/webpack.md) for modifying webpack configuration and loaders.\n\n\n### Custom Rails environments\n\nOut of the box Webpacker ships with - development, test and production environments in `config/webpacker.yml` however, in most production apps extra environments are needed as part of deployment workflow. Webpacker supports this out of the box from version 3.4.0+ onwards.\n\nYou can choose to define additional environment configurations in webpacker.yml,\n\n```yml\nstaging:\n  <<: *default\n\n  # Production depends on precompilation of packs prior to booting for performance.\n  compile: false\n\n  # Cache manifest.json for performance\n  cache_manifest: true\n\n  # Compile staging packs to a separate directory\n  public_output_path: packs-staging\n```\n\nor, Webpacker will use production environment as a fallback environment for loading configurations. Please note, `NODE_ENV` can either be set to `production`, `development` or `test`.\nThis means you don't need to create additional environment files inside `config/webpacker/*` and instead use webpacker.yml to load different configurations using `RAILS_ENV`.\n\nFor example, the below command will compile assets in production mode but will use staging configurations from `config/webpacker.yml` if available or use fallback production environment configuration:\n\n```bash\nRAILS_ENV=staging bundle exec rails assets:precompile\n```\n\nAnd, this will compile in development mode and load configuration for cucumber environment\nif defined in webpacker.yml or fallback to production configuration\n\n```bash\nRAILS_ENV=cucumber NODE_ENV=development bundle exec rails assets:precompile\n```\n\nPlease note, binstubs compiles in development mode however rake tasks\ncompiles in production mode.\n\n```bash\n# Compiles in development mode unless NODE_ENV is specified\n./bin/webpack\n./bin/webpack-dev-server\n\n# compiles in production mode by default unless NODE_ENV is specified\nbundle exec rails assets:precompile\nbundle exec rails webpacker:compile\n```\n\n\n### Upgrading\n\nYou can run following commands to upgrade Webpacker to the latest stable version. This process involves upgrading the gem and related JavaScript packages:\n\n```bash\nbundle update webpacker\nrails webpacker:binstubs\nyarn upgrade @rails/webpacker --latest\nyarn add webpack-dev-server@^3.1.14\n\n# Or to install a latest release (including pre-releases)\nyarn add @rails/webpacker@next\n```\n\n### Yarn Integrity\n\nBy default, in development, webpacker runs a yarn integrity check to ensure that all local JavaScript packages are up-to-date. This is similar to what bundler does currently in Rails, but for JavaScript packages. If your system is out of date, then Rails will not initialize. You will be asked to upgrade your local JavaScript packages by running `yarn install`.\n\nTo turn off this option, you will need to change the default setting in `config/webpacker.yml`:\n\n```yaml\n# config/webpacker.yml\ndevelopment:\n  ...\n  # Verifies that versions and hashed value of the package contents in the project's package.json\n  check_yarn_integrity: false\n```\n\nYou may also turn on this feature by adding the config option for any Rails environment in `config/webpacker.yml`:\n\n```yaml\n  check_yarn_integrity: true\n```\n\n## Integrations\n\nWebpacker ships with basic out-of-the-box integration for React, Angular, Vue and Elm.\nYou can see a list of available commands/tasks by running `bundle exec rails webpacker`:\n\n### React\n\nTo use Webpacker with [React](https://facebook.github.io/react/), create a\nnew Rails 5.1+ app using `--webpack=react` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=react\n```\n\n(or run `bundle exec rails webpacker:install:react` in a existing Rails app already\nsetup with Webpacker).\n\nThe installer will add all relevant dependencies using Yarn, changes\nto the configuration files, and an example React component to your\nproject in `app/javascript/packs` so that you can experiment with React right away.\n\n\n### Angular with TypeScript\n\nTo use Webpacker with [Angular](https://angular.io/), create a\nnew Rails 5.1+ app using `--webpack=angular` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=angular\n```\n\n(or run `bundle exec rails webpacker:install:angular` on a Rails app already\nsetup with Webpacker).\n\nThe installer will add the TypeScript and Angular core libraries using Yarn alongside\na few changes to the configuration files. An example component written in\nTypeScript will also be added to your project in `app/javascript` so that\nyou can experiment with Angular right away.\n\nBy default, Angular uses a JIT compiler for development environment. This\ncompiler is not compatible with restrictive CSP (Content Security\nPolicy) environments like Rails 5.2+. You can use Angular AOT compiler\nin development with the [@ngtools/webpack](https://www.npmjs.com/package/@ngtools/webpack#usage) plugin.\n\nAlternatively if you're using Rails 5.2+ you can enable `unsafe-eval` rule for your\ndevelopment environment. This can be done in the `config/initializers/content_security_policy.rb`\nwith the following code:\n\n```ruby\nRails.application.config.content_security_policy do |policy|\n  if Rails.env.development?\n    policy.script_src :self, :https, :unsafe_eval\n  else\n    policy.script_src :self, :https\n  end\nend\n```\n\n\n### Vue\n\nTo use Webpacker with [Vue](https://vuejs.org/), create a\nnew Rails 5.1+ app using `--webpack=vue` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=vue\n```\n(or run `bundle exec rails webpacker:install:vue` on a Rails app already setup with Webpacker).\n\nThe installer will add Vue and its required libraries using Yarn alongside\nautomatically applying changes needed to the configuration files. An example component will\nbe added to your project in `app/javascript` so that you can experiment with Vue right away.\n\nIf you're using Rails 5.2+ you'll need to enable `unsafe-eval` rule for your development environment.\nThis can be done in the `config/initializers/content_security_policy.rb` with the following\nconfiguration:\n\n```ruby\nRails.application.config.content_security_policy do |policy|\n  if Rails.env.development?\n    policy.script_src :self, :https, :unsafe_eval\n  else\n    policy.script_src :self, :https\n  end\nend\n```\nYou can read more about this in the [Vue docs](https://vuejs.org/v2/guide/installation.html#CSP-environments).\n\n\n### Elm\n\nTo use Webpacker with [Elm](http://elm-lang.org), create a\nnew Rails 5.1+ app using `--webpack=elm` option:\n\n```\n# Rails 5.1+\nrails new myapp --webpack=elm\n```\n\n(or run `bundle exec rails webpacker:install:elm` on a Rails app already setup with Webpacker).\n\nThe Elm library and its core packages will be added via Yarn and Elm.\nAn example `Main.elm` app will also be added to your project in `app/javascript`\nso that you can experiment with Elm right away.\n\n### Stimulus\n\nTo use Webpacker with [Stimulus](http://stimulusjs.org), create a\nnew Rails 5.1+ app using `--webpack=stimulus` option:\n\n```\n# Rails 5.1+\nrails new myapp --webpack=stimulus\n```\n\n(or run `bundle exec rails webpacker:install:stimulus` on a Rails app already setup with Webpacker).\n\nPlease read [The Stimulus Handbook](https://stimulusjs.org/handbook/introduction) or learn more about its source code at https://github.com/stimulusjs/stimulus\n\n### Coffeescript\n\nTo add [Coffeescript](http://coffeescript.org/) support,\nrun `bundle exec rails webpacker:install:coffee` on a Rails app already\nsetup with Webpacker.\n\nAn example `hello_coffee.coffee` file will also be added to your project\nin `app/javascript/packs` so that you can experiment with Coffeescript right away.\n\n### Erb\n\nTo add [Erb](https://apidock.com/ruby/ERB) support in your JS templates,\nrun `bundle exec rails webpacker:install:erb` on a Rails app already\nsetup with Webpacker.\n\nAn example `hello_erb.js.erb` file will also be added to your project\nin `app/javascript/packs` so that you can experiment with Erb-flavoured\njavascript right away.\n\n\n## Paths\n\nBy default, Webpacker ships with simple conventions for where the JavaScript\napp files and compiled webpack bundles will go in your Rails app.\nAll these options are configurable from `config/webpacker.yml` file.\n\nThe configuration for what webpack is supposed to compile by default rests\non the convention that every file in `app/javascript/packs/*`**(default)**\nor whatever path you set for `source_entry_path` in the `webpacker.yml` configuration\nis turned into their own output files (or entry points, as webpack calls it). Therefore you don't want to put anything inside `packs` directory that you do not want to be\nan entry file. As a rule of thumb, put all files you want to link in your views inside\n\"packs\" directory and keep everything else under `app/javascript`.\n\nSuppose you want to change the source directory from `app/javascript`\nto `frontend` and output to `assets/packs`. This is how you would do it:\n\n```yml\n# config/webpacker.yml\nsource_path: frontend\nsource_entry_path: packs\npublic_output_path: assets/packs # outputs to => public/assets/packs\n```\n\nSimilarly you can also control and configure `webpack-dev-server` settings from `config/webpacker.yml` file:\n\n```yml\n# config/webpacker.yml\ndevelopment:\n  dev_server:\n    host: localhost\n    port: 3035\n```\n\nIf you have `hmr` turned to true, then the `stylesheet_pack_tag` generates no output, as you will want to configure your styles to be inlined in your JavaScript for hot reloading. During production and testing, the `stylesheet_pack_tag` will create the appropriate HTML tags.\n\n\n### Resolved\n\nIf you are adding Webpacker to an existing app that has most of the assets inside\n`app/assets` or inside an engine, and you want to share that\nwith webpack modules, you can use the `resolved_paths`\noption available in `config/webpacker.yml`. This lets you\nadd additional paths that webpack should lookup when resolving modules:\n\n```yml\nresolved_paths: ['app/assets']\n```\n\nYou can then import these items inside your modules like so:\n\n```js\n// Note it's relative to parent directory i.e. app/assets\nimport 'stylesheets/main'\nimport 'images/rails.png'\n```\n\n**Note:** Please be careful when adding paths here otherwise it\nwill make the compilation slow, consider adding specific paths instead of\nwhole parent directory if you just need to reference one or two modules\n\n\n### Watched\n\nBy default, the lazy compilation is cached until a file is changed under your\ntracked paths. You can configure which paths are tracked\nby adding new paths to `watched_paths` array. This is much like Rails' `autoload_paths`:\n\n```rb\n# config/initializers/webpacker.rb\n# or config/application.rb\nWebpacker::Compiler.watched_paths << 'bower_components'\n```\n\n\n## Deployment\n\nWebpacker hooks up a new `webpacker:compile` task to `assets:precompile`, which gets run whenever you run `assets:precompile`. If you are not using Sprockets, `webpacker:compile` is automatically aliased to `assets:precompile`. Similar to sprockets both rake tasks will compile packs in production mode but will use `RAILS_ENV` to load configuration from `config/webpacker.yml` (if available).\n\n\n## Docs\n\nYou can find more detailed guides under [docs](./docs).\n\n\n## Contributing\n[![Code Helpers](https://www.codetriage.com/rails/webpacker/badges/users.svg)](https://www.codetriage.com/rails/webpacker)\n\nWe encourage you to contribute to Webpacker! See [CONTRIBUTING](CONTRIBUTING.md) for guidelines about how to proceed.\n\n\n## License\nWebpacker is released under the [MIT License](https://opensource.org/licenses/MIT).\n","_shasum":"e63993759d738781cc8e905b012c98651d8877f8","engines":{"node":">=6.14.4","yarn":">=1.0.0"},"gitHead":"48d52362ac77e34c94623ec9a194403abd55d984","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"3.10.10","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"6.14.4","dependencies":{"glob":"^7.1.3","flatted":"^2.0.0","js-yaml":"^3.12.0","webpack":"^4.27.1","node-sass":"^4.11.0","css-loader":"^2.0.1","@babel/core":"^7.2.0","file-loader":"^2.0.0","sass-loader":"^7.1.0","webpack-cli":"^3.1.2","babel-loader":"^8.0.4","style-loader":"^0.23.1","@babel/runtime":"^7.2.0","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","@babel/polyfill":"^7.0.0","webpack-sources":"^1.3.0","@babel/preset-env":"^7.2.0","pnp-webpack-plugin":"^1.2.1","postcss-preset-env":"^6.5.0","babel-plugin-macros":"^2.4.2","postcss-safe-parser":"^4.0.1","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^1.1.0","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.5.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^2.0.0","@babel/plugin-transform-runtime":"^7.2.0","babel-plugin-dynamic-import-node":"^2.2.0","optimize-css-assets-webpack-plugin":"^5.0.1","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.0.0","case-sensitive-paths-webpack-plugin":"^2.1.2","@babel/plugin-transform-destructuring":"^7.2.0","@babel/plugin-proposal-class-properties":"^7.2.1","@babel/plugin-proposal-object-rest-spread":"^7.2.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^23.6.0","eslint":"^5.10.0","eslint-plugin-react":"^7.11.1","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.0.0-rc.3_1547762426589_0.33838419740609327","host":"s3://npm-registry-packages"}},"4.0.0-rc.4":{"name":"@rails/webpacker","version":"4.0.0-rc.4","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.0.0-rc.4","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"b788ce688d64f01decf196e470240222f7076924","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.0.0-rc.4.tgz","fileCount":42,"integrity":"sha512-uxidPFKVgSBkO7OPGgbqv/tTNdGvwsUGG9yDRd/0raZASeQxTjyRm3n5paMABPMaSBADb/0gmG2PS6wz0ML7hQ==","signatures":[{"sig":"MEUCIGbbwGwBrSctQnN44yhCgWo3IZ1klRx3+Vb1HHtd1zwWAiEAqk+/lRHxBjbGWR+VeCRNXS78w9oTE9XsOArkuySkZKs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":84873,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRbTjCRA9TVsSAnZWagAA+YsP/2qBrBFOJ6DJJO9wS+QI\nsgxctXhwUQ8kEuUhd0v27CRj7ZPcRia2aPfEgHgHDS8+HRqbHetYB5FpUUq3\nFgvfppGBjBney3hv6MAGIKbvfMdgDeQ47LYM9BuaCsP3VTnK0562UaQcK2fJ\nhQUYcKE2fSyzW1cQ1rneM+4qGpZ4gjaZQSFKN1cVWrzu4OJBCzOx9u3kqUV5\nuI/FFi3e/tHUewx6l6niby1OJ+t3e1yqcAudAxAQUJ6f27tAjI6L8AKRj5iz\nqsxBgjlSC2o670sT3oIxgZIUrqcXr+gA/TFHQ/XwhIrULVThUd3h6NE0xDCk\nkWQQinLET2XjaBIlk0o15P8hbwWKpRWPvaeBWZemPE61yrBFrhwvYj/wxN85\nS+5W4d9oRpeyXP4F3CsBk0Wl1cRD+kEv6sMIDuJhP6KldHsvtpMwFhkpCPw8\ngtHDUZZa2NvGzREK9zCZQpqeb64KahLm52iPmFaykjb0/82h4AC9zRpfbfys\nkvsfYJX5H2bIzhePqKlF8vBUQ+6wCaRGma1As3tHCIS/7VGnfrdiTmZzGSnZ\n3RXZvUHC76dpCVgojoX11zskGqODemvy4P0BmT+OHFRUjdsCsNesjiZtiMRd\nwuEsbteb1likFjbOVjmOQh2Zy2Hxd6iXnxP7zo9xOILxEC/vi53UD228CnPw\n6V96\r\n=p6Wa\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","_from":".","readme":"# Webpacker\n\n![travis-ci status](https://api.travis-ci.org/rails/webpacker.svg?branch=master)\n[![node.js](https://img.shields.io/badge/node-%3E%3D%206.14.0-brightgreen.svg)](https://nodejs.org/en/)\n[![Gem](https://img.shields.io/gem/v/webpacker.svg)](https://github.com/rails/webpacker)\n\nWebpacker makes it easy to use the JavaScript pre-processor and bundler\n[webpack 4.x.x+](https://webpack.js.org/)\nto manage application-like JavaScript in Rails. It coexists with the asset pipeline,\nas the primary purpose for webpack is app-like JavaScript, not images, CSS, or\neven JavaScript Sprinkles (that all continues to live in app/assets).\n\nHowever, it is possible to use Webpacker for CSS, images and fonts assets as well,\nin which case you may not even need the asset pipeline. This is mostly relevant when exclusively using component-based JavaScript frameworks.\n\n**NOTE:** The master branch now hosts the code for v4.x.x. Please refer to [3-x-stable](https://github.com/rails/webpacker/tree/3-x-stable) branch for 3.x documentation.\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n- [Features](#features)\n- [Installation](#installation)\n  - [Usage](#usage)\n  - [Development](#development)\n  - [Webpack Configuration](#webpack-configuration)\n  - [Custom Rails environments](#custom-rails-environments)\n  - [Upgrading](#upgrading)\n  - [Yarn Integrity](#yarn-integrity)\n- [Integrations](#integrations)\n  - [React](#react)\n  - [Angular with TypeScript](#angular-with-typescript)\n  - [Vue](#vue)\n  - [Elm](#elm)\n  - [Stimulus](#stimulus)\n  - [Coffeescript](#coffeescript)\n  - [Erb](#erb)\n- [Paths](#paths)\n  - [Resolved](#resolved)\n  - [Watched](#watched)\n- [Deployment](#deployment)\n- [Docs](#docs)\n- [Contributing](#contributing)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n\n## Prerequisites\n\n* Ruby 2.2+\n* Rails 4.2+\n* Node.js 6.14.4+\n* Yarn 1.x+\n\n\n## Features\n\n* [webpack 4.x.x](https://webpack.js.org/)\n* ES6 with [babel](https://babeljs.io/)\n* Automatic code splitting using multiple entry points\n* Stylesheets - Sass and CSS\n* Images and fonts\n* PostCSS - Auto-Prefixer\n* Asset compression, source-maps, and minification\n* CDN support\n* React, Angular, Elm and Vue support out-of-the-box\n* Rails view helpers\n* Extensible and configurable\n\n\n## Installation\n\nYou can either add Webpacker during setup of a new Rails 5.1+ application\nusing new `--webpack` option:\n\n```bash\n# Available Rails 5.1+\nrails new myapp --webpack\n```\n\nOr add it to your `Gemfile`:\n\n```ruby\n# Gemfile\ngem 'webpacker', '~> 3.5'\n\n# OR if you prefer to use master\ngem 'webpacker', git: 'https://github.com/rails/webpacker.git'\nyarn add https://github.com/rails/webpacker.git\n\n# OR to try out 4.x pre-release\ngem 'webpacker', '>= 4.0.x'\nyarn add @rails/webpacker@next\n```\n\nFinally, run the following to install Webpacker:\n\n```bash\nbundle\nbundle exec rails webpacker:install\n\n# OR (on rails version < 5.0)\nbundle exec rake webpacker:install\n```\n\nOptional: To fix [\"unmet peer dependency\" warnings](https://github.com/rails/webpacker/issues/1078),\n\n```bash\nyarn upgrade\n```\n\n### Usage\n\nOnce installed, you can start writing modern ES6-flavored JavaScript apps right away:\n\n```yml\napp/javascript:\n  ├── packs:\n  │   # only webpack entry files here\n  │   └── application.js\n  └── src:\n  │   └── application.css\n  └── images:\n      └── logo.svg\n```\n\nYou can then link the JavaScript pack in Rails views using the `javascript_pack_tag` helper.\nIf you have styles imported in your pack file, you can link them by using `stylesheet_pack_tag`:\n\n```erb\n<%= javascript_pack_tag 'application' %>\n<%= stylesheet_pack_tag 'application' %>\n```\n\nIf you want to link a static asset for `<link rel=\"prefetch\">` or `<img />` tag, you\ncan use the `asset_pack_path` helper:\n\n```erb\n<link rel=\"prefetch\" href=\"<%= asset_pack_path 'application.css' %>\" />\n<img src=\"<%= asset_pack_path 'images/logo.svg' %>\" />\n```\n\nIf you are using new webpack 4 split chunks API, then consider using `javascript_packs_with_chunks_tag` helper, which creates html\ntags for a pack and all the dependent chunks.\n\n```erb\n<%= javascript_packs_with_chunks_tag 'calendar', 'map', 'data-turbolinks-track': 'reload' %>\n\n<script src=\"/packs/vendor-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/calendar~runtime-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/calendar-1016838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/map~runtime-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/map-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n```\n\n**Important:** Pass all your pack names when using `javascript_packs_with_chunks_tag`\nhelper otherwise you will get duplicated chunks on the page.\n\n```erb\n<%# DO %>\n<%= javascript_packs_with_chunks_tag 'calendar', 'map' %>\n\n<%# DON'T %>\n<%= javascript_packs_with_chunks_tag 'calendar' %>\n<%= javascript_packs_with_chunks_tag 'map' %>\n```\n\n**Note:** In order for your styles or static assets files to be available in your view,\nyou would need to link them in your \"pack\" or entry file.\n\n\n### Development\n\nWebpacker ships with two binstubs: `./bin/webpack` and `./bin/webpack-dev-server`.\nBoth are thin wrappers around the standard `webpack.js` and `webpack-dev-server.js`\nexecutables to ensure that the right configuration files and environmental variables\nare loaded based on your environment.\n\nIn development, Webpacker compiles on demand rather than upfront by default. This\nhappens when you refer to any of the pack assets using the Webpacker helper methods.\nThis means that you don't have to run any separate processes. Compilation errors are logged\nto the standard Rails log.\n\nIf you want to use live code reloading, or you have enough JavaScript that on-demand compilation is too slow, you'll need to run `./bin/webpack-dev-server` or `ruby ./bin/webpack-dev-server`. Windows users will need to run these commands\nin a terminal separate from `bundle exec rails s`. This process will watch for changes\nin the `app/javascript/packs/*.js` files and automatically reload the browser to match.\n\n```bash\n# webpack dev server\n./bin/webpack-dev-server\n\n# watcher\n./bin/webpack --watch --colors --progress\n\n# standalone build\n./bin/webpack\n```\n\nOnce you start this development server, Webpacker will automatically start proxying all\nwebpack asset requests to this server. When you stop the server, it'll revert back to\non-demand compilation.\n\nYou can use environment variables as options supported by\n[webpack-dev-server](https://webpack.js.org/configuration/dev-server/) in the\nform `WEBPACKER_DEV_SERVER_<OPTION>`. Please note that these environmental\nvariables will always take precedence over the ones already set in the\nconfiguration file, and that the _same_ environmental variables must\nbe available to the `rails server` process.\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=example.com WEBPACKER_DEV_SERVER_INLINE=true WEBPACKER_DEV_SERVER_HOT=false ./bin/webpack-dev-server\n```\n\nBy default, the webpack dev server listens on `localhost` in development for security purposes.\nHowever, if you want your app to be available over local LAN IP or a VM instance like vagrant,\nyou can set the `host` when running `./bin/webpack-dev-server` binstub:\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=0.0.0.0 ./bin/webpack-dev-server\n```\n\n**Note:** You need to allow webpack-dev-server host as an allowed origin for `connect-src` if you are running your application in a restrict CSP environment (like Rails 5.2+). This can be done in Rails 5.2+ in the CSP initializer `config/initializers/content_security_policy.rb` with a snippet like this:\n\n```ruby\n  Rails.application.config.content_security_policy do |policy|\n    policy.connect_src :self, :https, 'http://localhost:3035', 'ws://localhost:3035' if Rails.env.development?\n  end\n```\n\n**Note:** Don't forget to prefix `ruby` when running these binstubs on Windows\n\n### Webpack Configuration\n\nSee [docs/webpack](docs/webpack.md) for modifying webpack configuration and loaders.\n\n\n### Custom Rails environments\n\nOut of the box Webpacker ships with - development, test and production environments in `config/webpacker.yml` however, in most production apps extra environments are needed as part of deployment workflow. Webpacker supports this out of the box from version 3.4.0+ onwards.\n\nYou can choose to define additional environment configurations in webpacker.yml,\n\n```yml\nstaging:\n  <<: *default\n\n  # Production depends on precompilation of packs prior to booting for performance.\n  compile: false\n\n  # Cache manifest.json for performance\n  cache_manifest: true\n\n  # Compile staging packs to a separate directory\n  public_output_path: packs-staging\n```\n\nor, Webpacker will use production environment as a fallback environment for loading configurations. Please note, `NODE_ENV` can either be set to `production`, `development` or `test`.\nThis means you don't need to create additional environment files inside `config/webpacker/*` and instead use webpacker.yml to load different configurations using `RAILS_ENV`.\n\nFor example, the below command will compile assets in production mode but will use staging configurations from `config/webpacker.yml` if available or use fallback production environment configuration:\n\n```bash\nRAILS_ENV=staging bundle exec rails assets:precompile\n```\n\nAnd, this will compile in development mode and load configuration for cucumber environment\nif defined in webpacker.yml or fallback to production configuration\n\n```bash\nRAILS_ENV=cucumber NODE_ENV=development bundle exec rails assets:precompile\n```\n\nPlease note, binstubs compiles in development mode however rake tasks\ncompiles in production mode.\n\n```bash\n# Compiles in development mode unless NODE_ENV is specified\n./bin/webpack\n./bin/webpack-dev-server\n\n# compiles in production mode by default unless NODE_ENV is specified\nbundle exec rails assets:precompile\nbundle exec rails webpacker:compile\n```\n\n\n### Upgrading\n\nYou can run following commands to upgrade Webpacker to the latest stable version. This process involves upgrading the gem and related JavaScript packages:\n\n```bash\nbundle update webpacker\nrails webpacker:binstubs\nyarn upgrade @rails/webpacker --latest\nyarn add webpack-dev-server@^3.1.14\n\n# Or to install a latest release (including pre-releases)\nyarn add @rails/webpacker@next\n```\n\n### Yarn Integrity\n\nBy default, in development, webpacker runs a yarn integrity check to ensure that all local JavaScript packages are up-to-date. This is similar to what bundler does currently in Rails, but for JavaScript packages. If your system is out of date, then Rails will not initialize. You will be asked to upgrade your local JavaScript packages by running `yarn install`.\n\nTo turn off this option, you will need to change the default setting in `config/webpacker.yml`:\n\n```yaml\n# config/webpacker.yml\ndevelopment:\n  ...\n  # Verifies that versions and hashed value of the package contents in the project's package.json\n  check_yarn_integrity: false\n```\n\nYou may also turn on this feature by adding the config option for any Rails environment in `config/webpacker.yml`:\n\n```yaml\n  check_yarn_integrity: true\n```\n\n## Integrations\n\nWebpacker ships with basic out-of-the-box integration for React, Angular, Vue and Elm.\nYou can see a list of available commands/tasks by running `bundle exec rails webpacker`:\n\n### React\n\nTo use Webpacker with [React](https://facebook.github.io/react/), create a\nnew Rails 5.1+ app using `--webpack=react` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=react\n```\n\n(or run `bundle exec rails webpacker:install:react` in a existing Rails app already\nsetup with Webpacker).\n\nThe installer will add all relevant dependencies using Yarn, changes\nto the configuration files, and an example React component to your\nproject in `app/javascript/packs` so that you can experiment with React right away.\n\n\n### Angular with TypeScript\n\nTo use Webpacker with [Angular](https://angular.io/), create a\nnew Rails 5.1+ app using `--webpack=angular` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=angular\n```\n\n(or run `bundle exec rails webpacker:install:angular` on a Rails app already\nsetup with Webpacker).\n\nThe installer will add the TypeScript and Angular core libraries using Yarn alongside\na few changes to the configuration files. An example component written in\nTypeScript will also be added to your project in `app/javascript` so that\nyou can experiment with Angular right away.\n\nBy default, Angular uses a JIT compiler for development environment. This\ncompiler is not compatible with restrictive CSP (Content Security\nPolicy) environments like Rails 5.2+. You can use Angular AOT compiler\nin development with the [@ngtools/webpack](https://www.npmjs.com/package/@ngtools/webpack#usage) plugin.\n\nAlternatively if you're using Rails 5.2+ you can enable `unsafe-eval` rule for your\ndevelopment environment. This can be done in the `config/initializers/content_security_policy.rb`\nwith the following code:\n\n```ruby\nRails.application.config.content_security_policy do |policy|\n  if Rails.env.development?\n    policy.script_src :self, :https, :unsafe_eval\n  else\n    policy.script_src :self, :https\n  end\nend\n```\n\n\n### Vue\n\nTo use Webpacker with [Vue](https://vuejs.org/), create a\nnew Rails 5.1+ app using `--webpack=vue` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=vue\n```\n(or run `bundle exec rails webpacker:install:vue` on a Rails app already setup with Webpacker).\n\nThe installer will add Vue and its required libraries using Yarn alongside\nautomatically applying changes needed to the configuration files. An example component will\nbe added to your project in `app/javascript` so that you can experiment with Vue right away.\n\nIf you're using Rails 5.2+ you'll need to enable `unsafe-eval` rule for your development environment.\nThis can be done in the `config/initializers/content_security_policy.rb` with the following\nconfiguration:\n\n```ruby\nRails.application.config.content_security_policy do |policy|\n  if Rails.env.development?\n    policy.script_src :self, :https, :unsafe_eval\n  else\n    policy.script_src :self, :https\n  end\nend\n```\nYou can read more about this in the [Vue docs](https://vuejs.org/v2/guide/installation.html#CSP-environments).\n\n\n### Elm\n\nTo use Webpacker with [Elm](http://elm-lang.org), create a\nnew Rails 5.1+ app using `--webpack=elm` option:\n\n```\n# Rails 5.1+\nrails new myapp --webpack=elm\n```\n\n(or run `bundle exec rails webpacker:install:elm` on a Rails app already setup with Webpacker).\n\nThe Elm library and its core packages will be added via Yarn and Elm.\nAn example `Main.elm` app will also be added to your project in `app/javascript`\nso that you can experiment with Elm right away.\n\n### Stimulus\n\nTo use Webpacker with [Stimulus](http://stimulusjs.org), create a\nnew Rails 5.1+ app using `--webpack=stimulus` option:\n\n```\n# Rails 5.1+\nrails new myapp --webpack=stimulus\n```\n\n(or run `bundle exec rails webpacker:install:stimulus` on a Rails app already setup with Webpacker).\n\nPlease read [The Stimulus Handbook](https://stimulusjs.org/handbook/introduction) or learn more about its source code at https://github.com/stimulusjs/stimulus\n\n### Coffeescript\n\nTo add [Coffeescript](http://coffeescript.org/) support,\nrun `bundle exec rails webpacker:install:coffee` on a Rails app already\nsetup with Webpacker.\n\nAn example `hello_coffee.coffee` file will also be added to your project\nin `app/javascript/packs` so that you can experiment with Coffeescript right away.\n\n### Erb\n\nTo add [Erb](https://apidock.com/ruby/ERB) support in your JS templates,\nrun `bundle exec rails webpacker:install:erb` on a Rails app already\nsetup with Webpacker.\n\nAn example `hello_erb.js.erb` file will also be added to your project\nin `app/javascript/packs` so that you can experiment with Erb-flavoured\njavascript right away.\n\n\n## Paths\n\nBy default, Webpacker ships with simple conventions for where the JavaScript\napp files and compiled webpack bundles will go in your Rails app.\nAll these options are configurable from `config/webpacker.yml` file.\n\nThe configuration for what webpack is supposed to compile by default rests\non the convention that every file in `app/javascript/packs/*`**(default)**\nor whatever path you set for `source_entry_path` in the `webpacker.yml` configuration\nis turned into their own output files (or entry points, as webpack calls it). Therefore you don't want to put anything inside `packs` directory that you do not want to be\nan entry file. As a rule of thumb, put all files you want to link in your views inside\n\"packs\" directory and keep everything else under `app/javascript`.\n\nSuppose you want to change the source directory from `app/javascript`\nto `frontend` and output to `assets/packs`. This is how you would do it:\n\n```yml\n# config/webpacker.yml\nsource_path: frontend\nsource_entry_path: packs\npublic_output_path: assets/packs # outputs to => public/assets/packs\n```\n\nSimilarly you can also control and configure `webpack-dev-server` settings from `config/webpacker.yml` file:\n\n```yml\n# config/webpacker.yml\ndevelopment:\n  dev_server:\n    host: localhost\n    port: 3035\n```\n\nIf you have `hmr` turned to true, then the `stylesheet_pack_tag` generates no output, as you will want to configure your styles to be inlined in your JavaScript for hot reloading. During production and testing, the `stylesheet_pack_tag` will create the appropriate HTML tags.\n\n\n### Resolved\n\nIf you are adding Webpacker to an existing app that has most of the assets inside\n`app/assets` or inside an engine, and you want to share that\nwith webpack modules, you can use the `resolved_paths`\noption available in `config/webpacker.yml`. This lets you\nadd additional paths that webpack should lookup when resolving modules:\n\n```yml\nresolved_paths: ['app/assets']\n```\n\nYou can then import these items inside your modules like so:\n\n```js\n// Note it's relative to parent directory i.e. app/assets\nimport 'stylesheets/main'\nimport 'images/rails.png'\n```\n\n**Note:** Please be careful when adding paths here otherwise it\nwill make the compilation slow, consider adding specific paths instead of\nwhole parent directory if you just need to reference one or two modules\n\n\n### Watched\n\nBy default, the lazy compilation is cached until a file is changed under your\ntracked paths. You can configure which paths are tracked\nby adding new paths to `watched_paths` array. This is much like Rails' `autoload_paths`:\n\n```rb\n# config/initializers/webpacker.rb\n# or config/application.rb\nWebpacker::Compiler.watched_paths << 'bower_components'\n```\n\n\n## Deployment\n\nWebpacker hooks up a new `webpacker:compile` task to `assets:precompile`, which gets run whenever you run `assets:precompile`. If you are not using Sprockets, `webpacker:compile` is automatically aliased to `assets:precompile`. Similar to sprockets both rake tasks will compile packs in production mode but will use `RAILS_ENV` to load configuration from `config/webpacker.yml` (if available).\n\n\n## Docs\n\nYou can find more detailed guides under [docs](./docs).\n\n\n## Contributing\n[![Code Helpers](https://www.codetriage.com/rails/webpacker/badges/users.svg)](https://www.codetriage.com/rails/webpacker)\n\nWe encourage you to contribute to Webpacker! See [CONTRIBUTING](CONTRIBUTING.md) for guidelines about how to proceed.\n\n\n## License\nWebpacker is released under the [MIT License](https://opensource.org/licenses/MIT).\n","_shasum":"b788ce688d64f01decf196e470240222f7076924","engines":{"node":">=6.14.4","yarn":">=1.0.0"},"gitHead":"507f265c7951e6c19f8f61efd80ec88fcbb9fd2c","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"3.10.10","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"6.14.4","dependencies":{"glob":"^7.1.3","flatted":"^2.0.0","js-yaml":"^3.12.0","webpack":"^4.27.1","node-sass":"^4.11.0","css-loader":"^2.0.1","@babel/core":"^7.2.0","file-loader":"^2.0.0","sass-loader":"^7.1.0","webpack-cli":"^3.1.2","babel-loader":"^8.0.4","style-loader":"^0.23.1","@babel/runtime":"^7.2.0","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","@babel/polyfill":"^7.0.0","webpack-sources":"^1.3.0","@babel/preset-env":"^7.2.0","pnp-webpack-plugin":"^1.2.1","postcss-preset-env":"^6.5.0","babel-plugin-macros":"^2.4.2","postcss-safe-parser":"^4.0.1","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^1.1.0","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.5.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^2.0.0","@babel/plugin-transform-runtime":"^7.2.0","babel-plugin-dynamic-import-node":"^2.2.0","optimize-css-assets-webpack-plugin":"^5.0.1","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.0.0","case-sensitive-paths-webpack-plugin":"^2.1.2","@babel/plugin-transform-destructuring":"^7.2.0","@babel/plugin-proposal-class-properties":"^7.2.1","@babel/plugin-proposal-object-rest-spread":"^7.2.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^23.6.0","eslint":"^5.10.0","eslint-plugin-react":"^7.11.1","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.0.0-rc.4_1548072163159_0.9658415065251502","host":"s3://npm-registry-packages"}},"4.0.0-rc.5":{"name":"@rails/webpacker","version":"4.0.0-rc.5","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.0.0-rc.5","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"e640c4b6f055a2e57537e044234daf5fe9aa9954","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.0.0-rc.5.tgz","fileCount":42,"integrity":"sha512-ontbWUwOSNdOsJejtYnO+pu0U7yT7vdAVctJDD1d60bzptFHm0Ubwq4wMQGIdF5UE1p+RTljU5T+wtotDn+2pg==","signatures":[{"sig":"MEUCIQC9PS5mPQE+LwR8s02FlKFFWNjP/1TsINZwwzFtsoH3vwIgOTCAbo4bUr/k+rsK6NNCaVvTx2gKChke3SwC9T4X7PI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":84948,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRb03CRA9TVsSAnZWagAAd90P/2RD/+Ba7SfFpfl9c+Tm\nfLkeTFD0fOg3oB8nGa7++TojkeF9Ioe4h8ukYmal3dQyQF0RcvtPpaqoiUhR\n3RAd0ywu4gX2LqCdADL0VClvoHiS4txYrGnYYtB30hq+Rm+9psYAib1QiA0I\njed0qby41TVCv+X2T92oXuPi/OXFLOHYFOttPpXSP9gcb4YWrXZGCVkFE7as\nG2oS1W2GqDgz/Pp4zsU16g/tvUHROAAQZ/rnMnDIqpNbNLahbhUENY8c1fn8\nM1AsvIaUnJalsYb2PreIJ4jMijNlrCplI//edhZzBGbrFkPryXvilP1uHIGC\ndWQl9X0sTwWpVybkL6TqERoWNpmC1i0eLrRMn+pdGKbPjwvdmlEgPQjV+HMh\nerI8i/YHS9mmUXUSwnqZam8rIBLp/HjpoGDVW7Ioweknx3FagGjic/mKpG6Q\n8UTupC33Absocu6OtruUWOQDOE8iHFdhayTRLDjxwYzeqFJ9qt5ByVez8D6d\nv0n24Fe5sz2GdbY3R2y9bBmrv5YmnEZ9n3yUI5w0hKVEdFH43ZBIdCH0DS9g\nW29afx3nuyHHoxYKp/LVH0lCdjYgGTviIZwfkjA+wPC3gFE1akBIoP185GTj\ngOgFNPFAZuTZEK/esdT358bnu79ahzc1MDoTRkg7quRqhQCcJo7gLLXTWcwR\ntdh4\r\n=FDTH\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","_from":".","readme":"# Webpacker\n\n![travis-ci status](https://api.travis-ci.org/rails/webpacker.svg?branch=master)\n[![node.js](https://img.shields.io/badge/node-%3E%3D%206.14.0-brightgreen.svg)](https://nodejs.org/en/)\n[![Gem](https://img.shields.io/gem/v/webpacker.svg)](https://github.com/rails/webpacker)\n\nWebpacker makes it easy to use the JavaScript pre-processor and bundler\n[webpack 4.x.x+](https://webpack.js.org/)\nto manage application-like JavaScript in Rails. It coexists with the asset pipeline,\nas the primary purpose for webpack is app-like JavaScript, not images, CSS, or\neven JavaScript Sprinkles (that all continues to live in app/assets).\n\nHowever, it is possible to use Webpacker for CSS, images and fonts assets as well,\nin which case you may not even need the asset pipeline. This is mostly relevant when exclusively using component-based JavaScript frameworks.\n\n**NOTE:** The master branch now hosts the code for v4.x.x. Please refer to [3-x-stable](https://github.com/rails/webpacker/tree/3-x-stable) branch for 3.x documentation.\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n- [Features](#features)\n- [Installation](#installation)\n  - [Usage](#usage)\n  - [Development](#development)\n  - [Webpack Configuration](#webpack-configuration)\n  - [Custom Rails environments](#custom-rails-environments)\n  - [Upgrading](#upgrading)\n  - [Yarn Integrity](#yarn-integrity)\n- [Integrations](#integrations)\n  - [React](#react)\n  - [Angular with TypeScript](#angular-with-typescript)\n  - [Vue](#vue)\n  - [Elm](#elm)\n  - [Stimulus](#stimulus)\n  - [Coffeescript](#coffeescript)\n  - [Erb](#erb)\n- [Paths](#paths)\n  - [Resolved](#resolved)\n  - [Watched](#watched)\n- [Deployment](#deployment)\n- [Docs](#docs)\n- [Contributing](#contributing)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n\n## Prerequisites\n\n* Ruby 2.2+\n* Rails 4.2+\n* Node.js 6.14.4+\n* Yarn 1.x+\n\n\n## Features\n\n* [webpack 4.x.x](https://webpack.js.org/)\n* ES6 with [babel](https://babeljs.io/)\n* Automatic code splitting using multiple entry points\n* Stylesheets - Sass and CSS\n* Images and fonts\n* PostCSS - Auto-Prefixer\n* Asset compression, source-maps, and minification\n* CDN support\n* React, Angular, Elm and Vue support out-of-the-box\n* Rails view helpers\n* Extensible and configurable\n\n\n## Installation\n\nYou can either add Webpacker during setup of a new Rails 5.1+ application\nusing new `--webpack` option:\n\n```bash\n# Available Rails 5.1+\nrails new myapp --webpack\n```\n\nOr add it to your `Gemfile`:\n\n```ruby\n# Gemfile\ngem 'webpacker', '~> 3.5'\n\n# OR if you prefer to use master\ngem 'webpacker', git: 'https://github.com/rails/webpacker.git'\nyarn add https://github.com/rails/webpacker.git\n\n# OR to try out 4.x pre-release\ngem 'webpacker', '>= 4.0.x'\nyarn add @rails/webpacker@next\n```\n\nFinally, run the following to install Webpacker:\n\n```bash\nbundle\nbundle exec rails webpacker:install\n\n# OR (on rails version < 5.0)\nbundle exec rake webpacker:install\n```\n\nOptional: To fix [\"unmet peer dependency\" warnings](https://github.com/rails/webpacker/issues/1078),\n\n```bash\nyarn upgrade\n```\n\n### Usage\n\nOnce installed, you can start writing modern ES6-flavored JavaScript apps right away:\n\n```yml\napp/javascript:\n  ├── packs:\n  │   # only webpack entry files here\n  │   └── application.js\n  └── src:\n  │   └── application.css\n  └── images:\n      └── logo.svg\n```\n\nYou can then link the JavaScript pack in Rails views using the `javascript_pack_tag` helper.\nIf you have styles imported in your pack file, you can link them by using `stylesheet_pack_tag`:\n\n```erb\n<%= javascript_pack_tag 'application' %>\n<%= stylesheet_pack_tag 'application' %>\n```\n\nIf you want to link a static asset for `<link rel=\"prefetch\">` or `<img />` tag, you\ncan use the `asset_pack_path` helper:\n\n```erb\n<link rel=\"prefetch\" href=\"<%= asset_pack_path 'application.css' %>\" />\n<img src=\"<%= asset_pack_path 'images/logo.svg' %>\" />\n```\n\nIf you are using new webpack 4 split chunks API, then consider using `javascript_packs_with_chunks_tag` helper, which creates html\ntags for a pack and all the dependent chunks.\n\n```erb\n<%= javascript_packs_with_chunks_tag 'calendar', 'map', 'data-turbolinks-track': 'reload' %>\n\n<script src=\"/packs/vendor-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/calendar~runtime-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/calendar-1016838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/map~runtime-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/map-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n```\n\n**Important:** Pass all your pack names when using `javascript_packs_with_chunks_tag`\nhelper otherwise you will get duplicated chunks on the page.\n\n```erb\n<%# DO %>\n<%= javascript_packs_with_chunks_tag 'calendar', 'map' %>\n\n<%# DON'T %>\n<%= javascript_packs_with_chunks_tag 'calendar' %>\n<%= javascript_packs_with_chunks_tag 'map' %>\n```\n\n**Note:** In order for your styles or static assets files to be available in your view,\nyou would need to link them in your \"pack\" or entry file.\n\n\n### Development\n\nWebpacker ships with two binstubs: `./bin/webpack` and `./bin/webpack-dev-server`.\nBoth are thin wrappers around the standard `webpack.js` and `webpack-dev-server.js`\nexecutables to ensure that the right configuration files and environmental variables\nare loaded based on your environment.\n\nIn development, Webpacker compiles on demand rather than upfront by default. This\nhappens when you refer to any of the pack assets using the Webpacker helper methods.\nThis means that you don't have to run any separate processes. Compilation errors are logged\nto the standard Rails log.\n\nIf you want to use live code reloading, or you have enough JavaScript that on-demand compilation is too slow, you'll need to run `./bin/webpack-dev-server` or `ruby ./bin/webpack-dev-server`. Windows users will need to run these commands\nin a terminal separate from `bundle exec rails s`. This process will watch for changes\nin the `app/javascript/packs/*.js` files and automatically reload the browser to match.\n\n```bash\n# webpack dev server\n./bin/webpack-dev-server\n\n# watcher\n./bin/webpack --watch --colors --progress\n\n# standalone build\n./bin/webpack\n```\n\nOnce you start this development server, Webpacker will automatically start proxying all\nwebpack asset requests to this server. When you stop the server, it'll revert back to\non-demand compilation.\n\nYou can use environment variables as options supported by\n[webpack-dev-server](https://webpack.js.org/configuration/dev-server/) in the\nform `WEBPACKER_DEV_SERVER_<OPTION>`. Please note that these environmental\nvariables will always take precedence over the ones already set in the\nconfiguration file, and that the _same_ environmental variables must\nbe available to the `rails server` process.\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=example.com WEBPACKER_DEV_SERVER_INLINE=true WEBPACKER_DEV_SERVER_HOT=false ./bin/webpack-dev-server\n```\n\nBy default, the webpack dev server listens on `localhost` in development for security purposes.\nHowever, if you want your app to be available over local LAN IP or a VM instance like vagrant,\nyou can set the `host` when running `./bin/webpack-dev-server` binstub:\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=0.0.0.0 ./bin/webpack-dev-server\n```\n\n**Note:** You need to allow webpack-dev-server host as an allowed origin for `connect-src` if you are running your application in a restrict CSP environment (like Rails 5.2+). This can be done in Rails 5.2+ in the CSP initializer `config/initializers/content_security_policy.rb` with a snippet like this:\n\n```ruby\n  Rails.application.config.content_security_policy do |policy|\n    policy.connect_src :self, :https, 'http://localhost:3035', 'ws://localhost:3035' if Rails.env.development?\n  end\n```\n\n**Note:** Don't forget to prefix `ruby` when running these binstubs on Windows\n\n### Webpack Configuration\n\nSee [docs/webpack](docs/webpack.md) for modifying webpack configuration and loaders.\n\n\n### Custom Rails environments\n\nOut of the box Webpacker ships with - development, test and production environments in `config/webpacker.yml` however, in most production apps extra environments are needed as part of deployment workflow. Webpacker supports this out of the box from version 3.4.0+ onwards.\n\nYou can choose to define additional environment configurations in webpacker.yml,\n\n```yml\nstaging:\n  <<: *default\n\n  # Production depends on precompilation of packs prior to booting for performance.\n  compile: false\n\n  # Cache manifest.json for performance\n  cache_manifest: true\n\n  # Compile staging packs to a separate directory\n  public_output_path: packs-staging\n```\n\nor, Webpacker will use production environment as a fallback environment for loading configurations. Please note, `NODE_ENV` can either be set to `production`, `development` or `test`.\nThis means you don't need to create additional environment files inside `config/webpacker/*` and instead use webpacker.yml to load different configurations using `RAILS_ENV`.\n\nFor example, the below command will compile assets in production mode but will use staging configurations from `config/webpacker.yml` if available or use fallback production environment configuration:\n\n```bash\nRAILS_ENV=staging bundle exec rails assets:precompile\n```\n\nAnd, this will compile in development mode and load configuration for cucumber environment\nif defined in webpacker.yml or fallback to production configuration\n\n```bash\nRAILS_ENV=cucumber NODE_ENV=development bundle exec rails assets:precompile\n```\n\nPlease note, binstubs compiles in development mode however rake tasks\ncompiles in production mode.\n\n```bash\n# Compiles in development mode unless NODE_ENV is specified\n./bin/webpack\n./bin/webpack-dev-server\n\n# compiles in production mode by default unless NODE_ENV is specified\nbundle exec rails assets:precompile\nbundle exec rails webpacker:compile\n```\n\n\n### Upgrading\n\nYou can run following commands to upgrade Webpacker to the latest stable version. This process involves upgrading the gem and related JavaScript packages:\n\n```bash\nbundle update webpacker\nrails webpacker:binstubs\nyarn upgrade @rails/webpacker --latest\nyarn add webpack-dev-server@^3.1.14\n\n# Or to install a latest release (including pre-releases)\nyarn add @rails/webpacker@next\n```\n\n### Yarn Integrity\n\nBy default, in development, webpacker runs a yarn integrity check to ensure that all local JavaScript packages are up-to-date. This is similar to what bundler does currently in Rails, but for JavaScript packages. If your system is out of date, then Rails will not initialize. You will be asked to upgrade your local JavaScript packages by running `yarn install`.\n\nTo turn off this option, you will need to change the default setting in `config/webpacker.yml`:\n\n```yaml\n# config/webpacker.yml\ndevelopment:\n  ...\n  # Verifies that versions and hashed value of the package contents in the project's package.json\n  check_yarn_integrity: false\n```\n\nYou may also turn on this feature by adding the config option for any Rails environment in `config/webpacker.yml`:\n\n```yaml\n  check_yarn_integrity: true\n```\n\n## Integrations\n\nWebpacker ships with basic out-of-the-box integration for React, Angular, Vue and Elm.\nYou can see a list of available commands/tasks by running `bundle exec rails webpacker`:\n\n### React\n\nTo use Webpacker with [React](https://facebook.github.io/react/), create a\nnew Rails 5.1+ app using `--webpack=react` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=react\n```\n\n(or run `bundle exec rails webpacker:install:react` in a existing Rails app already\nsetup with Webpacker).\n\nThe installer will add all relevant dependencies using Yarn, changes\nto the configuration files, and an example React component to your\nproject in `app/javascript/packs` so that you can experiment with React right away.\n\n\n### Angular with TypeScript\n\nTo use Webpacker with [Angular](https://angular.io/), create a\nnew Rails 5.1+ app using `--webpack=angular` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=angular\n```\n\n(or run `bundle exec rails webpacker:install:angular` on a Rails app already\nsetup with Webpacker).\n\nThe installer will add the TypeScript and Angular core libraries using Yarn alongside\na few changes to the configuration files. An example component written in\nTypeScript will also be added to your project in `app/javascript` so that\nyou can experiment with Angular right away.\n\nBy default, Angular uses a JIT compiler for development environment. This\ncompiler is not compatible with restrictive CSP (Content Security\nPolicy) environments like Rails 5.2+. You can use Angular AOT compiler\nin development with the [@ngtools/webpack](https://www.npmjs.com/package/@ngtools/webpack#usage) plugin.\n\nAlternatively if you're using Rails 5.2+ you can enable `unsafe-eval` rule for your\ndevelopment environment. This can be done in the `config/initializers/content_security_policy.rb`\nwith the following code:\n\n```ruby\nRails.application.config.content_security_policy do |policy|\n  if Rails.env.development?\n    policy.script_src :self, :https, :unsafe_eval\n  else\n    policy.script_src :self, :https\n  end\nend\n```\n\n\n### Vue\n\nTo use Webpacker with [Vue](https://vuejs.org/), create a\nnew Rails 5.1+ app using `--webpack=vue` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=vue\n```\n(or run `bundle exec rails webpacker:install:vue` on a Rails app already setup with Webpacker).\n\nThe installer will add Vue and its required libraries using Yarn alongside\nautomatically applying changes needed to the configuration files. An example component will\nbe added to your project in `app/javascript` so that you can experiment with Vue right away.\n\nIf you're using Rails 5.2+ you'll need to enable `unsafe-eval` rule for your development environment.\nThis can be done in the `config/initializers/content_security_policy.rb` with the following\nconfiguration:\n\n```ruby\nRails.application.config.content_security_policy do |policy|\n  if Rails.env.development?\n    policy.script_src :self, :https, :unsafe_eval\n  else\n    policy.script_src :self, :https\n  end\nend\n```\nYou can read more about this in the [Vue docs](https://vuejs.org/v2/guide/installation.html#CSP-environments).\n\n\n### Elm\n\nTo use Webpacker with [Elm](http://elm-lang.org), create a\nnew Rails 5.1+ app using `--webpack=elm` option:\n\n```\n# Rails 5.1+\nrails new myapp --webpack=elm\n```\n\n(or run `bundle exec rails webpacker:install:elm` on a Rails app already setup with Webpacker).\n\nThe Elm library and its core packages will be added via Yarn and Elm.\nAn example `Main.elm` app will also be added to your project in `app/javascript`\nso that you can experiment with Elm right away.\n\n### Stimulus\n\nTo use Webpacker with [Stimulus](http://stimulusjs.org), create a\nnew Rails 5.1+ app using `--webpack=stimulus` option:\n\n```\n# Rails 5.1+\nrails new myapp --webpack=stimulus\n```\n\n(or run `bundle exec rails webpacker:install:stimulus` on a Rails app already setup with Webpacker).\n\nPlease read [The Stimulus Handbook](https://stimulusjs.org/handbook/introduction) or learn more about its source code at https://github.com/stimulusjs/stimulus\n\n### Coffeescript\n\nTo add [Coffeescript](http://coffeescript.org/) support,\nrun `bundle exec rails webpacker:install:coffee` on a Rails app already\nsetup with Webpacker.\n\nAn example `hello_coffee.coffee` file will also be added to your project\nin `app/javascript/packs` so that you can experiment with Coffeescript right away.\n\n### Erb\n\nTo add [Erb](https://apidock.com/ruby/ERB) support in your JS templates,\nrun `bundle exec rails webpacker:install:erb` on a Rails app already\nsetup with Webpacker.\n\nAn example `hello_erb.js.erb` file will also be added to your project\nin `app/javascript/packs` so that you can experiment with Erb-flavoured\njavascript right away.\n\n\n## Paths\n\nBy default, Webpacker ships with simple conventions for where the JavaScript\napp files and compiled webpack bundles will go in your Rails app.\nAll these options are configurable from `config/webpacker.yml` file.\n\nThe configuration for what webpack is supposed to compile by default rests\non the convention that every file in `app/javascript/packs/*`**(default)**\nor whatever path you set for `source_entry_path` in the `webpacker.yml` configuration\nis turned into their own output files (or entry points, as webpack calls it). Therefore you don't want to put anything inside `packs` directory that you do not want to be\nan entry file. As a rule of thumb, put all files you want to link in your views inside\n\"packs\" directory and keep everything else under `app/javascript`.\n\nSuppose you want to change the source directory from `app/javascript`\nto `frontend` and output to `assets/packs`. This is how you would do it:\n\n```yml\n# config/webpacker.yml\nsource_path: frontend\nsource_entry_path: packs\npublic_output_path: assets/packs # outputs to => public/assets/packs\n```\n\nSimilarly you can also control and configure `webpack-dev-server` settings from `config/webpacker.yml` file:\n\n```yml\n# config/webpacker.yml\ndevelopment:\n  dev_server:\n    host: localhost\n    port: 3035\n```\n\nIf you have `hmr` turned to true, then the `stylesheet_pack_tag` generates no output, as you will want to configure your styles to be inlined in your JavaScript for hot reloading. During production and testing, the `stylesheet_pack_tag` will create the appropriate HTML tags.\n\n\n### Resolved\n\nIf you are adding Webpacker to an existing app that has most of the assets inside\n`app/assets` or inside an engine, and you want to share that\nwith webpack modules, you can use the `resolved_paths`\noption available in `config/webpacker.yml`. This lets you\nadd additional paths that webpack should lookup when resolving modules:\n\n```yml\nresolved_paths: ['app/assets']\n```\n\nYou can then import these items inside your modules like so:\n\n```js\n// Note it's relative to parent directory i.e. app/assets\nimport 'stylesheets/main'\nimport 'images/rails.png'\n```\n\n**Note:** Please be careful when adding paths here otherwise it\nwill make the compilation slow, consider adding specific paths instead of\nwhole parent directory if you just need to reference one or two modules\n\n\n### Watched\n\nBy default, the lazy compilation is cached until a file is changed under your\ntracked paths. You can configure which paths are tracked\nby adding new paths to `watched_paths` array. This is much like Rails' `autoload_paths`:\n\n```rb\n# config/initializers/webpacker.rb\n# or config/application.rb\nWebpacker::Compiler.watched_paths << 'bower_components'\n```\n\n\n## Deployment\n\nWebpacker hooks up a new `webpacker:compile` task to `assets:precompile`, which gets run whenever you run `assets:precompile`. If you are not using Sprockets, `webpacker:compile` is automatically aliased to `assets:precompile`. Similar to sprockets both rake tasks will compile packs in production mode but will use `RAILS_ENV` to load configuration from `config/webpacker.yml` (if available).\n\n\n## Docs\n\nYou can find more detailed guides under [docs](./docs).\n\n\n## Contributing\n[![Code Helpers](https://www.codetriage.com/rails/webpacker/badges/users.svg)](https://www.codetriage.com/rails/webpacker)\n\nWe encourage you to contribute to Webpacker! See [CONTRIBUTING](CONTRIBUTING.md) for guidelines about how to proceed.\n\n\n## License\nWebpacker is released under the [MIT License](https://opensource.org/licenses/MIT).\n","_shasum":"e640c4b6f055a2e57537e044234daf5fe9aa9954","engines":{"node":">=6.14.4","yarn":">=1.0.0"},"gitHead":"bb1c72bb01cf36ec4b40a19b97bb68ce027b89cc","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"3.10.10","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"6.14.4","dependencies":{"glob":"^7.1.3","flatted":"^2.0.0","js-yaml":"^3.12.1","webpack":"^4.29.0","node-sass":"^4.11.0","css-loader":"^2.1.0","@babel/core":"^7.2.2","file-loader":"^3.0.1","sass-loader":"^7.1.0","webpack-cli":"^3.2.1","babel-loader":"^8.0.5","style-loader":"^0.23.1","@babel/runtime":"^7.2.0","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","@babel/polyfill":"^7.2.5","webpack-sources":"^1.3.0","@babel/preset-env":"^7.2.3","pnp-webpack-plugin":"^1.2.1","postcss-preset-env":"^6.5.0","babel-plugin-macros":"^2.4.5","postcss-safe-parser":"^4.0.1","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^1.2.1","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.5.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^2.0.0","@babel/plugin-transform-runtime":"^7.2.0","babel-plugin-dynamic-import-node":"^2.2.0","optimize-css-assets-webpack-plugin":"^5.0.1","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.0.0","case-sensitive-paths-webpack-plugin":"^2.1.2","@babel/plugin-transform-destructuring":"^7.2.0","@babel/plugin-proposal-class-properties":"^7.2.3","@babel/plugin-proposal-object-rest-spread":"^7.2.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^23.6.0","eslint":"^5.12.1","eslint-plugin-react":"^7.12.4","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.0.0-rc.5_1548074294804_0.37125232851979706","host":"s3://npm-registry-packages"}},"4.0.0-rc.6":{"name":"@rails/webpacker","version":"4.0.0-rc.6","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.0.0-rc.6","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"58428ded1f66d44f5eadeb71b214e32a72e5d9bd","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.0.0-rc.6.tgz","fileCount":42,"integrity":"sha512-yGoV5dZ5fzd+Sj7TvLxtTnVbc0IRtUHdEn7aWthjFe03tFWbYG20fhAufBs/D8aFQXtHewJdg0UyfqkTQtI7kg==","signatures":[{"sig":"MEQCIE1BsP0Pd2sPenQhYSiLbAw5PZ8sNEI4CxBN9PYWP0vTAiAykoBQaXQ4mlIh8YR7cwc2Kx1RbfvEv7V8780lpk5yDw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSt90CRA9TVsSAnZWagAAVh8P/2VefynPRYeL4ce7bqXg\nwJ60vqTY+zTivaWZpdE6ZHHkJiEvtCrHsAI9Tu7kg85PrP7OoaqY739Uq0Zk\nRUJdkk1l1Q7/w7L8UxX/Gntw8zidzF2LGFxSi1dT2KoS0OCQQdjw6zA8znJx\n92V2qFgsHJLmUIbavBiN/JKX7bmIgqaVmfs4DqX+Hkex7mQ2IDX51W6GBUt1\nHWvYabnwox2j59xOV2pdQZDkh/6OJippGw35g+eorEaiMMAP8mm1YXuDgSk0\njyUM0LNCuboH+W2ifkWvh1/o0AS5PPoJQeSu9/01R/H+EZsyfpgesV2fqWHU\n0eF5q4hxWMZkUGNhfpq5cPEYSlAIxR09/5BEAgoQkDoY//cvFo9c6BIQDqRl\nTOkAFgapJaL07ckypy22GJujQKMiTVwyYOeYzrJYCW7OcXQLOzxoZTNr9tV1\nX6kboWgeg9vGZUj2LOcy8y3Ba8rBFJfT/0gq2FeEHDad1m6XyWSmX6FHXugY\njrFknFl3sPSxo2MIs8AzF5SCK34yX5Zq9qiR6Q7kRWP+ef36MWu7hTM6+JmV\nWr10uiAWClckR4AZmpeCjt8fuPfp/TC9ivctFdqgVYW+O6o0M4Y8I8ZXfDEa\nKn8KBETfUhGmqPINw2Hjr2MPLDbKZ3vlfXvfSUYQKP6vkUQyIHS1TIko8v4f\nVXYr\r\n=Bvq/\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","_from":".","readme":"# Webpacker\n\n![travis-ci status](https://api.travis-ci.org/rails/webpacker.svg?branch=master)\n[![node.js](https://img.shields.io/badge/node-%3E%3D%206.14.0-brightgreen.svg)](https://nodejs.org/en/)\n[![Gem](https://img.shields.io/gem/v/webpacker.svg)](https://github.com/rails/webpacker)\n\nWebpacker makes it easy to use the JavaScript pre-processor and bundler\n[webpack 4.x.x+](https://webpack.js.org/)\nto manage application-like JavaScript in Rails. It coexists with the asset pipeline,\nas the primary purpose for webpack is app-like JavaScript, not images, CSS, or\neven JavaScript Sprinkles (that all continues to live in app/assets).\n\nHowever, it is possible to use Webpacker for CSS, images and fonts assets as well,\nin which case you may not even need the asset pipeline. This is mostly relevant when exclusively using component-based JavaScript frameworks.\n\n**NOTE:** The master branch now hosts the code for v4.x.x. Please refer to [3-x-stable](https://github.com/rails/webpacker/tree/3-x-stable) branch for 3.x documentation.\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n- [Features](#features)\n- [Installation](#installation)\n  - [Usage](#usage)\n  - [Development](#development)\n  - [Webpack Configuration](#webpack-configuration)\n  - [Custom Rails environments](#custom-rails-environments)\n  - [Upgrading](#upgrading)\n  - [Yarn Integrity](#yarn-integrity)\n- [Integrations](#integrations)\n  - [React](#react)\n  - [Angular with TypeScript](#angular-with-typescript)\n  - [Vue](#vue)\n  - [Elm](#elm)\n  - [Stimulus](#stimulus)\n  - [Coffeescript](#coffeescript)\n  - [Erb](#erb)\n- [Paths](#paths)\n  - [Resolved](#resolved)\n  - [Watched](#watched)\n- [Deployment](#deployment)\n- [Docs](#docs)\n- [Contributing](#contributing)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n\n## Prerequisites\n\n* Ruby 2.2+\n* Rails 4.2+\n* Node.js 6.14.4+\n* Yarn 1.x+\n\n\n## Features\n\n* [webpack 4.x.x](https://webpack.js.org/)\n* ES6 with [babel](https://babeljs.io/)\n* Automatic code splitting using multiple entry points\n* Stylesheets - Sass and CSS\n* Images and fonts\n* PostCSS - Auto-Prefixer\n* Asset compression, source-maps, and minification\n* CDN support\n* React, Angular, Elm and Vue support out-of-the-box\n* Rails view helpers\n* Extensible and configurable\n\n\n## Installation\n\nYou can either add Webpacker during setup of a new Rails 5.1+ application\nusing new `--webpack` option:\n\n```bash\n# Available Rails 5.1+\nrails new myapp --webpack\n```\n\nOr add it to your `Gemfile`:\n\n```ruby\n# Gemfile\ngem 'webpacker', '~> 3.5'\n\n# OR if you prefer to use master\ngem 'webpacker', git: 'https://github.com/rails/webpacker.git'\nyarn add https://github.com/rails/webpacker.git\n\n# OR to try out 4.x pre-release\ngem 'webpacker', '>= 4.0.x'\nyarn add @rails/webpacker@next\n```\n\nFinally, run the following to install Webpacker:\n\n```bash\nbundle\nbundle exec rails webpacker:install\n\n# OR (on rails version < 5.0)\nbundle exec rake webpacker:install\n```\n\nOptional: To fix [\"unmet peer dependency\" warnings](https://github.com/rails/webpacker/issues/1078),\n\n```bash\nyarn upgrade\n```\n\n### Usage\n\nOnce installed, you can start writing modern ES6-flavored JavaScript apps right away:\n\n```yml\napp/javascript:\n  ├── packs:\n  │   # only webpack entry files here\n  │   └── application.js\n  └── src:\n  │   └── application.css\n  └── images:\n      └── logo.svg\n```\n\nYou can then link the JavaScript pack in Rails views using the `javascript_pack_tag` helper.\nIf you have styles imported in your pack file, you can link them by using `stylesheet_pack_tag`:\n\n```erb\n<%= javascript_pack_tag 'application' %>\n<%= stylesheet_pack_tag 'application' %>\n```\n\nIf you want to link a static asset for `<link rel=\"prefetch\">` or `<img />` tag, you\ncan use the `asset_pack_path` helper:\n\n```erb\n<link rel=\"prefetch\" href=\"<%= asset_pack_path 'application.css' %>\" />\n<img src=\"<%= asset_pack_path 'images/logo.svg' %>\" />\n```\n\nIf you are using new webpack 4 split chunks API, then consider using `javascript_packs_with_chunks_tag` helper, which creates html\ntags for a pack and all the dependent chunks.\n\n```erb\n<%= javascript_packs_with_chunks_tag 'calendar', 'map', 'data-turbolinks-track': 'reload' %>\n\n<script src=\"/packs/vendor-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/calendar~runtime-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/calendar-1016838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/map~runtime-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/map-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n```\n\n**Important:** Pass all your pack names when using `javascript_packs_with_chunks_tag`\nhelper otherwise you will get duplicated chunks on the page.\n\n```erb\n<%# DO %>\n<%= javascript_packs_with_chunks_tag 'calendar', 'map' %>\n\n<%# DON'T %>\n<%= javascript_packs_with_chunks_tag 'calendar' %>\n<%= javascript_packs_with_chunks_tag 'map' %>\n```\n\n**Note:** In order for your styles or static assets files to be available in your view,\nyou would need to link them in your \"pack\" or entry file.\n\n\n### Development\n\nWebpacker ships with two binstubs: `./bin/webpack` and `./bin/webpack-dev-server`.\nBoth are thin wrappers around the standard `webpack.js` and `webpack-dev-server.js`\nexecutables to ensure that the right configuration files and environmental variables\nare loaded based on your environment.\n\nIn development, Webpacker compiles on demand rather than upfront by default. This\nhappens when you refer to any of the pack assets using the Webpacker helper methods.\nThis means that you don't have to run any separate processes. Compilation errors are logged\nto the standard Rails log.\n\nIf you want to use live code reloading, or you have enough JavaScript that on-demand compilation is too slow, you'll need to run `./bin/webpack-dev-server` or `ruby ./bin/webpack-dev-server`. Windows users will need to run these commands\nin a terminal separate from `bundle exec rails s`. This process will watch for changes\nin the `app/javascript/packs/*.js` files and automatically reload the browser to match.\n\n```bash\n# webpack dev server\n./bin/webpack-dev-server\n\n# watcher\n./bin/webpack --watch --colors --progress\n\n# standalone build\n./bin/webpack\n```\n\nOnce you start this development server, Webpacker will automatically start proxying all\nwebpack asset requests to this server. When you stop the server, it'll revert back to\non-demand compilation.\n\nYou can use environment variables as options supported by\n[webpack-dev-server](https://webpack.js.org/configuration/dev-server/) in the\nform `WEBPACKER_DEV_SERVER_<OPTION>`. Please note that these environmental\nvariables will always take precedence over the ones already set in the\nconfiguration file, and that the _same_ environmental variables must\nbe available to the `rails server` process.\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=example.com WEBPACKER_DEV_SERVER_INLINE=true WEBPACKER_DEV_SERVER_HOT=false ./bin/webpack-dev-server\n```\n\nBy default, the webpack dev server listens on `localhost` in development for security purposes.\nHowever, if you want your app to be available over local LAN IP or a VM instance like vagrant,\nyou can set the `host` when running `./bin/webpack-dev-server` binstub:\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=0.0.0.0 ./bin/webpack-dev-server\n```\n\n**Note:** You need to allow webpack-dev-server host as an allowed origin for `connect-src` if you are running your application in a restrict CSP environment (like Rails 5.2+). This can be done in Rails 5.2+ in the CSP initializer `config/initializers/content_security_policy.rb` with a snippet like this:\n\n```ruby\n  Rails.application.config.content_security_policy do |policy|\n    policy.connect_src :self, :https, 'http://localhost:3035', 'ws://localhost:3035' if Rails.env.development?\n  end\n```\n\n**Note:** Don't forget to prefix `ruby` when running these binstubs on Windows\n\n### Webpack Configuration\n\nSee [docs/webpack](docs/webpack.md) for modifying webpack configuration and loaders.\n\n\n### Custom Rails environments\n\nOut of the box Webpacker ships with - development, test and production environments in `config/webpacker.yml` however, in most production apps extra environments are needed as part of deployment workflow. Webpacker supports this out of the box from version 3.4.0+ onwards.\n\nYou can choose to define additional environment configurations in webpacker.yml,\n\n```yml\nstaging:\n  <<: *default\n\n  # Production depends on precompilation of packs prior to booting for performance.\n  compile: false\n\n  # Cache manifest.json for performance\n  cache_manifest: true\n\n  # Compile staging packs to a separate directory\n  public_output_path: packs-staging\n```\n\nor, Webpacker will use production environment as a fallback environment for loading configurations. Please note, `NODE_ENV` can either be set to `production`, `development` or `test`.\nThis means you don't need to create additional environment files inside `config/webpacker/*` and instead use webpacker.yml to load different configurations using `RAILS_ENV`.\n\nFor example, the below command will compile assets in production mode but will use staging configurations from `config/webpacker.yml` if available or use fallback production environment configuration:\n\n```bash\nRAILS_ENV=staging bundle exec rails assets:precompile\n```\n\nAnd, this will compile in development mode and load configuration for cucumber environment\nif defined in webpacker.yml or fallback to production configuration\n\n```bash\nRAILS_ENV=cucumber NODE_ENV=development bundle exec rails assets:precompile\n```\n\nPlease note, binstubs compiles in development mode however rake tasks\ncompiles in production mode.\n\n```bash\n# Compiles in development mode unless NODE_ENV is specified\n./bin/webpack\n./bin/webpack-dev-server\n\n# compiles in production mode by default unless NODE_ENV is specified\nbundle exec rails assets:precompile\nbundle exec rails webpacker:compile\n```\n\n\n### Upgrading\n\nYou can run following commands to upgrade Webpacker to the latest stable version. This process involves upgrading the gem and related JavaScript packages:\n\n```bash\nbundle update webpacker\nrails webpacker:binstubs\nyarn upgrade @rails/webpacker --latest\nyarn add webpack-dev-server@^3.1.14\n\n# Or to install a latest release (including pre-releases)\nyarn add @rails/webpacker@next\n```\n\n### Yarn Integrity\n\nBy default, in development, webpacker runs a yarn integrity check to ensure that all local JavaScript packages are up-to-date. This is similar to what bundler does currently in Rails, but for JavaScript packages. If your system is out of date, then Rails will not initialize. You will be asked to upgrade your local JavaScript packages by running `yarn install`.\n\nTo turn off this option, you will need to change the default setting in `config/webpacker.yml`:\n\n```yaml\n# config/webpacker.yml\ndevelopment:\n  ...\n  # Verifies that versions and hashed value of the package contents in the project's package.json\n  check_yarn_integrity: false\n```\n\nYou may also turn on this feature by adding the config option for any Rails environment in `config/webpacker.yml`:\n\n```yaml\n  check_yarn_integrity: true\n```\n\n## Integrations\n\nWebpacker ships with basic out-of-the-box integration for React, Angular, Vue and Elm.\nYou can see a list of available commands/tasks by running `bundle exec rails webpacker`:\n\n### React\n\nTo use Webpacker with [React](https://facebook.github.io/react/), create a\nnew Rails 5.1+ app using `--webpack=react` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=react\n```\n\n(or run `bundle exec rails webpacker:install:react` in a existing Rails app already\nsetup with Webpacker).\n\nThe installer will add all relevant dependencies using Yarn, changes\nto the configuration files, and an example React component to your\nproject in `app/javascript/packs` so that you can experiment with React right away.\n\n\n### Angular with TypeScript\n\nTo use Webpacker with [Angular](https://angular.io/), create a\nnew Rails 5.1+ app using `--webpack=angular` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=angular\n```\n\n(or run `bundle exec rails webpacker:install:angular` on a Rails app already\nsetup with Webpacker).\n\nThe installer will add the TypeScript and Angular core libraries using Yarn alongside\na few changes to the configuration files. An example component written in\nTypeScript will also be added to your project in `app/javascript` so that\nyou can experiment with Angular right away.\n\nBy default, Angular uses a JIT compiler for development environment. This\ncompiler is not compatible with restrictive CSP (Content Security\nPolicy) environments like Rails 5.2+. You can use Angular AOT compiler\nin development with the [@ngtools/webpack](https://www.npmjs.com/package/@ngtools/webpack#usage) plugin.\n\nAlternatively if you're using Rails 5.2+ you can enable `unsafe-eval` rule for your\ndevelopment environment. This can be done in the `config/initializers/content_security_policy.rb`\nwith the following code:\n\n```ruby\nRails.application.config.content_security_policy do |policy|\n  if Rails.env.development?\n    policy.script_src :self, :https, :unsafe_eval\n  else\n    policy.script_src :self, :https\n  end\nend\n```\n\n\n### Vue\n\nTo use Webpacker with [Vue](https://vuejs.org/), create a\nnew Rails 5.1+ app using `--webpack=vue` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=vue\n```\n(or run `bundle exec rails webpacker:install:vue` on a Rails app already setup with Webpacker).\n\nThe installer will add Vue and its required libraries using Yarn alongside\nautomatically applying changes needed to the configuration files. An example component will\nbe added to your project in `app/javascript` so that you can experiment with Vue right away.\n\nIf you're using Rails 5.2+ you'll need to enable `unsafe-eval` rule for your development environment.\nThis can be done in the `config/initializers/content_security_policy.rb` with the following\nconfiguration:\n\n```ruby\nRails.application.config.content_security_policy do |policy|\n  if Rails.env.development?\n    policy.script_src :self, :https, :unsafe_eval\n  else\n    policy.script_src :self, :https\n  end\nend\n```\nYou can read more about this in the [Vue docs](https://vuejs.org/v2/guide/installation.html#CSP-environments).\n\n\n### Elm\n\nTo use Webpacker with [Elm](http://elm-lang.org), create a\nnew Rails 5.1+ app using `--webpack=elm` option:\n\n```\n# Rails 5.1+\nrails new myapp --webpack=elm\n```\n\n(or run `bundle exec rails webpacker:install:elm` on a Rails app already setup with Webpacker).\n\nThe Elm library and its core packages will be added via Yarn and Elm.\nAn example `Main.elm` app will also be added to your project in `app/javascript`\nso that you can experiment with Elm right away.\n\n### Stimulus\n\nTo use Webpacker with [Stimulus](http://stimulusjs.org), create a\nnew Rails 5.1+ app using `--webpack=stimulus` option:\n\n```\n# Rails 5.1+\nrails new myapp --webpack=stimulus\n```\n\n(or run `bundle exec rails webpacker:install:stimulus` on a Rails app already setup with Webpacker).\n\nPlease read [The Stimulus Handbook](https://stimulusjs.org/handbook/introduction) or learn more about its source code at https://github.com/stimulusjs/stimulus\n\n### Coffeescript\n\nTo add [Coffeescript](http://coffeescript.org/) support,\nrun `bundle exec rails webpacker:install:coffee` on a Rails app already\nsetup with Webpacker.\n\nAn example `hello_coffee.coffee` file will also be added to your project\nin `app/javascript/packs` so that you can experiment with Coffeescript right away.\n\n### Erb\n\nTo add [Erb](https://apidock.com/ruby/ERB) support in your JS templates,\nrun `bundle exec rails webpacker:install:erb` on a Rails app already\nsetup with Webpacker.\n\nAn example `hello_erb.js.erb` file will also be added to your project\nin `app/javascript/packs` so that you can experiment with Erb-flavoured\njavascript right away.\n\n\n## Paths\n\nBy default, Webpacker ships with simple conventions for where the JavaScript\napp files and compiled webpack bundles will go in your Rails app.\nAll these options are configurable from `config/webpacker.yml` file.\n\nThe configuration for what webpack is supposed to compile by default rests\non the convention that every file in `app/javascript/packs/*`**(default)**\nor whatever path you set for `source_entry_path` in the `webpacker.yml` configuration\nis turned into their own output files (or entry points, as webpack calls it). Therefore you don't want to put anything inside `packs` directory that you do not want to be\nan entry file. As a rule of thumb, put all files you want to link in your views inside\n\"packs\" directory and keep everything else under `app/javascript`.\n\nSuppose you want to change the source directory from `app/javascript`\nto `frontend` and output to `assets/packs`. This is how you would do it:\n\n```yml\n# config/webpacker.yml\nsource_path: frontend\nsource_entry_path: packs\npublic_output_path: assets/packs # outputs to => public/assets/packs\n```\n\nSimilarly you can also control and configure `webpack-dev-server` settings from `config/webpacker.yml` file:\n\n```yml\n# config/webpacker.yml\ndevelopment:\n  dev_server:\n    host: localhost\n    port: 3035\n```\n\nIf you have `hmr` turned to true, then the `stylesheet_pack_tag` generates no output, as you will want to configure your styles to be inlined in your JavaScript for hot reloading. During production and testing, the `stylesheet_pack_tag` will create the appropriate HTML tags.\n\n\n### Resolved\n\nIf you are adding Webpacker to an existing app that has most of the assets inside\n`app/assets` or inside an engine, and you want to share that\nwith webpack modules, you can use the `resolved_paths`\noption available in `config/webpacker.yml`. This lets you\nadd additional paths that webpack should lookup when resolving modules:\n\n```yml\nresolved_paths: ['app/assets']\n```\n\nYou can then import these items inside your modules like so:\n\n```js\n// Note it's relative to parent directory i.e. app/assets\nimport 'stylesheets/main'\nimport 'images/rails.png'\n```\n\n**Note:** Please be careful when adding paths here otherwise it\nwill make the compilation slow, consider adding specific paths instead of\nwhole parent directory if you just need to reference one or two modules\n\n\n### Watched\n\nBy default, the lazy compilation is cached until a file is changed under your\ntracked paths. You can configure which paths are tracked\nby adding new paths to `watched_paths` array. This is much like Rails' `autoload_paths`:\n\n```rb\n# config/initializers/webpacker.rb\n# or config/application.rb\nWebpacker::Compiler.watched_paths << 'bower_components'\n```\n\n\n## Deployment\n\nWebpacker hooks up a new `webpacker:compile` task to `assets:precompile`, which gets run whenever you run `assets:precompile`. If you are not using Sprockets, `webpacker:compile` is automatically aliased to `assets:precompile`. Similar to sprockets both rake tasks will compile packs in production mode but will use `RAILS_ENV` to load configuration from `config/webpacker.yml` (if available).\n\n\n## Docs\n\nYou can find more detailed guides under [docs](./docs).\n\n\n## Contributing\n[![Code Helpers](https://www.codetriage.com/rails/webpacker/badges/users.svg)](https://www.codetriage.com/rails/webpacker)\n\nWe encourage you to contribute to Webpacker! See [CONTRIBUTING](CONTRIBUTING.md) for guidelines about how to proceed.\n\n\n## License\nWebpacker is released under the [MIT License](https://opensource.org/licenses/MIT).\n","_shasum":"58428ded1f66d44f5eadeb71b214e32a72e5d9bd","engines":{"node":">=6.14.4","yarn":">=1.0.0"},"gitHead":"b6777f2134452205878c748bdea51d496fe80270","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"3.10.10","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"6.14.4","dependencies":{"glob":"^7.1.3","flatted":"^2.0.0","js-yaml":"^3.12.1","webpack":"^4.29.0","node-sass":"^4.11.0","css-loader":"^2.1.0","@babel/core":"^7.2.2","file-loader":"^3.0.1","sass-loader":"^7.1.0","webpack-cli":"^3.2.1","babel-loader":"^8.0.5","style-loader":"^0.23.1","@babel/runtime":"^7.2.0","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","@babel/polyfill":"^7.2.5","webpack-sources":"^1.3.0","@babel/preset-env":"^7.2.3","pnp-webpack-plugin":"^1.2.1","postcss-preset-env":"^6.5.0","babel-plugin-macros":"^2.4.5","postcss-safe-parser":"^4.0.1","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^1.2.1","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.5.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^2.0.0","@babel/plugin-transform-runtime":"^7.2.0","babel-plugin-dynamic-import-node":"^2.2.0","optimize-css-assets-webpack-plugin":"^5.0.1","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.0.0","case-sensitive-paths-webpack-plugin":"^2.1.2","@babel/plugin-transform-destructuring":"^7.2.0","@babel/plugin-proposal-class-properties":"^7.2.3","@babel/plugin-proposal-object-rest-spread":"^7.2.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^23.6.0","eslint":"^5.12.1","eslint-plugin-react":"^7.12.4","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.0.0-rc.6_1548410740234_0.16735611336792156","host":"s3://npm-registry-packages"}},"4.0.0-rc.7":{"name":"@rails/webpacker","version":"4.0.0-rc.7","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.0.0-rc.7","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"da354003dd0a0e23d801b75c21aa1f3dc722f732","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.0.0-rc.7.tgz","fileCount":42,"integrity":"sha512-1hDX6HmGFXW0yDZhtTqtRcvSrcT4ZxYaqO4XYCmtsM9ndbL48d7Y7RIeRqKyIIwcT5Cv3EW6usJpeMy65QVDlA==","signatures":[{"sig":"MEUCIQCY1ubGmasnKAO+M1iAT+4fgGmd8SvR8su53AyxzkJSRwIgf6KO9Rq99irUVsDbNmH5prhpPD3uqCGMwgIyPPH73ys=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85579,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSuCFCRA9TVsSAnZWagAARxEP/1b8IMm7UgXJp9UVP5vJ\n56SC33XWNgtDwlh4JxSHZx+4j6YWmoYVIx5JC85Qla1HtqrdDj+17FGueTpz\nAenynbz+bF6spStn/e44a69GwCswlPIYiv5IEPQos7aYXRM2tRwHGZ+ZzuNg\nkwJRZ8Kj0FUEkjxbnW0Ag/MxTduTEqQ0jSvQ22vJoisH94ZT7UOFO7hAix/q\nCpJZgQjP7X+mvbJh6kVMfbQ5KEF8mqicRSkoPdGzhe8QiRWxWbQIqV69i/+Z\nmwIV0Bv9cAEKNGKPuHbpx3a0zeg147jbcymH94WHfUkyQjKvp62NAatwM9ao\nQTF5GOQfLYEVKIcaxI8lF8UFmIACziqbNeB7tbW59uHXZJWPoNPXaRvHEasH\nRYRXgEd/w3cS19YZIEYNE+Ffd6lnMHtjuF6t+VoJv4VQE429s2klVlrUxbcw\n29QfnyfIilztAcBZ66cxmYqL/w2YZblShHpV+8asNaogFoYPK99sxlk/EWuT\nIGtOf9JGSjGYwgfW5x5X7No0oD4W+Nug8C6VFVOH5h8iZhaUJriT4f/k3N5l\npbvB8ZgmffrgH9TJOIfSvyFY8zcsyuRyq6BB4D+zA+Ko10YTfz1Mhc6K/myq\nl1nv7kLQIIOnFlHcMgWN7m1J1zTlOehv5siBZSoH6QrCwctr2vkeKvoEJsO2\n0Hcz\r\n=1MvM\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","_from":".","readme":"# Webpacker\n\n![travis-ci status](https://api.travis-ci.org/rails/webpacker.svg?branch=master)\n[![node.js](https://img.shields.io/badge/node-%3E%3D%206.14.0-brightgreen.svg)](https://nodejs.org/en/)\n[![Gem](https://img.shields.io/gem/v/webpacker.svg)](https://github.com/rails/webpacker)\n\nWebpacker makes it easy to use the JavaScript pre-processor and bundler\n[webpack 4.x.x+](https://webpack.js.org/)\nto manage application-like JavaScript in Rails. It coexists with the asset pipeline,\nas the primary purpose for webpack is app-like JavaScript, not images, CSS, or\neven JavaScript Sprinkles (that all continues to live in app/assets).\n\nHowever, it is possible to use Webpacker for CSS, images and fonts assets as well,\nin which case you may not even need the asset pipeline. This is mostly relevant when exclusively using component-based JavaScript frameworks.\n\n**NOTE:** The master branch now hosts the code for v4.x.x. Please refer to [3-x-stable](https://github.com/rails/webpacker/tree/3-x-stable) branch for 3.x documentation.\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n- [Features](#features)\n- [Installation](#installation)\n  - [Usage](#usage)\n  - [Development](#development)\n  - [Webpack Configuration](#webpack-configuration)\n  - [Custom Rails environments](#custom-rails-environments)\n  - [Upgrading](#upgrading)\n  - [Yarn Integrity](#yarn-integrity)\n- [Integrations](#integrations)\n  - [React](#react)\n  - [Angular with TypeScript](#angular-with-typescript)\n  - [Vue](#vue)\n  - [Elm](#elm)\n  - [Stimulus](#stimulus)\n  - [Coffeescript](#coffeescript)\n  - [Erb](#erb)\n- [Paths](#paths)\n  - [Resolved](#resolved)\n  - [Watched](#watched)\n- [Deployment](#deployment)\n- [Docs](#docs)\n- [Contributing](#contributing)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n\n## Prerequisites\n\n* Ruby 2.2+\n* Rails 4.2+\n* Node.js 6.14.4+\n* Yarn 1.x+\n\n\n## Features\n\n* [webpack 4.x.x](https://webpack.js.org/)\n* ES6 with [babel](https://babeljs.io/)\n* Automatic code splitting using multiple entry points\n* Stylesheets - Sass and CSS\n* Images and fonts\n* PostCSS - Auto-Prefixer\n* Asset compression, source-maps, and minification\n* CDN support\n* React, Angular, Elm and Vue support out-of-the-box\n* Rails view helpers\n* Extensible and configurable\n\n\n## Installation\n\nYou can either add Webpacker during setup of a new Rails 5.1+ application\nusing new `--webpack` option:\n\n```bash\n# Available Rails 5.1+\nrails new myapp --webpack\n```\n\nOr add it to your `Gemfile`:\n\n```ruby\n# Gemfile\ngem 'webpacker', '~> 3.5'\n\n# OR if you prefer to use master\ngem 'webpacker', git: 'https://github.com/rails/webpacker.git'\nyarn add https://github.com/rails/webpacker.git\n\n# OR to try out 4.x pre-release\ngem 'webpacker', '>= 4.0.x'\nyarn add @rails/webpacker@next\n```\n\nFinally, run the following to install Webpacker:\n\n```bash\nbundle\nbundle exec rails webpacker:install\n\n# OR (on rails version < 5.0)\nbundle exec rake webpacker:install\n```\n\nOptional: To fix [\"unmet peer dependency\" warnings](https://github.com/rails/webpacker/issues/1078),\n\n```bash\nyarn upgrade\n```\n\n### Usage\n\nOnce installed, you can start writing modern ES6-flavored JavaScript apps right away:\n\n```yml\napp/javascript:\n  ├── packs:\n  │   # only webpack entry files here\n  │   └── application.js\n  └── src:\n  │   └── application.css\n  └── images:\n      └── logo.svg\n```\n\nYou can then link the JavaScript pack in Rails views using the `javascript_pack_tag` helper.\nIf you have styles imported in your pack file, you can link them by using `stylesheet_pack_tag`:\n\n```erb\n<%= javascript_pack_tag 'application' %>\n<%= stylesheet_pack_tag 'application' %>\n```\n\nIf you want to link a static asset for `<link rel=\"prefetch\">` or `<img />` tag, you\ncan use the `asset_pack_path` helper:\n\n```erb\n<link rel=\"prefetch\" href=\"<%= asset_pack_path 'application.css' %>\" />\n<img src=\"<%= asset_pack_path 'images/logo.svg' %>\" />\n```\n\nIf you are using new webpack 4 split chunks API, then consider using `javascript_packs_with_chunks_tag` helper, which creates html\ntags for a pack and all the dependent chunks.\n\n```erb\n<%= javascript_packs_with_chunks_tag 'calendar', 'map', 'data-turbolinks-track': 'reload' %>\n\n<script src=\"/packs/vendor-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/calendar~runtime-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/calendar-1016838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/map~runtime-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/map-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n```\n\n**Important:** Pass all your pack names when using `javascript_packs_with_chunks_tag`\nhelper otherwise you will get duplicated chunks on the page.\n\n```erb\n<%# DO %>\n<%= javascript_packs_with_chunks_tag 'calendar', 'map' %>\n\n<%# DON'T %>\n<%= javascript_packs_with_chunks_tag 'calendar' %>\n<%= javascript_packs_with_chunks_tag 'map' %>\n```\n\n**Note:** In order for your styles or static assets files to be available in your view,\nyou would need to link them in your \"pack\" or entry file.\n\n\n### Development\n\nWebpacker ships with two binstubs: `./bin/webpack` and `./bin/webpack-dev-server`.\nBoth are thin wrappers around the standard `webpack.js` and `webpack-dev-server.js`\nexecutables to ensure that the right configuration files and environmental variables\nare loaded based on your environment.\n\nIn development, Webpacker compiles on demand rather than upfront by default. This\nhappens when you refer to any of the pack assets using the Webpacker helper methods.\nThis means that you don't have to run any separate processes. Compilation errors are logged\nto the standard Rails log.\n\nIf you want to use live code reloading, or you have enough JavaScript that on-demand compilation is too slow, you'll need to run `./bin/webpack-dev-server` or `ruby ./bin/webpack-dev-server`. Windows users will need to run these commands\nin a terminal separate from `bundle exec rails s`. This process will watch for changes\nin the `app/javascript/packs/*.js` files and automatically reload the browser to match.\n\n```bash\n# webpack dev server\n./bin/webpack-dev-server\n\n# watcher\n./bin/webpack --watch --colors --progress\n\n# standalone build\n./bin/webpack\n```\n\nOnce you start this development server, Webpacker will automatically start proxying all\nwebpack asset requests to this server. When you stop the server, it'll revert back to\non-demand compilation.\n\nYou can use environment variables as options supported by\n[webpack-dev-server](https://webpack.js.org/configuration/dev-server/) in the\nform `WEBPACKER_DEV_SERVER_<OPTION>`. Please note that these environmental\nvariables will always take precedence over the ones already set in the\nconfiguration file, and that the _same_ environmental variables must\nbe available to the `rails server` process.\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=example.com WEBPACKER_DEV_SERVER_INLINE=true WEBPACKER_DEV_SERVER_HOT=false ./bin/webpack-dev-server\n```\n\nBy default, the webpack dev server listens on `localhost` in development for security purposes.\nHowever, if you want your app to be available over local LAN IP or a VM instance like vagrant,\nyou can set the `host` when running `./bin/webpack-dev-server` binstub:\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=0.0.0.0 ./bin/webpack-dev-server\n```\n\n**Note:** You need to allow webpack-dev-server host as an allowed origin for `connect-src` if you are running your application in a restrict CSP environment (like Rails 5.2+). This can be done in Rails 5.2+ in the CSP initializer `config/initializers/content_security_policy.rb` with a snippet like this:\n\n```ruby\n  Rails.application.config.content_security_policy do |policy|\n    policy.connect_src :self, :https, 'http://localhost:3035', 'ws://localhost:3035' if Rails.env.development?\n  end\n```\n\n**Note:** Don't forget to prefix `ruby` when running these binstubs on Windows\n\n### Webpack Configuration\n\nSee [docs/webpack](docs/webpack.md) for modifying webpack configuration and loaders.\n\n\n### Custom Rails environments\n\nOut of the box Webpacker ships with - development, test and production environments in `config/webpacker.yml` however, in most production apps extra environments are needed as part of deployment workflow. Webpacker supports this out of the box from version 3.4.0+ onwards.\n\nYou can choose to define additional environment configurations in webpacker.yml,\n\n```yml\nstaging:\n  <<: *default\n\n  # Production depends on precompilation of packs prior to booting for performance.\n  compile: false\n\n  # Cache manifest.json for performance\n  cache_manifest: true\n\n  # Compile staging packs to a separate directory\n  public_output_path: packs-staging\n```\n\nor, Webpacker will use production environment as a fallback environment for loading configurations. Please note, `NODE_ENV` can either be set to `production`, `development` or `test`.\nThis means you don't need to create additional environment files inside `config/webpacker/*` and instead use webpacker.yml to load different configurations using `RAILS_ENV`.\n\nFor example, the below command will compile assets in production mode but will use staging configurations from `config/webpacker.yml` if available or use fallback production environment configuration:\n\n```bash\nRAILS_ENV=staging bundle exec rails assets:precompile\n```\n\nAnd, this will compile in development mode and load configuration for cucumber environment\nif defined in webpacker.yml or fallback to production configuration\n\n```bash\nRAILS_ENV=cucumber NODE_ENV=development bundle exec rails assets:precompile\n```\n\nPlease note, binstubs compiles in development mode however rake tasks\ncompiles in production mode.\n\n```bash\n# Compiles in development mode unless NODE_ENV is specified\n./bin/webpack\n./bin/webpack-dev-server\n\n# compiles in production mode by default unless NODE_ENV is specified\nbundle exec rails assets:precompile\nbundle exec rails webpacker:compile\n```\n\n\n### Upgrading\n\nYou can run following commands to upgrade Webpacker to the latest stable version. This process involves upgrading the gem and related JavaScript packages:\n\n```bash\nbundle update webpacker\nrails webpacker:binstubs\nyarn upgrade @rails/webpacker --latest\nyarn add webpack-dev-server@^3.1.14\n\n# Or to install a latest release (including pre-releases)\nyarn add @rails/webpacker@next\n```\n\n### Yarn Integrity\n\nBy default, in development, webpacker runs a yarn integrity check to ensure that all local JavaScript packages are up-to-date. This is similar to what bundler does currently in Rails, but for JavaScript packages. If your system is out of date, then Rails will not initialize. You will be asked to upgrade your local JavaScript packages by running `yarn install`.\n\nTo turn off this option, you will need to change the default setting in `config/webpacker.yml`:\n\n```yaml\n# config/webpacker.yml\ndevelopment:\n  ...\n  # Verifies that versions and hashed value of the package contents in the project's package.json\n  check_yarn_integrity: false\n```\n\nYou may also turn on this feature by adding the config option for any Rails environment in `config/webpacker.yml`:\n\n```yaml\n  check_yarn_integrity: true\n```\n\n## Integrations\n\nWebpacker ships with basic out-of-the-box integration for React, Angular, Vue and Elm.\nYou can see a list of available commands/tasks by running `bundle exec rails webpacker`:\n\n### React\n\nTo use Webpacker with [React](https://facebook.github.io/react/), create a\nnew Rails 5.1+ app using `--webpack=react` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=react\n```\n\n(or run `bundle exec rails webpacker:install:react` in a existing Rails app already\nsetup with Webpacker).\n\nThe installer will add all relevant dependencies using Yarn, changes\nto the configuration files, and an example React component to your\nproject in `app/javascript/packs` so that you can experiment with React right away.\n\n\n### Angular with TypeScript\n\nTo use Webpacker with [Angular](https://angular.io/), create a\nnew Rails 5.1+ app using `--webpack=angular` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=angular\n```\n\n(or run `bundle exec rails webpacker:install:angular` on a Rails app already\nsetup with Webpacker).\n\nThe installer will add the TypeScript and Angular core libraries using Yarn alongside\na few changes to the configuration files. An example component written in\nTypeScript will also be added to your project in `app/javascript` so that\nyou can experiment with Angular right away.\n\nBy default, Angular uses a JIT compiler for development environment. This\ncompiler is not compatible with restrictive CSP (Content Security\nPolicy) environments like Rails 5.2+. You can use Angular AOT compiler\nin development with the [@ngtools/webpack](https://www.npmjs.com/package/@ngtools/webpack#usage) plugin.\n\nAlternatively if you're using Rails 5.2+ you can enable `unsafe-eval` rule for your\ndevelopment environment. This can be done in the `config/initializers/content_security_policy.rb`\nwith the following code:\n\n```ruby\nRails.application.config.content_security_policy do |policy|\n  if Rails.env.development?\n    policy.script_src :self, :https, :unsafe_eval\n  else\n    policy.script_src :self, :https\n  end\nend\n```\n\n\n### Vue\n\nTo use Webpacker with [Vue](https://vuejs.org/), create a\nnew Rails 5.1+ app using `--webpack=vue` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=vue\n```\n(or run `bundle exec rails webpacker:install:vue` on a Rails app already setup with Webpacker).\n\nThe installer will add Vue and its required libraries using Yarn alongside\nautomatically applying changes needed to the configuration files. An example component will\nbe added to your project in `app/javascript` so that you can experiment with Vue right away.\n\nIf you're using Rails 5.2+ you'll need to enable `unsafe-eval` rule for your development environment.\nThis can be done in the `config/initializers/content_security_policy.rb` with the following\nconfiguration:\n\n```ruby\nRails.application.config.content_security_policy do |policy|\n  if Rails.env.development?\n    policy.script_src :self, :https, :unsafe_eval\n  else\n    policy.script_src :self, :https\n  end\nend\n```\nYou can read more about this in the [Vue docs](https://vuejs.org/v2/guide/installation.html#CSP-environments).\n\n\n### Elm\n\nTo use Webpacker with [Elm](http://elm-lang.org), create a\nnew Rails 5.1+ app using `--webpack=elm` option:\n\n```\n# Rails 5.1+\nrails new myapp --webpack=elm\n```\n\n(or run `bundle exec rails webpacker:install:elm` on a Rails app already setup with Webpacker).\n\nThe Elm library and its core packages will be added via Yarn and Elm.\nAn example `Main.elm` app will also be added to your project in `app/javascript`\nso that you can experiment with Elm right away.\n\n### Stimulus\n\nTo use Webpacker with [Stimulus](http://stimulusjs.org), create a\nnew Rails 5.1+ app using `--webpack=stimulus` option:\n\n```\n# Rails 5.1+\nrails new myapp --webpack=stimulus\n```\n\n(or run `bundle exec rails webpacker:install:stimulus` on a Rails app already setup with Webpacker).\n\nPlease read [The Stimulus Handbook](https://stimulusjs.org/handbook/introduction) or learn more about its source code at https://github.com/stimulusjs/stimulus\n\n### Coffeescript\n\nTo add [Coffeescript](http://coffeescript.org/) support,\nrun `bundle exec rails webpacker:install:coffee` on a Rails app already\nsetup with Webpacker.\n\nAn example `hello_coffee.coffee` file will also be added to your project\nin `app/javascript/packs` so that you can experiment with Coffeescript right away.\n\n### Erb\n\nTo add [Erb](https://apidock.com/ruby/ERB) support in your JS templates,\nrun `bundle exec rails webpacker:install:erb` on a Rails app already\nsetup with Webpacker.\n\nAn example `hello_erb.js.erb` file will also be added to your project\nin `app/javascript/packs` so that you can experiment with Erb-flavoured\njavascript right away.\n\n\n## Paths\n\nBy default, Webpacker ships with simple conventions for where the JavaScript\napp files and compiled webpack bundles will go in your Rails app.\nAll these options are configurable from `config/webpacker.yml` file.\n\nThe configuration for what webpack is supposed to compile by default rests\non the convention that every file in `app/javascript/packs/*`**(default)**\nor whatever path you set for `source_entry_path` in the `webpacker.yml` configuration\nis turned into their own output files (or entry points, as webpack calls it). Therefore you don't want to put anything inside `packs` directory that you do not want to be\nan entry file. As a rule of thumb, put all files you want to link in your views inside\n\"packs\" directory and keep everything else under `app/javascript`.\n\nSuppose you want to change the source directory from `app/javascript`\nto `frontend` and output to `assets/packs`. This is how you would do it:\n\n```yml\n# config/webpacker.yml\nsource_path: frontend\nsource_entry_path: packs\npublic_output_path: assets/packs # outputs to => public/assets/packs\n```\n\nSimilarly you can also control and configure `webpack-dev-server` settings from `config/webpacker.yml` file:\n\n```yml\n# config/webpacker.yml\ndevelopment:\n  dev_server:\n    host: localhost\n    port: 3035\n```\n\nIf you have `hmr` turned to true, then the `stylesheet_pack_tag` generates no output, as you will want to configure your styles to be inlined in your JavaScript for hot reloading. During production and testing, the `stylesheet_pack_tag` will create the appropriate HTML tags.\n\n\n### Resolved\n\nIf you are adding Webpacker to an existing app that has most of the assets inside\n`app/assets` or inside an engine, and you want to share that\nwith webpack modules, you can use the `resolved_paths`\noption available in `config/webpacker.yml`. This lets you\nadd additional paths that webpack should lookup when resolving modules:\n\n```yml\nresolved_paths: ['app/assets']\n```\n\nYou can then import these items inside your modules like so:\n\n```js\n// Note it's relative to parent directory i.e. app/assets\nimport 'stylesheets/main'\nimport 'images/rails.png'\n```\n\n**Note:** Please be careful when adding paths here otherwise it\nwill make the compilation slow, consider adding specific paths instead of\nwhole parent directory if you just need to reference one or two modules\n\n\n### Watched\n\nBy default, the lazy compilation is cached until a file is changed under your\ntracked paths. You can configure which paths are tracked\nby adding new paths to `watched_paths` array. This is much like Rails' `autoload_paths`:\n\n```rb\n# config/initializers/webpacker.rb\n# or config/application.rb\nWebpacker::Compiler.watched_paths << 'bower_components'\n```\n\n\n## Deployment\n\nWebpacker hooks up a new `webpacker:compile` task to `assets:precompile`, which gets run whenever you run `assets:precompile`. If you are not using Sprockets, `webpacker:compile` is automatically aliased to `assets:precompile`. Similar to sprockets both rake tasks will compile packs in production mode but will use `RAILS_ENV` to load configuration from `config/webpacker.yml` (if available).\n\n\n## Docs\n\nYou can find more detailed guides under [docs](./docs).\n\n\n## Contributing\n[![Code Helpers](https://www.codetriage.com/rails/webpacker/badges/users.svg)](https://www.codetriage.com/rails/webpacker)\n\nWe encourage you to contribute to Webpacker! See [CONTRIBUTING](CONTRIBUTING.md) for guidelines about how to proceed.\n\n\n## License\nWebpacker is released under the [MIT License](https://opensource.org/licenses/MIT).\n","_shasum":"da354003dd0a0e23d801b75c21aa1f3dc722f732","engines":{"node":">=6.14.4","yarn":">=1.0.0"},"gitHead":"0d2b6ec5135773d7ca7dbd69174f629ee772811e","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"3.10.10","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"6.14.4","dependencies":{"glob":"^7.1.3","flatted":"^2.0.0","js-yaml":"^3.12.1","webpack":"^4.29.0","node-sass":"^4.11.0","css-loader":"^2.1.0","@babel/core":"^7.2.2","file-loader":"^3.0.1","sass-loader":"^7.1.0","webpack-cli":"^3.2.1","babel-loader":"^8.0.5","style-loader":"^0.23.1","@babel/runtime":"^7.2.0","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","@babel/polyfill":"^7.2.5","webpack-sources":"^1.3.0","@babel/preset-env":"^7.2.3","pnp-webpack-plugin":"^1.2.1","postcss-preset-env":"^6.5.0","babel-plugin-macros":"^2.4.5","postcss-safe-parser":"^4.0.1","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^1.2.1","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.5.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^2.0.0","@babel/plugin-transform-runtime":"^7.2.0","babel-plugin-dynamic-import-node":"^2.2.0","optimize-css-assets-webpack-plugin":"^5.0.1","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.0.0","case-sensitive-paths-webpack-plugin":"^2.1.2","@babel/plugin-transform-destructuring":"^7.2.0","@babel/plugin-proposal-class-properties":"^7.2.3","@babel/plugin-proposal-object-rest-spread":"^7.2.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^23.6.0","eslint":"^5.12.1","eslint-plugin-react":"^7.12.4","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.0.0-rc.7_1548411013323_0.30540488548585754","host":"s3://npm-registry-packages"}},"4.0.0-rc.8":{"name":"@rails/webpacker","version":"4.0.0-rc.8","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.0.0-rc.8","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"ccffbc8f5561ad04178af982f43623a43960b204","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.0.0-rc.8.tgz","fileCount":42,"integrity":"sha512-At1VE4uNbb1BI6yDCqhaCT6MNQamlYhYrXZkrJkbayCPGzWK9vUq49+csgDjD3o/IYnNEweJo2vgixfxl6qNyg==","signatures":[{"sig":"MEUCIF7TIZUTpEMC/CG3W6KV3a0YjAaewZRyrNcFAhCadE1AAiEAzmbld0fyeeEaJLPetZRMawGc7A+ggBeItaW7mg7f56k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":89044,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfERQCRA9TVsSAnZWagAAZ+oP/2BR0CceFut7QFKOCAO9\nXG5duQA5NzhGaCjiV9nQBKYu9xbIGe2Ph2xZFz7pd5DjsWsUHwaeSYIl0qej\nxdQeuo3fkeN/NcJCnqFQwWUB9oLMle6en9vHbuDot9MAAD5qzkjzhgpdM+ME\nHUncr+rnKyMU1jl+BJzCdUFgnlZGUgzLqb8SpEli2cgdPPmFhrTvAM+93MEs\neNa057jrBLP1vKPJ+PqpgFMK9PPkxh/NtdtzSYxeo8ikO6blTpbOqffncmJw\nghsDzj81zx5PJgN1nBJzP9wYePYoX8qY6DmodHUnUqeLe2RcYGjhvSRdX8t4\ngdJvhXyJ8TyNY+caddKHybJQvvLvQaTQpC/MUctq2WNiiIa7O8/Aad/FhYWP\nrFCdiBUHnicYWqic1/jQZJdUxllS/v5mo2Hprmkt+IAl6heQerW+lkSwYQo+\nR32ShECplNLY3AV4rJH/QD1khRAyC+B8DpD+Wr5Qvhwu/8zUrQRIzrouFKrV\n0+MnJrz8/pVuQcm7VTvSI+Kuuyip39M6HKixEmXSn9ACDqpCjfMmBrGsB29a\n24at2UGns7ryrEcAR/wQQlTh3k0dxBHBTzgsWnLeIDQEK4B/QpSnRMuIFUDU\nzK9I+I+af6HoXCgOdeDJamZrFko6YUXkJxWzgKBpeMBdmCnrQDU+ebojKYUm\nNvp0\r\n=6rZf\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","_from":".","readme":"# Webpacker\n\n![travis-ci status](https://api.travis-ci.org/rails/webpacker.svg?branch=master)\n[![node.js](https://img.shields.io/badge/node-%3E%3D%206.14.0-brightgreen.svg)](https://nodejs.org/en/)\n[![Gem](https://img.shields.io/gem/v/webpacker.svg)](https://github.com/rails/webpacker)\n\nWebpacker makes it easy to use the JavaScript pre-processor and bundler\n[webpack 4.x.x+](https://webpack.js.org/)\nto manage application-like JavaScript in Rails. It coexists with the asset pipeline,\nas the primary purpose for webpack is app-like JavaScript, not images, CSS, or\neven JavaScript Sprinkles (that all continues to live in app/assets).\n\nHowever, it is possible to use Webpacker for CSS, images and fonts assets as well,\nin which case you may not even need the asset pipeline. This is mostly relevant when exclusively using component-based JavaScript frameworks.\n\n**NOTE:** The master branch now hosts the code for v4.x.x. Please refer to [3-x-stable](https://github.com/rails/webpacker/tree/3-x-stable) branch for 3.x documentation.\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n- [Features](#features)\n- [Installation](#installation)\n  - [Usage](#usage)\n  - [Development](#development)\n  - [Webpack Configuration](#webpack-configuration)\n  - [Custom Rails environments](#custom-rails-environments)\n  - [Upgrading](#upgrading)\n  - [Yarn Integrity](#yarn-integrity)\n- [Integrations](#integrations)\n  - [React](#react)\n  - [Angular with TypeScript](#angular-with-typescript)\n  - [Vue](#vue)\n  - [Elm](#elm)\n  - [Stimulus](#stimulus)\n  - [Coffeescript](#coffeescript)\n  - [Erb](#erb)\n- [Paths](#paths)\n  - [Resolved](#resolved)\n  - [Watched](#watched)\n- [Deployment](#deployment)\n- [Docs](#docs)\n- [Contributing](#contributing)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n\n## Prerequisites\n\n* Ruby 2.2+\n* Rails 4.2+\n* Node.js 6.14.4+\n* Yarn 1.x+\n\n\n## Features\n\n* [webpack 4.x.x](https://webpack.js.org/)\n* ES6 with [babel](https://babeljs.io/)\n* Automatic code splitting using multiple entry points\n* Stylesheets - Sass and CSS\n* Images and fonts\n* PostCSS - Auto-Prefixer\n* Asset compression, source-maps, and minification\n* CDN support\n* React, Angular, Elm and Vue support out-of-the-box\n* Rails view helpers\n* Extensible and configurable\n\n\n## Installation\n\nYou can either add Webpacker during setup of a new Rails 5.1+ application\nusing new `--webpack` option:\n\n```bash\n# Available Rails 5.1+\nrails new myapp --webpack\n```\n\nOr add it to your `Gemfile`:\n\n```ruby\n# Gemfile\ngem 'webpacker', '~> 3.5'\n\n# OR if you prefer to use master\ngem 'webpacker', git: 'https://github.com/rails/webpacker.git'\nyarn add https://github.com/rails/webpacker.git\n\n# OR to try out 4.x pre-release\ngem 'webpacker', '>= 4.0.x'\nyarn add @rails/webpacker@next\n```\n\nFinally, run the following to install Webpacker:\n\n```bash\nbundle\nbundle exec rails webpacker:install\n\n# OR (on rails version < 5.0)\nbundle exec rake webpacker:install\n```\n\nOptional: To fix [\"unmet peer dependency\" warnings](https://github.com/rails/webpacker/issues/1078),\n\n```bash\nyarn upgrade\n```\n\n### Usage\n\nOnce installed, you can start writing modern ES6-flavored JavaScript apps right away:\n\n```yml\napp/javascript:\n  ├── packs:\n  │   # only webpack entry files here\n  │   └── application.js\n  └── src:\n  │   └── application.css\n  └── images:\n      └── logo.svg\n```\n\nYou can then link the JavaScript pack in Rails views using the `javascript_pack_tag` helper.\nIf you have styles imported in your pack file, you can link them by using `stylesheet_pack_tag`:\n\n```erb\n<%= javascript_pack_tag 'application' %>\n<%= stylesheet_pack_tag 'application' %>\n```\n\nIf you want to link a static asset for `<link rel=\"prefetch\">` or `<img />` tag, you\ncan use the `asset_pack_path` helper:\n\n```erb\n<link rel=\"prefetch\" href=\"<%= asset_pack_path 'application.css' %>\" />\n<img src=\"<%= asset_pack_path 'images/logo.svg' %>\" />\n```\n\nIf you are using new webpack 4 split chunks API, then consider using `javascript_packs_with_chunks_tag` helper, which creates html\ntags for a pack and all the dependent chunks.\n\n```erb\n<%= javascript_packs_with_chunks_tag 'calendar', 'map', 'data-turbolinks-track': 'reload' %>\n\n<script src=\"/packs/vendor-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/calendar~runtime-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/calendar-1016838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/map~runtime-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/map-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n```\n\n**Important:** Pass all your pack names when using `javascript_packs_with_chunks_tag`\nhelper otherwise you will get duplicated chunks on the page.\n\n```erb\n<%# DO %>\n<%= javascript_packs_with_chunks_tag 'calendar', 'map' %>\n\n<%# DON'T %>\n<%= javascript_packs_with_chunks_tag 'calendar' %>\n<%= javascript_packs_with_chunks_tag 'map' %>\n```\n\n**Note:** In order for your styles or static assets files to be available in your view,\nyou would need to link them in your \"pack\" or entry file.\n\n\n### Development\n\nWebpacker ships with two binstubs: `./bin/webpack` and `./bin/webpack-dev-server`.\nBoth are thin wrappers around the standard `webpack.js` and `webpack-dev-server.js`\nexecutables to ensure that the right configuration files and environmental variables\nare loaded based on your environment.\n\nIn development, Webpacker compiles on demand rather than upfront by default. This\nhappens when you refer to any of the pack assets using the Webpacker helper methods.\nThis means that you don't have to run any separate processes. Compilation errors are logged\nto the standard Rails log.\n\nIf you want to use live code reloading, or you have enough JavaScript that on-demand compilation is too slow, you'll need to run `./bin/webpack-dev-server` or `ruby ./bin/webpack-dev-server`. Windows users will need to run these commands\nin a terminal separate from `bundle exec rails s`. This process will watch for changes\nin the `app/javascript/packs/*.js` files and automatically reload the browser to match.\n\n```bash\n# webpack dev server\n./bin/webpack-dev-server\n\n# watcher\n./bin/webpack --watch --colors --progress\n\n# standalone build\n./bin/webpack\n```\n\nOnce you start this development server, Webpacker will automatically start proxying all\nwebpack asset requests to this server. When you stop the server, it'll revert back to\non-demand compilation.\n\nYou can use environment variables as options supported by\n[webpack-dev-server](https://webpack.js.org/configuration/dev-server/) in the\nform `WEBPACKER_DEV_SERVER_<OPTION>`. Please note that these environmental\nvariables will always take precedence over the ones already set in the\nconfiguration file, and that the _same_ environmental variables must\nbe available to the `rails server` process.\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=example.com WEBPACKER_DEV_SERVER_INLINE=true WEBPACKER_DEV_SERVER_HOT=false ./bin/webpack-dev-server\n```\n\nBy default, the webpack dev server listens on `localhost` in development for security purposes.\nHowever, if you want your app to be available over local LAN IP or a VM instance like vagrant,\nyou can set the `host` when running `./bin/webpack-dev-server` binstub:\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=0.0.0.0 ./bin/webpack-dev-server\n```\n\n**Note:** You need to allow webpack-dev-server host as an allowed origin for `connect-src` if you are running your application in a restrict CSP environment (like Rails 5.2+). This can be done in Rails 5.2+ in the CSP initializer `config/initializers/content_security_policy.rb` with a snippet like this:\n\n```ruby\n  Rails.application.config.content_security_policy do |policy|\n    policy.connect_src :self, :https, 'http://localhost:3035', 'ws://localhost:3035' if Rails.env.development?\n  end\n```\n\n**Note:** Don't forget to prefix `ruby` when running these binstubs on Windows\n\n### Webpack Configuration\n\nSee [docs/webpack](docs/webpack.md) for modifying webpack configuration and loaders.\n\n\n### Custom Rails environments\n\nOut of the box Webpacker ships with - development, test and production environments in `config/webpacker.yml` however, in most production apps extra environments are needed as part of deployment workflow. Webpacker supports this out of the box from version 3.4.0+ onwards.\n\nYou can choose to define additional environment configurations in webpacker.yml,\n\n```yml\nstaging:\n  <<: *default\n\n  # Production depends on precompilation of packs prior to booting for performance.\n  compile: false\n\n  # Cache manifest.json for performance\n  cache_manifest: true\n\n  # Compile staging packs to a separate directory\n  public_output_path: packs-staging\n```\n\nor, Webpacker will use production environment as a fallback environment for loading configurations. Please note, `NODE_ENV` can either be set to `production`, `development` or `test`.\nThis means you don't need to create additional environment files inside `config/webpacker/*` and instead use webpacker.yml to load different configurations using `RAILS_ENV`.\n\nFor example, the below command will compile assets in production mode but will use staging configurations from `config/webpacker.yml` if available or use fallback production environment configuration:\n\n```bash\nRAILS_ENV=staging bundle exec rails assets:precompile\n```\n\nAnd, this will compile in development mode and load configuration for cucumber environment\nif defined in webpacker.yml or fallback to production configuration\n\n```bash\nRAILS_ENV=cucumber NODE_ENV=development bundle exec rails assets:precompile\n```\n\nPlease note, binstubs compiles in development mode however rake tasks\ncompiles in production mode.\n\n```bash\n# Compiles in development mode unless NODE_ENV is specified\n./bin/webpack\n./bin/webpack-dev-server\n\n# compiles in production mode by default unless NODE_ENV is specified\nbundle exec rails assets:precompile\nbundle exec rails webpacker:compile\n```\n\n\n### Upgrading\n\nYou can run following commands to upgrade Webpacker to the latest stable version. This process involves upgrading the gem and related JavaScript packages:\n\n```bash\nbundle update webpacker\nrails webpacker:binstubs\nyarn upgrade @rails/webpacker --latest\nyarn add webpack-dev-server@^3.1.14\n\n# Or to install a latest release (including pre-releases)\nyarn add @rails/webpacker@next\n```\n\n### Yarn Integrity\n\nBy default, in development, webpacker runs a yarn integrity check to ensure that all local JavaScript packages are up-to-date. This is similar to what bundler does currently in Rails, but for JavaScript packages. If your system is out of date, then Rails will not initialize. You will be asked to upgrade your local JavaScript packages by running `yarn install`.\n\nTo turn off this option, you will need to change the default setting in `config/webpacker.yml`:\n\n```yaml\n# config/webpacker.yml\ndevelopment:\n  ...\n  # Verifies that versions and hashed value of the package contents in the project's package.json\n  check_yarn_integrity: false\n```\n\nYou may also turn on this feature by adding the config option for any Rails environment in `config/webpacker.yml`:\n\n```yaml\n  check_yarn_integrity: true\n```\n\n## Integrations\n\nWebpacker ships with basic out-of-the-box integration for React, Angular, Vue and Elm.\nYou can see a list of available commands/tasks by running `bundle exec rails webpacker`:\n\n### React\n\nTo use Webpacker with [React](https://facebook.github.io/react/), create a\nnew Rails 5.1+ app using `--webpack=react` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=react\n```\n\n(or run `bundle exec rails webpacker:install:react` in a existing Rails app already\nsetup with Webpacker).\n\nThe installer will add all relevant dependencies using Yarn, changes\nto the configuration files, and an example React component to your\nproject in `app/javascript/packs` so that you can experiment with React right away.\n\n\n### Angular with TypeScript\n\nTo use Webpacker with [Angular](https://angular.io/), create a\nnew Rails 5.1+ app using `--webpack=angular` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=angular\n```\n\n(or run `bundle exec rails webpacker:install:angular` on a Rails app already\nsetup with Webpacker).\n\nThe installer will add the TypeScript and Angular core libraries using Yarn alongside\na few changes to the configuration files. An example component written in\nTypeScript will also be added to your project in `app/javascript` so that\nyou can experiment with Angular right away.\n\nBy default, Angular uses a JIT compiler for development environment. This\ncompiler is not compatible with restrictive CSP (Content Security\nPolicy) environments like Rails 5.2+. You can use Angular AOT compiler\nin development with the [@ngtools/webpack](https://www.npmjs.com/package/@ngtools/webpack#usage) plugin.\n\nAlternatively if you're using Rails 5.2+ you can enable `unsafe-eval` rule for your\ndevelopment environment. This can be done in the `config/initializers/content_security_policy.rb`\nwith the following code:\n\n```ruby\nRails.application.config.content_security_policy do |policy|\n  if Rails.env.development?\n    policy.script_src :self, :https, :unsafe_eval\n  else\n    policy.script_src :self, :https\n  end\nend\n```\n\n\n### Vue\n\nTo use Webpacker with [Vue](https://vuejs.org/), create a\nnew Rails 5.1+ app using `--webpack=vue` option:\n\n```bash\n# Rails 5.1+\nrails new myapp --webpack=vue\n```\n(or run `bundle exec rails webpacker:install:vue` on a Rails app already setup with Webpacker).\n\nThe installer will add Vue and its required libraries using Yarn alongside\nautomatically applying changes needed to the configuration files. An example component will\nbe added to your project in `app/javascript` so that you can experiment with Vue right away.\n\nIf you're using Rails 5.2+ you'll need to enable `unsafe-eval` rule for your development environment.\nThis can be done in the `config/initializers/content_security_policy.rb` with the following\nconfiguration:\n\n```ruby\nRails.application.config.content_security_policy do |policy|\n  if Rails.env.development?\n    policy.script_src :self, :https, :unsafe_eval\n  else\n    policy.script_src :self, :https\n  end\nend\n```\nYou can read more about this in the [Vue docs](https://vuejs.org/v2/guide/installation.html#CSP-environments).\n\n\n### Elm\n\nTo use Webpacker with [Elm](http://elm-lang.org), create a\nnew Rails 5.1+ app using `--webpack=elm` option:\n\n```\n# Rails 5.1+\nrails new myapp --webpack=elm\n```\n\n(or run `bundle exec rails webpacker:install:elm` on a Rails app already setup with Webpacker).\n\nThe Elm library and its core packages will be added via Yarn and Elm.\nAn example `Main.elm` app will also be added to your project in `app/javascript`\nso that you can experiment with Elm right away.\n\n### Stimulus\n\nTo use Webpacker with [Stimulus](http://stimulusjs.org), create a\nnew Rails 5.1+ app using `--webpack=stimulus` option:\n\n```\n# Rails 5.1+\nrails new myapp --webpack=stimulus\n```\n\n(or run `bundle exec rails webpacker:install:stimulus` on a Rails app already setup with Webpacker).\n\nPlease read [The Stimulus Handbook](https://stimulusjs.org/handbook/introduction) or learn more about its source code at https://github.com/stimulusjs/stimulus\n\n### Coffeescript\n\nTo add [Coffeescript](http://coffeescript.org/) support,\nrun `bundle exec rails webpacker:install:coffee` on a Rails app already\nsetup with Webpacker.\n\nAn example `hello_coffee.coffee` file will also be added to your project\nin `app/javascript/packs` so that you can experiment with Coffeescript right away.\n\n### Erb\n\nTo add [Erb](https://apidock.com/ruby/ERB) support in your JS templates,\nrun `bundle exec rails webpacker:install:erb` on a Rails app already\nsetup with Webpacker.\n\nAn example `hello_erb.js.erb` file will also be added to your project\nin `app/javascript/packs` so that you can experiment with Erb-flavoured\njavascript right away.\n\n\n## Paths\n\nBy default, Webpacker ships with simple conventions for where the JavaScript\napp files and compiled webpack bundles will go in your Rails app.\nAll these options are configurable from `config/webpacker.yml` file.\n\nThe configuration for what webpack is supposed to compile by default rests\non the convention that every file in `app/javascript/packs/*`**(default)**\nor whatever path you set for `source_entry_path` in the `webpacker.yml` configuration\nis turned into their own output files (or entry points, as webpack calls it). Therefore you don't want to put anything inside `packs` directory that you do not want to be\nan entry file. As a rule of thumb, put all files you want to link in your views inside\n\"packs\" directory and keep everything else under `app/javascript`.\n\nSuppose you want to change the source directory from `app/javascript`\nto `frontend` and output to `assets/packs`. This is how you would do it:\n\n```yml\n# config/webpacker.yml\nsource_path: frontend\nsource_entry_path: packs\npublic_output_path: assets/packs # outputs to => public/assets/packs\n```\n\nSimilarly you can also control and configure `webpack-dev-server` settings from `config/webpacker.yml` file:\n\n```yml\n# config/webpacker.yml\ndevelopment:\n  dev_server:\n    host: localhost\n    port: 3035\n```\n\nIf you have `hmr` turned to true, then the `stylesheet_pack_tag` generates no output, as you will want to configure your styles to be inlined in your JavaScript for hot reloading. During production and testing, the `stylesheet_pack_tag` will create the appropriate HTML tags.\n\n\n### Resolved\n\nIf you are adding Webpacker to an existing app that has most of the assets inside\n`app/assets` or inside an engine, and you want to share that\nwith webpack modules, you can use the `resolved_paths`\noption available in `config/webpacker.yml`. This lets you\nadd additional paths that webpack should lookup when resolving modules:\n\n```yml\nresolved_paths: ['app/assets']\n```\n\nYou can then import these items inside your modules like so:\n\n```js\n// Note it's relative to parent directory i.e. app/assets\nimport 'stylesheets/main'\nimport 'images/rails.png'\n```\n\n**Note:** Please be careful when adding paths here otherwise it\nwill make the compilation slow, consider adding specific paths instead of\nwhole parent directory if you just need to reference one or two modules\n\n\n### Watched\n\nBy default, the lazy compilation is cached until a file is changed under your\ntracked paths. You can configure which paths are tracked\nby adding new paths to `watched_paths` array. This is much like Rails' `autoload_paths`:\n\n```rb\n# config/initializers/webpacker.rb\n# or config/application.rb\nWebpacker::Compiler.watched_paths << 'bower_components'\n```\n\n\n## Deployment\n\nWebpacker hooks up a new `webpacker:compile` task to `assets:precompile`, which gets run whenever you run `assets:precompile`. If you are not using Sprockets, `webpacker:compile` is automatically aliased to `assets:precompile`. Similar to sprockets both rake tasks will compile packs in production mode but will use `RAILS_ENV` to load configuration from `config/webpacker.yml` (if available).\n\n\n## Docs\n\nYou can find more detailed guides under [docs](./docs).\n\n\n## Contributing\n[![Code Helpers](https://www.codetriage.com/rails/webpacker/badges/users.svg)](https://www.codetriage.com/rails/webpacker)\n\nWe encourage you to contribute to Webpacker! See [CONTRIBUTING](CONTRIBUTING.md) for guidelines about how to proceed.\n\n\n## License\nWebpacker is released under the [MIT License](https://opensource.org/licenses/MIT).\n","_shasum":"ccffbc8f5561ad04178af982f43623a43960b204","engines":{"node":">=6.14.4","yarn":">=1.0.0"},"gitHead":"48ad3fd37a5cd986f5b552de4affd6117a7a6618","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"3.10.10","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"6.14.4","dependencies":{"glob":"^7.1.3","flatted":"^2.0.0","js-yaml":"^3.12.2","webpack":"^4.29.6","node-sass":"^4.11.0","css-loader":"^2.1.0","@babel/core":"^7.3.4","file-loader":"^3.0.1","sass-loader":"^7.1.0","webpack-cli":"^3.2.3","babel-loader":"^8.0.5","style-loader":"^0.23.1","@babel/runtime":"^7.3.4","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","@babel/polyfill":"^7.2.5","webpack-sources":"^1.3.0","@babel/preset-env":"^7.3.4","pnp-webpack-plugin":"^1.3.1","postcss-preset-env":"^6.6.0","babel-plugin-macros":"^2.5.0","postcss-safe-parser":"^4.0.1","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^1.2.3","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.5.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^2.0.0","@babel/plugin-transform-runtime":"^7.3.4","babel-plugin-dynamic-import-node":"^2.2.0","optimize-css-assets-webpack-plugin":"^5.0.1","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.3.4","case-sensitive-paths-webpack-plugin":"^2.2.0","@babel/plugin-transform-destructuring":"^7.3.2","@babel/plugin-proposal-class-properties":"^7.3.4","@babel/plugin-proposal-object-rest-spread":"^7.3.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.15.0","eslint-plugin-react":"^7.12.4","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.16.0","eslint-plugin-jsx-a11y":"^6.2.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.0.0-rc.8_1551647823348_0.2497232476344362","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"@rails/webpacker","version":"4.0.0","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.0.0","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"698c0fb0136c2669f8bc8787a608c8630bdf0a3f","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.0.0.tgz","fileCount":42,"integrity":"sha512-bjTMZ2EgF62JuPHyZA4Uz1/b2KHuvKJQ9zPCOU3sjNLUW8SacaYT6ufuJqBkCdSa19ne0t8Dos12tXoGY0VNdQ==","signatures":[{"sig":"MEYCIQCOMDoCfRPjoW6NPqraI/GcdhvDjn67gFswEaYwFXRBLQIhAPp3+XNzI2w+e6hpOv7cxS8RBD/Z8zfKpSEUBPeeOW3b","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":89205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfWbvCRA9TVsSAnZWagAA66cP/RxhfH90ab1nwA64omQ2\nvhIeC5QanGJBZThRjHamhhvD6fYqcCEY5RjMKf+yMubD7qVJssflwkOF+2bD\nl8VuDvfdWQFf4bzZl5ed/2ADwdKXYACOS4v1QuKMjWAcTghwekTwFNy4HvEq\nb9hjIBrV6LN/G/uUm0JRDJDoZJWRurPBZkPA6KVDcZwlHsqgs3nQ2DfmT4Qr\nAULI2oSkNSXiYDajg4IJ+XhS8oaUoNw/pHNq7Wxu02B8jXI9klawWDIcGJJS\nClGKTXF0MucvYGA2G+5hLCaA5Eh7cbyfsPqtDzOa8E9gvK7zHP+V5vOgJqID\nLHRDlXqotETif9izP8G+Xv0sGJdWLGRFJCYWxqPU6NChx+7XSjOO43oQRa0B\n2dXZBJ+xn89CSe/e7GO2eERu3O4mzlerQozduBkfTPZ+J04HrNc723u0N7IY\nG3znumpTSMI7ucVg0VkGjXT6ZN9Voe2WAPWfPILcREpeh9K0SHr09ygpst3I\ntzXrjSFE32cJ64TjHVbHk66NQRxSFxsug5jUz9H5XifSux/5rL08B5t6G123\n+J0gH937RHVf0BesBDZihsx0rxgg/TtgrDQuu7CWg7bf2f08mIznfB/FlBvL\nY8zijXlO2KPDTG6/VDKEBTa/TPwLPwHuj3SUgQrysxEdKwpx41Oo15u3Jg8Y\n+Izd\r\n=OKoC\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","_from":".","_shasum":"698c0fb0136c2669f8bc8787a608c8630bdf0a3f","engines":{"node":">=6.14.4","yarn":">=1.0.0"},"gitHead":"5678da79da4a80754b5de2f9b315ad318d309ec8","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"3.10.10","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"6.14.4","dependencies":{"glob":"^7.1.3","flatted":"^2.0.0","js-yaml":"^3.12.2","webpack":"^4.29.6","node-sass":"^4.11.0","css-loader":"^2.1.0","@babel/core":"^7.3.4","file-loader":"^3.0.1","sass-loader":"^7.1.0","webpack-cli":"^3.2.3","babel-loader":"^8.0.5","style-loader":"^0.23.1","@babel/runtime":"^7.3.4","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","@babel/polyfill":"^7.2.5","webpack-sources":"^1.3.0","@babel/preset-env":"^7.3.4","pnp-webpack-plugin":"^1.3.1","postcss-preset-env":"^6.6.0","babel-plugin-macros":"^2.5.0","postcss-safe-parser":"^4.0.1","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^1.2.3","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.5.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^2.0.0","@babel/plugin-transform-runtime":"^7.3.4","babel-plugin-dynamic-import-node":"^2.2.0","optimize-css-assets-webpack-plugin":"^5.0.1","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.3.4","case-sensitive-paths-webpack-plugin":"^2.2.0","@babel/plugin-transform-destructuring":"^7.3.2","@babel/plugin-proposal-class-properties":"^7.3.4","@babel/plugin-proposal-object-rest-spread":"^7.3.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.1.0","eslint":"^5.15.0","eslint-plugin-react":"^7.12.4","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.16.0","eslint-plugin-jsx-a11y":"^6.2.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.0.0_1551722222197_0.4605918140961607","host":"s3://npm-registry-packages"}},"4.0.1":{"name":"@rails/webpacker","version":"4.0.1","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.0.1","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"4e20f1115dd583e4410cf3f895bfd1dd717155a3","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.0.1.tgz","fileCount":42,"integrity":"sha512-P9wDoB4TpsiQOudTIzusUXsZhToxBE8B+yN9KdVIBCzJnZFaCXHbSc72JoHnTKM+3YKP1od+j4TM4uS0rglmow==","signatures":[{"sig":"MEUCIH/g5UtSik2IRQDiyYzP2HubsmblUKzpv5hZz9RtEVnyAiEA4e/wzwddWwJ2OIl87/XkGj+jV/KffYpkVKZES9E22To=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":89275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfYtdCRA9TVsSAnZWagAAUIsP/0oHi1gIjt5Deg/sBgIm\nmIlI3JJgeYcfIX+kQpMzGLjWk+6Z1VmpAc/fD9fcrTz2kQnxQ4nY1ywCnFvU\nKKJozWr/KhAnKU4s8kWRHCfuE5KIsrppveKmxPmiae8pkWNh8JCTckWsLGmq\nV93bEntMJNmSMvKi56xtsb+cOY45QgJtwEI+nb14WSUWaoKyLm3gylJOpSYQ\nmG+/za8eL5gEGLIVvEckWFHdzVUfUQFbgb3F27RxfW641biLTtUulqgAf0pM\nyLpI+zX26auCVZgMd51Y+nVFLsmPitYssDbcot12RbC4A7+s57pdYqlFGC/n\n4mLsoyISjN6f7hAZ/xMCQyNdHPzVSeouk8K2j/GtPSfxotPt1DP+okC3vTd0\nTZM1EtFgk96c91Mbbw1Yc04J6MLJ32MfY2B+fz14vbaS3v25JvQbQeSJ1adI\nvMVVqlmqZN/ehXU/RjhDhl0YQ0y+mFqR5kKFZ7htORjEYbX+qx/39U7ixTKW\nRdoceAfNUbzqds/xCCYflhIWIyoeC/t2yoUDrk0gHUQXq5HsNPB4P5UcERAH\n1GrPteUaQutv5Q9z/l/u65lwHYc+RPRuHg0W+il79H2dzMujbeQsfX3cclev\nUMf7gFPWa2dBmMJKd79g7gsRqbfPW6w01sEc6hXdGDCB9EgdFj4cVaf+23bN\n9uTb\r\n=ff56\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","_from":".","_shasum":"4e20f1115dd583e4410cf3f895bfd1dd717155a3","engines":{"node":">=6.14.4","yarn":">=1.0.0"},"gitHead":"2da0ccd00517f789e94679d3f8b1a7d18d802b3a","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"3.10.10","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"6.14.4","dependencies":{"glob":"^7.1.3","flatted":"^2.0.0","js-yaml":"^3.12.2","webpack":"^4.29.6","node-sass":"^4.11.0","css-loader":"^2.1.0","@babel/core":"^7.3.4","file-loader":"^3.0.1","sass-loader":"^7.1.0","webpack-cli":"^3.2.3","babel-loader":"^8.0.5","style-loader":"^0.23.1","@babel/runtime":"^7.3.4","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","@babel/polyfill":"^7.2.5","webpack-sources":"^1.3.0","@babel/preset-env":"^7.3.4","pnp-webpack-plugin":"^1.3.1","postcss-preset-env":"^6.6.0","babel-plugin-macros":"^2.5.0","postcss-safe-parser":"^4.0.1","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^1.2.3","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.5.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^2.0.0","@babel/plugin-transform-runtime":"^7.3.4","babel-plugin-dynamic-import-node":"^2.2.0","optimize-css-assets-webpack-plugin":"^5.0.1","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.3.4","case-sensitive-paths-webpack-plugin":"^2.2.0","@babel/plugin-transform-destructuring":"^7.3.2","@babel/plugin-proposal-class-properties":"^7.3.4","@babel/plugin-proposal-object-rest-spread":"^7.3.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.1.0","eslint":"^5.15.0","eslint-plugin-react":"^7.12.4","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.16.0","eslint-plugin-jsx-a11y":"^6.2.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.0.1_1551731548321_0.9389566638340627","host":"s3://npm-registry-packages"}},"3.6.0":{"name":"@rails/webpacker","version":"3.6.0","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@3.6.0","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"89f50421934a40cad7193cd62756a18fa5027251","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-3.6.0.tgz","fileCount":41,"integrity":"sha512-QlEPgdi++lBjc2rGp2s3hhT9vbhskeMSpHWOxVnpoMjIspTvjSyRWBV8t15d9M4cy5W5Zxlt87aVce7gVI4lFA==","signatures":[{"sig":"MEUCIQC7Z3iYbwawTeXdbNtLtfV4zMJNOZO17M3RDUzW0Z6baQIgeBOj42WHFaPr7+igv/h4jhWeQcZYjkpas00/S5ogYuQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73510,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcf7YYCRA9TVsSAnZWagAAW40P+wQltf6qGRRYnOxwj0WF\nKejCadjL20XHPULlrqw+D2VkVR83TXeZu+mSUeAfMsElFc9/p/zg7teTQq1i\nBiVeMvE2MNNX1g69H4xnB6xaGiIEx+tVr3S5JXvTpTHJ2/c2/rjXqlDYafJo\nqpur8SUK6zfZjriPlJ3DfhlKvBTdjsmlHolfjrs/u2E3OQTvd2Jz+fRef7/4\nAEv/liYtW+YP1jA0b2R2ZA6d42Rw0FJumLZtgzaoh0NWq047v6/TWBM36A1E\nR/hfrvfD2PrOS1SrMXKZkat5iA2HDg0uQeOiRksAGVZrpyGeIhs/JRwe5m3r\nUUgvIoMgzW8AvJSEEd245h6fDV5cVjSEL5ntauxDWb5LoY19ALyc9LxM+df/\n7LiunnHJNbTsI4ABIe2UEE3+RLsApZroQ7L9zDeOs4m1fy+odMvbOdYcit5A\n7I9c2+9I7jhOVXPW6+lVdFmmUcvzb6ZJ0CEWVgE2rDwfsInPGLgY/7Io96aI\nvTGX9l5PgqvMi0EH//HrsX3ON4scijAnELZ2GZcZq8kUOxDz5pF4XamXRY5C\nQhHzUfM3+cfDjHOGdfFXsYE+/We/s0zp+irFHJdRpPFXLEYPP+FZrRYCyTxE\n6ViTvtte5029d4V0yFFRX6TOnxfaJJ/s3Gm5yeIwZztRA8J27kWEdlzcM0q7\nCo1k\r\n=WG94\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=6.0.0","yarn":">=0.25.2"},"gitHead":"8c25c092dede858d8c5ba2aa708e0134216dc8b0","scripts":{"lint":"eslint {package,lib}/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.7.0","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"11.10.1","dependencies":{"glob":"^7.1.2","js-yaml":"^3.12.0","webpack":"^3.12.0","node-sass":"^4.9.2","babel-core":"^6.26.3","css-loader":"^0.28.11","file-loader":"^1.1.11","sass-loader":"^6.0.7","babel-loader":"^7.1.5","style-loader":"^0.21.0","babel-polyfill":"^6.26.0","postcss-import":"^11.1.0","postcss-loader":"^2.1.5","postcss-cssnext":"^3.1.0","babel-preset-env":"^1.7.0","path-complete-extname":"^1.0.0","uglifyjs-webpack-plugin":"^1.2.7","webpack-manifest-plugin":"^1.3.2","compression-webpack-plugin":"^1.1.11","extract-text-webpack-plugin":"^3.0.2","babel-plugin-syntax-dynamic-import":"^6.18.0","optimize-css-assets-webpack-plugin":"^3.2.0","case-sensitive-paths-webpack-plugin":"^2.1.2","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^23.3.0","eslint":"^4.19.1","eslint-plugin-react":"^7.7.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.11.0","eslint-plugin-jsx-a11y":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_3.6.0_1551873560142_0.6871522036404043","host":"s3://npm-registry-packages"}},"4.0.2":{"name":"@rails/webpacker","version":"4.0.2","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.0.2","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"2c2e96527500b060a84159098449ddb1615c65e8","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.0.2.tgz","fileCount":42,"integrity":"sha512-TDj/+UHnWaEg8X21E3cGKvptm3BbW1aUtOAXtrYwpK9tkiWq+Dc40Gm2RIZW7rU3jxDDBZgPRiqvr5B0dorIVw==","signatures":[{"sig":"MEQCIGwt9YDmAz+PLph5bR9L+67ytfH/i00c7OSn3oQMfrJpAiA8OHJoeHdnP3/zysLFknwyYV4wtJTrwCesGIulxRkf6w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":89327,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcf7fMCRA9TVsSAnZWagAACkUP/3yzsW7qrBGeOAyAREal\n992JskwtwmaoaqZedOAigJu3DVvmBSnJ1fubI4NBI3E+1/bkNJerJhsslPSz\n8JX99XaRkQJingYLwKbhw505od/3KrC79AX94BQvmgL/dKjpa3H8weZsBlqv\n7dSpDcVCWY3AtWyOGFN+Q6HJNy9bkqFkoyIj5U8Kumh07xgreEbcjVHbrfID\n84/g65TCKq1ZM4k1o+UTkaFgysGv8/HLT77TAC1vJ+FwR1Me9mlPicsuJOLJ\n7c2uW0pbq3mUWLHuzrzWXeQB/kKp0IUc/rQNm27vu3NlYbN3tH3r0rKeBF+P\nvDHjbrr56qaCTqIH5TUrai7kjZhZ43L4gklxFefdw0w3t9CEEgP8YvCwtGdR\nY5rZQRQNTs8P7ppe870KoLIPgeFdl6BTkzQTlLophIGo363mvouQBBBnRsJT\nwZQGgQjM8WBO0tfK3NZKyj/PTrEGzu150txwt9nwZFH4H7PS6ZzLfWegEX9k\nvCP6IuksOv+iGKmdICp0qnhu0EFw6PHrkdCNHsuhamWwSVgvLro39TkFD97t\nOQCDR/7k5oiOFAc2KMasGuMAQynd1vwFYWjDI1EMAQU8D9tB9IbGdPvIi+Ws\n0NxzrmBb//zvPgJ6DccaFUGTB2ah0ajcTNgsk/wH8rN64Oi+zJX2hF6A3UAa\nJ6Rh\r\n=nYTO\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","_from":".","_shasum":"2c2e96527500b060a84159098449ddb1615c65e8","engines":{"node":">=6.14.4","yarn":">=1.0.0"},"gitHead":"ec0b854259876bb12a94a78c0e71ccbe69d80a0c","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"3.10.10","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"6.14.4","dependencies":{"glob":"^7.1.3","flatted":"^2.0.0","js-yaml":"^3.12.2","webpack":"^4.29.6","node-sass":"^4.11.0","css-loader":"^2.1.0","@babel/core":"^7.3.4","file-loader":"^3.0.1","sass-loader":"^7.1.0","webpack-cli":"^3.2.3","babel-loader":"^8.0.5","style-loader":"^0.23.1","@babel/runtime":"^7.3.4","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","@babel/polyfill":"^7.2.5","webpack-sources":"^1.3.0","@babel/preset-env":"^7.3.4","pnp-webpack-plugin":"^1.3.1","postcss-preset-env":"^6.6.0","babel-plugin-macros":"^2.5.0","postcss-safe-parser":"^4.0.1","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^1.2.3","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.5.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^2.0.0","@babel/plugin-transform-runtime":"^7.3.4","babel-plugin-dynamic-import-node":"^2.2.0","optimize-css-assets-webpack-plugin":"^5.0.1","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.3.4","case-sensitive-paths-webpack-plugin":"^2.2.0","@babel/plugin-transform-destructuring":"^7.3.2","@babel/plugin-proposal-class-properties":"^7.3.4","@babel/plugin-proposal-object-rest-spread":"^7.3.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.1.0","eslint":"^5.15.0","eslint-plugin-react":"^7.12.4","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.16.0","eslint-plugin-jsx-a11y":"^6.2.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.0.2_1551873995439_0.9546784476491719","host":"s3://npm-registry-packages"}},"4.0.3":{"name":"@rails/webpacker","version":"4.0.3","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.0.3","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"a7495aa491f14eb0c81f9f959059bffd4a9b1948","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.0.3.tgz","fileCount":42,"integrity":"sha512-Iqp5hZDh1LrJRDL+Ltss8rG86yeyKxzqA7c5Q+aOvwenv8GEDyp85aiQTk8CYyuYu27NSjBO5BgNUNBjvq23Zg==","signatures":[{"sig":"MEQCIDguaFThlik/IiaMuL9s/rRlll2VcyB0IMSYYykJzmW0AiA40+YUQFwJgDiq5htmOLwcZEfABotb8h6bnOZqjFF+tA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":89510,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7UxSCRA9TVsSAnZWagAARYEP/irEgwl6xA68R5m8wb73\nIXtXmyJ7hLP5QdI887UOHeKJKjUFn5E4wcQ9nG5pRortseQ7VzRQVQ+nQKbA\n0pIAwZjXaobNAantctfu5tiEuekD9+Jx8xQ9irSPlqtnomwZ9Wzar39p0XEQ\nv1pjaa75nnJQJ68z7kSjL04KFT0dHMiXzMgzyiLyBs06qc+RHsF22KVEqo8K\nEwRWjWayREvlcsganJCIodwRPxPT7DFfKPRCZoy9OXYIvaNcDf0CBwsRcryN\nkbHNgKDI0TjFF1lWrTm6ml0RGwGHFlNekATgnztPDOoaSNu9b64GzDlDxm2C\nJ1Q+0vWIjVS2ENbxAZcmNqQuRyJyDbXmLpOsnYxgib5A8+Vp/RKRqHIbnhgO\nrSLzI4bg9Od7/IjmxvxQ1OL53CqvU3aUXy39osY2a4y5+4q9JLGT4JA3411M\n+O0ZU/jxMxBtbKpK0ZnuqhNEYXdF4eBLNCGXUHWAjUo25asSsi6JQZls3T03\n2fUzS12hnudzVkeKQ7ZvPeJSBRkGcgMQ6T9LYWQTHujTPSf/bbq+LIRYRN0K\nBRW1bHTCCDMbHCx39PEO/7SW5DmF59aeItYawhMzu6j1vd3IMGaxxEm6zu5Y\n/3TwxWMc3iCiPW5U3JCNmQBCV4Ym9HDoyeoqebEb6kGFCtiJXeY00p+S7nAa\npagG\r\n=/aN+\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","_from":".","_shasum":"a7495aa491f14eb0c81f9f959059bffd4a9b1948","engines":{"node":">=6.14.4","yarn":">=1.0.0"},"gitHead":"519a7f597527b57a8a2e142be12dee1df00dc1c2","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"3.10.10","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"6.14.4","dependencies":{"glob":"^7.1.4","core-js":"^3.1.3","flatted":"^2.0.0","js-yaml":"^3.13.1","webpack":"^4.32.2","node-sass":"^4.12.0","css-loader":"^2.1.1","@babel/core":"^7.4.5","file-loader":"^3.0.1","sass-loader":"^7.1.0","webpack-cli":"^3.3.2","babel-loader":"^8.0.6","style-loader":"^0.23.1","@babel/runtime":"^7.4.5","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.3.0","@babel/preset-env":"^7.4.5","pnp-webpack-plugin":"^1.4.3","postcss-preset-env":"^6.6.0","babel-plugin-macros":"^2.5.0","postcss-safe-parser":"^4.0.1","regenerator-runtime":"^0.13.2","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^1.3.0","@babel/runtime-corejs3":"^7.4.5","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.7.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^2.0.0","@babel/plugin-transform-runtime":"^7.4.4","babel-plugin-dynamic-import-node":"^2.2.0","optimize-css-assets-webpack-plugin":"^5.0.1","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.4.5","case-sensitive-paths-webpack-plugin":"^2.2.0","@babel/plugin-transform-destructuring":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-object-rest-spread":"^7.4.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.8.0","eslint":"^5.16.0","eslint-plugin-react":"^7.13.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.3","eslint-plugin-jsx-a11y":"^6.2.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.0.3_1559055441163_0.6577528979272478","host":"s3://npm-registry-packages"}},"4.0.4":{"name":"@rails/webpacker","version":"4.0.4","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.0.4","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"802761597c66c9f85732497d81cd0fb57cba47ee","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.0.4.tgz","fileCount":42,"integrity":"sha512-r8cQAU88PCiUM3JJqVL6fum/lVGTaTyG+pdAC6mm2oo5CzoIukH4/KGI+hZnCid0bq98rN0z/beKQurfJiZ+Pg==","signatures":[{"sig":"MEUCIBH78RkJoKMSofTD3u2E1TMNKaMzvdW0J8zNTDAgcjZ3AiEAw01GZOYyFUiSrgXINb4P7Q4s4el0uOrkBKXjYB96qv0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":89634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7Wy/CRA9TVsSAnZWagAAFMAP/RNq2HFBZrhZmCMbDiL2\n47gudUq1pihI0QIOC/ERMF1XTa/nsxlgiTz5jnpEeEzeOPqI+DHqUr8UAkbK\n6AvHR0gIOJgbuGw/K/BeMwDJ0LGTaNzwLbNDAArkuoPPgbj1BJ6QeJblakol\nKj0MlO6EjIqjz/p/y2XLtfqZu4IQFKq0IaOAsfn11TlNC6/8t2RP9HgpTmH7\n3SGYlyaKub7RlYTUKH7AO+Mxxk1Gr9NbO9gQFcLanSPc6TguIGVIo0RECrAt\nedej9K0gkwgcADU4h0huBoBOt/9/eiwToRIB6zd3hkjpX2SNiM028WUz2xoe\n+aK5uGaT1NXgjZG6iURR9YGEbXgdPYvbH8Zjc5L2Jp1ZAU9FnpgEFew8fDR8\neMQdcpQHFZkyVAvyuRwyuKDRTj5DGvoLc5DEcJAZ/dTBZuqgW1goJ6vSjMS8\n8BkxSF8ENLYqGtDO7EfLEPp6ywH3yVCGcMQUIkIsmSiHJfC732D755SXtuJX\nKOUMWuKbn/yFAqURjx7+GfZAWOAfCX05OEcGHI42KtOgI5iOy6j+Yg2mPMw+\n1oRNn02dbjTIk6gixkL5qeDCydbtORDGFpdyhpCtNcDnCY3ivqYYelCA9ANV\ntOOwHyOo5tp8KFEuHlDtNHb9p99FgBYMHgoB4/qCSgMQtQjvHUAlVtN5bOQI\nnBjJ\r\n=sTql\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","_from":".","_shasum":"802761597c66c9f85732497d81cd0fb57cba47ee","engines":{"node":">=6.14.4","yarn":">=1.0.0"},"gitHead":"9bb8abb3ad7ed2209922f9a74df34d3aba1231e2","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"3.10.10","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"6.14.4","dependencies":{"glob":"^7.1.4","core-js":"^3.1.3","flatted":"^2.0.0","js-yaml":"^3.13.1","webpack":"^4.32.2","node-sass":"^4.12.0","css-loader":"^2.1.1","@babel/core":"^7.4.5","file-loader":"^3.0.1","sass-loader":"^7.1.0","webpack-cli":"^3.3.2","babel-loader":"^8.0.6","style-loader":"^0.23.1","@babel/runtime":"^7.4.5","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.3.0","@babel/preset-env":"^7.4.5","pnp-webpack-plugin":"^1.4.3","postcss-preset-env":"^6.6.0","babel-plugin-macros":"^2.5.0","postcss-safe-parser":"^4.0.1","regenerator-runtime":"^0.13.2","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^1.3.0","@babel/runtime-corejs3":"^7.4.5","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.7.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^2.0.0","@babel/plugin-transform-runtime":"^7.4.4","babel-plugin-dynamic-import-node":"^2.2.0","optimize-css-assets-webpack-plugin":"^5.0.1","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.4.5","case-sensitive-paths-webpack-plugin":"^2.2.0","@babel/plugin-transform-destructuring":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-object-rest-spread":"^7.4.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.8.0","eslint":"^5.16.0","eslint-plugin-react":"^7.13.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.3","eslint-plugin-jsx-a11y":"^6.2.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.0.4_1559063742746_0.8430934056854811","host":"s3://npm-registry-packages"}},"4.0.5":{"name":"@rails/webpacker","version":"4.0.5","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.0.5","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"8f108125b83769993c43f3fbd0d6de9ef0af3227","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.0.5.tgz","fileCount":42,"integrity":"sha512-eac7Ba97xylIjilFV0q6/2TkRM0EycDABxrJqBxe5vJWg4pUrCrOjlxATo3RJUfLeaQvNir4EF0nq6qg7ngD6w==","signatures":[{"sig":"MEUCIQCQY8M4b5IXToThVPPA35aJAVmqr9rQ6PhXOJkJoS3nXQIgSNrqs3dc86vUuNvPPzraTEsN1HsMGBuynz8Fryh16Ao=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":90712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8CQmCRA9TVsSAnZWagAAvh4P/3W5vaczPpziIBw2ycVq\nLG7SdgyACt63aTq+i9HEq8uSzFEes/A2K/20McltEsGXai4iJfGLw8lRqY8d\nPRE5j3lGFUGbxEJWb5bVen8Lm25uPS9x60iNEPwg0q0YgV+qD0LLjindZsPh\nOviYMVT0+ejDXl3XpnWvhrt8ZV2oTyCnJudOS9MPKnCdT8WJXENsDq1pNQeN\nMA1OdkJQmtIMCyLlxEaGTk6VZMz0QsdRAvbIJvMMZh8VSmfkfjOqhdFCWYbx\nqxIRP1Ku0TsxoA9RzGT8v0ASNTHwo8NKhsQswhuCL8uh/YMtQuLwhV7vSuYz\nUUkjI0t0Qw2rRHZ4uWFLxUbm2XJdCpKNVzHfmVW9PzGaqS9ZnNFvPg8OMbYQ\nDq5Z1tWcK8XECgE7wngcke0JlnwJIPcwnrD8N5vna7vcwEos9zIQEA+wfLx4\nbcDk4WRmbfxxpXktj8mtzlMT2aZsAyvC9EvmIrJ4yAqhFnmAeYe1VqBeTaMX\n4eLiBvk1L4exJgMMC4yuBtrFau0xzmgnecCo+pOIwE5lhPA13oEi+MBVcZJq\nLthLo3m3xWvvqXa1q+ywOOq3ds7L7fc3PJolotdijyIG+SRITtRLRuwqq7P0\nDgmauB8wv1nMaVDXq/fwwKP/QjpiBT3wnFZg/7Q5Xx9BXBa8yZDoZ2zMVIso\nRk0Y\r\n=ZLWO\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","_from":".","_shasum":"8f108125b83769993c43f3fbd0d6de9ef0af3227","engines":{"node":">=6.14.4","yarn":">=1.0.0"},"gitHead":"cc5a1b3bde67c2475b2f51abcf43b6e3f7c9396b","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"3.10.10","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"6.14.4","dependencies":{"glob":"^7.1.4","core-js":"^3.1.3","flatted":"^2.0.0","js-yaml":"^3.13.1","webpack":"^4.32.2","node-sass":"^4.12.0","css-loader":"^2.1.1","@babel/core":"^7.4.5","file-loader":"^3.0.1","sass-loader":"^7.1.0","webpack-cli":"^3.3.2","babel-loader":"^8.0.6","style-loader":"^0.23.1","@babel/runtime":"^7.4.5","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.3.0","@babel/preset-env":"^7.4.5","pnp-webpack-plugin":"^1.4.3","postcss-preset-env":"^6.6.0","babel-plugin-macros":"^2.5.0","postcss-safe-parser":"^4.0.1","regenerator-runtime":"^0.13.2","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^1.3.0","@babel/runtime-corejs3":"^7.4.5","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.7.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^2.0.0","@babel/plugin-transform-runtime":"^7.4.4","babel-plugin-dynamic-import-node":"^2.2.0","optimize-css-assets-webpack-plugin":"^5.0.1","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.4.5","case-sensitive-paths-webpack-plugin":"^2.2.0","@babel/plugin-transform-destructuring":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-object-rest-spread":"^7.4.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.8.0","eslint":"^5.16.0","eslint-plugin-react":"^7.13.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.3","eslint-plugin-jsx-a11y":"^6.2.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.0.5_1559241765832_0.4527984291543472","host":"s3://npm-registry-packages"}},"4.0.6":{"name":"@rails/webpacker","version":"4.0.6","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.0.6","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"10c3dc85404a43102640e10ba2518de2cb43e4f3","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.0.6.tgz","fileCount":42,"integrity":"sha512-WFqR23eUGrlnU8f3sIaMeK+x2ykv3SI3cycpzWMlL/0VwvxKw7/o22rlE9EDCowvzry4zVWKK88oBzqSGRqngA==","signatures":[{"sig":"MEUCIQDmJ5e1HG86y+HHZXMEJs3WPdGnTYImuQFraW50ZEhzeQIgbdOE7nyyJIRcBXTXkymUwEq6sRD+J2B0SbGNpuJAPLQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":90897,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8OB5CRA9TVsSAnZWagAA79AP/18LiOh00eztIzKjFemR\nygoAyc9ojmPbONnHJ5cGFt9+ey/+OhmKNcdeXQYUUtC4WflHsOW2+v8J6pqR\nOa5ZqZhukK8S+Yci36YiI9UMmPW6Jz0Wnq5itnmKsVEGgaLxzjPKoUK1fjlb\nBc37f/pivLEbHrUq2D2Ypa2rE64xeAJei81SUolW2qv45GRXxAbQyKItu2LX\nJe62vY7RvNJYrIB1t478lspfyq8XBKuTdaPCfemB/yWu8avZPSdcu7EEg/jB\nI9cAgvDCxBA3pvVKrGWdxrovNRJUEFgmYkiwiwVDHjmmzU94w4XcRggRni4v\nCAiUuygSM9gCGZMn3Nq4WLBURZuXRsrvLQEinwkzXkLzocClGROXcl7mfoHX\n1U/+FJNAGmGeesg75kW5+vAjedotmCb5ZY0N0yHEylT4m1RHPhXNQNo2lnjS\nh3aD4TYYulW6Cv9stIe/WKMuU2wxr1senjtvZy/fHBdPsV0CMUP3xSQo+Xs1\nJ3HW1P3WEDzonEXstZ1gI5lXKfjEppiEnLcYagbrq9IYd5jljfLqDPpl5mnT\nRl0ymeocSmC8YBEtb4+gGod7p9r8C3Aw+23hfwm5J3FZHoQm7YPaOut08U3E\nwg5+XdIyzhCV6oe7LxgeE/0Uu7fRUDsavUnsVpU/M9/mJmOgzDPYfM5hBSZL\n8fYS\r\n=BnN0\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","_from":".","_shasum":"10c3dc85404a43102640e10ba2518de2cb43e4f3","engines":{"node":">=6.14.4","yarn":">=1.0.0"},"gitHead":"6cb399bc5599ee60f6a5f2e7788aaba20bd87248","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"3.10.10","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"6.14.4","dependencies":{"glob":"^7.1.4","core-js":"^3.1.3","flatted":"^2.0.0","js-yaml":"^3.13.1","webpack":"^4.32.2","node-sass":"^4.12.0","css-loader":"^2.1.1","@babel/core":"^7.4.5","file-loader":"^3.0.1","sass-loader":"^7.1.0","webpack-cli":"^3.3.2","babel-loader":"^8.0.6","style-loader":"^0.23.1","@babel/runtime":"^7.4.5","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.3.0","@babel/preset-env":"^7.4.5","pnp-webpack-plugin":"^1.4.3","postcss-preset-env":"^6.6.0","babel-plugin-macros":"^2.5.0","postcss-safe-parser":"^4.0.1","regenerator-runtime":"^0.13.2","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^1.3.0","@babel/runtime-corejs3":"^7.4.5","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.7.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^2.0.0","@babel/plugin-transform-runtime":"^7.4.4","babel-plugin-dynamic-import-node":"^2.2.0","optimize-css-assets-webpack-plugin":"^5.0.1","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.4.5","case-sensitive-paths-webpack-plugin":"^2.2.0","@babel/plugin-transform-destructuring":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-object-rest-spread":"^7.4.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.8.0","eslint":"^5.16.0","eslint-plugin-react":"^7.13.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.3","eslint-plugin-jsx-a11y":"^6.2.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.0.6_1559289975611_0.49081324983061836","host":"s3://npm-registry-packages"}},"4.0.7":{"name":"@rails/webpacker","version":"4.0.7","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.0.7","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"268571bf974e78ce57eca9fa478f5bd97fd5182c","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.0.7.tgz","fileCount":42,"integrity":"sha512-nx3inMv7euO0UsD0voJ+n3/z1u56PuprW322b67TLuDmOHRpT7yUjBJULMisVKA6PVJw4DwiG9Kbf8ZGu53+tw==","signatures":[{"sig":"MEUCIDhkiYZxyrPS7t71/oHYSn3fk8/6HBcY1SXQCuGWOJVYAiEA4C5o7sw4iTZEspZaNb/g4dEhQQzb2+SBlNiOnTJMRd8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":91655,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9U6NCRA9TVsSAnZWagAAYT4P/0ml+GjvvMQOTPD57Z31\neFz+4hLYin2QhpC1FoD+AEdd8PyN6hvDUrOFLCR2C0+BOWATqn57Npc6bZxA\nniLei44fsq96MXpO/377DZHxW4MUF3iAuU+XCa3qzrY6+9OG5i+4zsSFUdq/\n5zLDlg+j33V8Wmm7v1ijAa2i5pGptv2tN9pwk9u7ff52lddx4qBXdyhfQEyZ\n7SpPXWVGeKe35YssEqnaKSVly3ZAqMS32vDytELD/zCkgXoBKDpA06nJ9Qae\nmDeVxLzLjAMtmvZFml6hy2EKTptnMZa5+AulacYGuDHqaPnL9nvy17w2+xBo\nlOXk/0Wt4j90QDv2608/N0vgyqYsZ2JbCvhEv7saoICSQw14U5Qq7pMN+rZa\n89M+3Oub5dZsYnpM2kXkQEX58fWrxQ1EPXiYiYnKgKiWZoyVrrmpe8ZA82da\nkiJiai/00mNTtmNhfP5eYE8t7z/orIXuekEvghNJPHqWu+ilSvgw8EsF6nFG\n7kb9l5oWdJHYgzpvN22XEQle7w1F52WjotdNcFoEUNa2ouQzDWzZ6G76ncLf\nSj8oZtuR5gdFWZDOxCZeuxNhURwjzhgfwhEhCtCqWZ9G5Pds42K4EZowG8YJ\nUFKXICpwrfP2jAzU36TLyTmfr5rrLCDSVbI8/Sden3c3F/PoTssvMO6uuoVi\nxxJt\r\n=fCSI\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","_from":".","_shasum":"268571bf974e78ce57eca9fa478f5bd97fd5182c","engines":{"node":">=6.14.4","yarn":">=1.0.0"},"gitHead":"891b50d61eadfc41422a8437cbcbdf199c7f13fc","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"3.10.10","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"6.14.4","dependencies":{"glob":"^7.1.4","core-js":"^3.1.3","flatted":"^2.0.0","js-yaml":"^3.13.1","webpack":"^4.32.2","node-sass":"^4.12.0","css-loader":"^2.1.1","@babel/core":"^7.4.5","file-loader":"^3.0.1","sass-loader":"^7.1.0","webpack-cli":"^3.3.2","babel-loader":"^8.0.6","style-loader":"^0.23.1","@babel/runtime":"^7.4.5","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.3.0","@babel/preset-env":"^7.4.5","pnp-webpack-plugin":"^1.4.3","postcss-preset-env":"^6.6.0","babel-plugin-macros":"^2.5.0","postcss-safe-parser":"^4.0.1","regenerator-runtime":"^0.13.2","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^1.3.0","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.7.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^2.0.0","@babel/plugin-transform-runtime":"^7.4.4","babel-plugin-dynamic-import-node":"^2.2.0","optimize-css-assets-webpack-plugin":"^5.0.1","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.4.5","case-sensitive-paths-webpack-plugin":"^2.2.0","@babel/plugin-transform-destructuring":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-object-rest-spread":"^7.4.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.8.0","eslint":"^5.16.0","eslint-plugin-react":"^7.13.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.3","eslint-plugin-jsx-a11y":"^6.2.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.0.7_1559580301050_0.39246912366563635","host":"s3://npm-registry-packages"}},"4.1.0":{"name":"@rails/webpacker","version":"4.1.0","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.1.0","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"6c2f569cbcc42dae3d3a1c0dd4e92b92b686732f","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.1.0.tgz","fileCount":42,"integrity":"sha512-4wtClcDXj/xhoR4yUTuUuZvVrI7MZviQwW+CKecD8GL+1BScqqAjjl97aEFlJJp+uSdEZscl9ugWLROc3weC9Q==","signatures":[{"sig":"MEUCIQCPWkNVgEyNZ2F/Etg2EPDbluWwhVfYF/f2HUDTKws7rAIgMcmiKH/c0gvbbBcbHNVuGsncQnZpWkUXyPaL+xoVJLI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":96262,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdymlRCRA9TVsSAnZWagAA7f8P/3K/0yADHj9aa8kxgq0S\nbJZZlKfxiODN7OglfdX8zGt3weqYF3uAEj1eUOF7jB9KY9UApgFe9CIG+iEo\nZQcvgCzUzEfloQPRnKK2OgwOvZHPVhzxQcOn0/aHRWlw4mAci2DOPnwckg8e\nCEovSr+xUMIWcSCWARoeM4+m1bsUJlx0aHPu5wYhERM31eXi0qpnNkMGFWKa\nYtQDjLrTkmUpJdUcNGxKoaqAqQyAWKM922SHQhxti0m7EKwl47e4mXSW9XQV\nxBfbha6E2KnC25LpLXDd554caupGmln7cMlbjtXog8Wdnd0fN251OXcTTlCT\ngIZRS3huH/t1+7/0gEc+W8d7jlJ+zfZLEEtHQ4MuOYywjZRaDaRRikXM3Akw\nIL49TA9Cn/ztLBR5CdRkGnOHKyzy34nVZT6Vcg6+v/e9y/kjOV5c/Eu4nTHq\ncWT4scQKkcK9CnxXTUdv+QEKwuZdu2aSvKUu2PtIkwtwPDEgkCkL72y9ijZ3\nA2UOSjTboRZdOi1VoyNXYpwoEJKF7cqHOrUKkNVH3ODUl5yQI2Jp7aTcw9gb\nLnWutH7srdQS/P1AckW8C1lNR4t3N1bEp8EuCI72fUiHeF+AxEz0iphEmquj\nxrjeXa57TQVQ26TB45JAT2tRpxLThk+mpN0tSujTDSwDI0PkE80cIw7WBXxn\nE44e\r\n=yPeV\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=8.16.0","yarn":">=1.0.0"},"gitHead":"f36e5ed2ae1d702b19313070a341a82098ce923f","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.4.1","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.16.0","dependencies":{"glob":"^7.1.6","core-js":"^3.4.0","flatted":"^2.0.1","js-yaml":"^3.13.1","webpack":"^4.41.2","node-sass":"^4.13.0","css-loader":"^3.2.0","@babel/core":"^7.7.2","file-loader":"^4.2.0","sass-loader":"7.3.1","webpack-cli":"^3.3.10","babel-loader":"^8.0.6","style-loader":"^1.0.0","@babel/runtime":"^7.7.2","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.4.3","@babel/preset-env":"^7.7.1","pnp-webpack-plugin":"^1.5.0","postcss-preset-env":"^6.7.0","babel-plugin-macros":"^2.6.1","postcss-safe-parser":"^4.0.1","regenerator-runtime":"^0.13.3","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^2.2.1","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.8.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^3.0.0","@babel/plugin-transform-runtime":"^7.6.2","babel-plugin-dynamic-import-node":"^2.3.0","optimize-css-assets-webpack-plugin":"^5.0.3","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.7.0","case-sensitive-paths-webpack-plugin":"^2.2.0","@babel/plugin-transform-destructuring":"^7.6.0","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","eslint":"^6.6.0","eslint-plugin-react":"^7.16.0","eslint-config-airbnb":"^18.0.1","eslint-plugin-import":"^2.18.2","eslint-plugin-jsx-a11y":"^6.2.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.1.0_1573546320295_0.6522106713951457","host":"s3://npm-registry-packages"}},"4.2.0":{"name":"@rails/webpacker","version":"4.2.0","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.2.0","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"7cb40af589c3f38f9cc7847ee5f15e16d5d89d29","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.2.0.tgz","fileCount":42,"integrity":"sha512-ze0wrschNOjPtY9v0wJEesao2h8/G9MuSJG6T/hHoKxwW9IVrqhsXyi7NiObW3Rpp8yRrHYMXmuSXu9il7fgDw==","signatures":[{"sig":"MEYCIQCxiITJHyD8m+1Y7BXbM07z97QEHo0YARUHTCV/r+DPawIhAPMtESMMsNQHkbvU31Dg8ubChpn805rN13CzOt1OlKxZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":96557,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyqUcCRA9TVsSAnZWagAAXhcP/1nN7HKEYMpR5BEY4pSG\nfvPecwqiAL6/9lziw3sZffWoUWWXMmkcPwkgF6I5bo0G8XJlBai1U7gUURCW\nyD+2clEs3ULzsJjM1kceLIn/XHG6pFgMiGpeIukG8FIDg8STM0l72gJZLoz2\nmd2kLewPoQ3XL8FOhm6vOyYtuOX+7TTntIZrW1W2q5T7KvPuMWMGkHNL0tJw\nRSpWvpb8xjh5ub6NQfMPaD37hAjnSxDKmKJMIK77c99FVEdyRbpkzD1m1uOx\n7NYdyrSOpWiC/iESQWoR/0C4lq/V3XuiHvRP6eqpNg+bNT5O1FHXECjsH7Qf\nyBRI7O228440vNcqPW8oGn4fN8a1qCn05mrYUXe8XLkqn8JTAnRiF3Q0nIIX\nxhzxpUeRaxVmhUobwCwVoBM0pbJBAUV3RnwE7GsauRBwqk3y1Q/07TltLQcL\nEgUNGXNMiOZUhQ5diAB8pU66fqAe2Sa9gOSzUfTwvCHO7OMWMjjdYMyA/jFw\n/SlUJqyvDnSKV4As1FP97umizShfLMJJ0AaLx6jGE4tCPh5kXbsZYeiV2Lit\nXnNXpyrg3pAT7C8q0dj142E6dB4hBvpHKjIIInpyOZuDI1K/3izhi40KCin3\n/R6GjZBSBt9hmpaFRcL4NIZwudIIKZe5XBREDamPS54sm1ZHTkCMlQU2OI6K\nGT9f\r\n=QucV\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=8.16.0","yarn":">=1.0.0"},"gitHead":"d905149d8a33303a9c24002721bc872ef95a8b6f","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.13.0","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.16.0","dependencies":{"glob":"^7.1.6","core-js":"^3.4.0","flatted":"^2.0.1","js-yaml":"^3.13.1","webpack":"^4.41.2","node-sass":"^4.13.0","css-loader":"^3.2.0","@babel/core":"^7.7.2","file-loader":"^4.2.0","sass-loader":"7.3.1","webpack-cli":"^3.3.10","babel-loader":"^8.0.6","style-loader":"^1.0.0","@babel/runtime":"^7.7.2","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.4.3","@babel/preset-env":"^7.7.1","pnp-webpack-plugin":"^1.5.0","postcss-preset-env":"^6.7.0","babel-plugin-macros":"^2.6.1","postcss-safe-parser":"^4.0.1","regenerator-runtime":"^0.13.3","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^2.2.1","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.8.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^3.0.0","@babel/plugin-transform-runtime":"^7.6.2","babel-plugin-dynamic-import-node":"^2.3.0","optimize-css-assets-webpack-plugin":"^5.0.3","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.7.0","case-sensitive-paths-webpack-plugin":"^2.2.0","@babel/plugin-transform-destructuring":"^7.6.0","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","eslint":"^6.6.0","eslint-plugin-react":"^7.16.0","eslint-config-airbnb":"^18.0.1","eslint-plugin-import":"^2.18.2","eslint-plugin-jsx-a11y":"^6.2.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.2.0_1573561628200_0.3766656227072618","host":"s3://npm-registry-packages"}},"4.2.1":{"name":"@rails/webpacker","version":"4.2.1","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.2.1","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"aa2f879e083c3409d9eba6049d9f898bdc9b1f5d","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.2.1.tgz","fileCount":42,"integrity":"sha512-0jzu2UhieZ5Bn0ZjVKEyEM//RXPtawJ1OBhoEnVQkBjdASKkv5LuoHUlATpAKNqrZ64OSJUzm+22SNmL9TKYKA==","signatures":[{"sig":"MEQCIHl5vxvHXyxGFbnaudU3DmDSSmKWsSFq6PuvNchHeINdAiANdpqmf7lxTa2Ly+QhyPwKjuiQ8B9pu/Cw17Ylv/5HzQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":96692,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7hN3CRA9TVsSAnZWagAAiHcQAJIVHpYWAedCm18khkv3\nFQWuxnU8QzhvmMntLgr/ZZAGayqEjblRAJOinPxSoUk+IG4QecHJ6VhydO4M\n4+9zgRUxBrsHrSsl98eLmracdhctz7DtPd8kHnfBLjU1fhu7BGiIJe/JHEXP\nNmw/M7x8zTjK8GC/ZkkjB5+D+GRVk5IAtgxS3gzEpFyHZWAYSeVeFZoE3QyZ\nmUl4KLM3ImbE/aU67mITcfqYy29++tvXdBP7z7XgSQDlI+xnYkeRZYq/gXbR\nXvuaNlUCCCD/l57/9GoD2S3Sc4NacDupgyo79+O8zmLdavIALS95aof/C4RM\nd1K2jrJeKKcdQnuSiUe1RYD8bVJXYGq5Era7qhq7yuxymFv1JpbJm16H0uMB\n9mjuxoyqBSLN0650J3LOVHIytkk686rtvfe+oxuWPMMUdPMe/Mu2Pz39hatS\n7an18BcqxbTpje/AaTDXWl27A07PZXEO0VUo0i7rf2wRX+DLYjbU/tlhbx5L\n2Enr1KHKT8DyqpyNrUdhdcNAeREp7AaCiEfVNybg2BepT52FXzoukrCEQif0\nAwFMEf73byKA41SJmUqJxiW6Zut88Ll6BUjsBzTfBtGDhWf+vsiiQgohoLJG\nRqYn86mgBdzN8I7hnjp/icXxuXwPC6zh+AXHE5Oj7uY2DMFDqs1OBhDOhoPg\ncCcG\r\n=vGQG\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=8.16.0","yarn":">=1.0.0"},"gitHead":"6bc19e7df3ed7e8f958b573e793a342a2a69df05","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.13.0","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.16.0","dependencies":{"glob":"^7.1.6","core-js":"^3.4.0","flatted":"^2.0.1","js-yaml":"^3.13.1","webpack":"^4.41.2","node-sass":"^4.13.0","css-loader":"^3.2.0","@babel/core":"^7.7.2","file-loader":"^4.2.0","sass-loader":"7.3.1","webpack-cli":"^3.3.10","babel-loader":"^8.0.6","style-loader":"^1.0.0","@babel/runtime":"^7.7.2","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.4.3","@babel/preset-env":"^7.7.1","pnp-webpack-plugin":"^1.5.0","postcss-preset-env":"^6.7.0","babel-plugin-macros":"^2.6.1","postcss-safe-parser":"^4.0.1","regenerator-runtime":"^0.13.3","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^2.2.1","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.8.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^3.0.0","@babel/plugin-transform-runtime":"^7.6.2","babel-plugin-dynamic-import-node":"^2.3.0","optimize-css-assets-webpack-plugin":"^5.0.3","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.7.0","case-sensitive-paths-webpack-plugin":"^2.2.0","@babel/plugin-transform-destructuring":"^7.6.0","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","eslint":"^6.6.0","eslint-plugin-react":"^7.16.0","eslint-config-airbnb":"^18.0.1","eslint-plugin-import":"^2.18.2","eslint-plugin-jsx-a11y":"^6.2.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.2.1_1575883638628_0.30995181055597754","host":"s3://npm-registry-packages"}},"4.2.2":{"name":"@rails/webpacker","version":"4.2.2","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.2.2","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"b9dd3235fdf4d0badbda8e33f6ebee742a9f3abb","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.2.2.tgz","fileCount":42,"integrity":"sha512-jzw7qMfSCLdrt9j1X+2IvXjf63huXYqeIPwLujXa9pYFvxtEstbVYRDivuLhiDokzih+PrYpB+dLTGBNgVsnpw==","signatures":[{"sig":"MEUCIQD7MYaQpQQAFnfBD2zSol764ZEvDa2kG41CgYgodRsVRwIgNhtgrfAMV0sqcEEFv6CIacIpL+6OWOS92tHtljNz574=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":96890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7jZdCRA9TVsSAnZWagAAJBsP/R3aizS3oqctZjOi0Eua\nQt2eswx5xAQUD8HZNHOERXFauhpfy75uTvRhppZsXmJCwtx6mt9F9l49sEIl\nShiL80YIqCPcxPo5MCxF8sYfmihoPyBkrVwOK80NWtDFzDNvrIGmjllRrfgV\nRgtgR0yGLrYjYkCD7mD+DlAlWQPijN7RjNUjRrUfq7e6WPYJlMlmG4WLKOvX\ndzvEgc8Uq6bC7G4S7b1xxyBAhFR0LG2eehoJRotcPT//TUQaVeyfqp9MWvI0\n9eORkpGwypt6l3LzhqCdN+G+uoWjJamnHB8cGkT57WGcRwCZwwVhcUsKXQCN\n4wEguVfF7KvLRnkg9aE9A7tfO0dX2uOOHKRYAKnmBXwOU0N0URFIFC2lycHg\nxGSAk1dbLLdUjRnuAcvM07BUVzhJfO0vZfRzUIDJNJT4h7hcIlbDCJxLvCEr\nP7dGa8bJm/N2tSfvATJObvQQeCFtUV13SeiGQlaDkfCkddLh0wWs5FFUFdg0\nZzG/5hXrQXMIS7NxAOuRb1PJHenjSCHmVDIPPR/R28vxJQ5JtVDJXB72Zg0W\n5aPHt7sEhtrqLtWcTToCFZXm2F2xa3PT82PpSkk0fYwoo/ZcZ55ZAML4Cj5A\nMfBtfjt3UXHPII/CNui1EXc2x4WV76PpfdRXRMHj3hg0ASzaqTcrGJEq7q/5\nJSKJ\r\n=rixK\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=8.16.0","yarn":">=1.0.0"},"gitHead":"96af013eed295576ac246f46dee1d01d67888801","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.13.0","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.16.0","dependencies":{"glob":"^7.1.6","core-js":"^3.4.0","flatted":"^2.0.1","js-yaml":"^3.13.1","webpack":"^4.41.2","node-sass":"^4.13.0","css-loader":"^3.2.0","@babel/core":"^7.7.2","file-loader":"^4.2.0","sass-loader":"7.3.1","webpack-cli":"^3.3.10","babel-loader":"^8.0.6","style-loader":"^1.0.0","@babel/runtime":"^7.7.2","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.4.3","@babel/preset-env":"^7.7.1","pnp-webpack-plugin":"^1.5.0","postcss-preset-env":"^6.7.0","babel-plugin-macros":"^2.6.1","postcss-safe-parser":"^4.0.1","regenerator-runtime":"^0.13.3","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^2.2.1","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.8.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^3.0.0","@babel/plugin-transform-runtime":"^7.6.2","babel-plugin-dynamic-import-node":"^2.3.0","optimize-css-assets-webpack-plugin":"^5.0.3","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.7.0","case-sensitive-paths-webpack-plugin":"^2.2.0","@babel/plugin-transform-destructuring":"^7.6.0","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","eslint":"^6.6.0","eslint-plugin-react":"^7.16.0","eslint-config-airbnb":"^18.0.1","eslint-plugin-import":"^2.18.2","eslint-plugin-jsx-a11y":"^6.2.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.2.2_1575892573122_0.5460390475532295","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"@rails/webpacker","version":"5.0.0","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@5.0.0","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"b63dfd31e514ee6fac021add3e34f1381a1fd152","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-5.0.0.tgz","fileCount":42,"integrity":"sha512-qFByiHiBUVFmCwIldI8wtyJskVEvBXME6UHkivaMAzrVVXuIta+SPbiAqEoi3qwZSh5qEq9wbIltap5Y1F6Avw==","signatures":[{"sig":"MEUCIGBkuQ9N6cAt+FmR7eEZFxZP/V6ouRnS30+JN3Wf3S2mAiEAo9ZpclbA5Ww1x9VxswlAn1OmGjpFFm3yacy0Z5HriI8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":92565,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJed5DxCRA9TVsSAnZWagAAZn8P/1jmf/OmXG1+aaazdi0I\nGuI4WEazvyIfuVQnUStR193EwrIdw1sATRmhdSHDWql1M3H+GMg+crQVvXSd\nGy78d8tCe5XvOnsma/XjEQvADxuLcpT8GRZXjndnvwnDO6/w/U1zo66Jbkqq\n8NK2ZbkQBPKn4iw+1RGaAZvM1t4bIkGC+01K51RSJsyzF9JXawDsB8oN4WnV\nEb5wID4pO4uUzm4ZwKCyzkyNT3w4kXJyJVY5xg+DXvPliARRj/Cb02amb7AR\n4ToanGw5sGuXISa946Wp/60P17BTPk6SA3pMlOdxmzurxKxRxDK3ITvlOla8\nIkeDyjjPd6UJUmoWxxoudQpZgvrufMbmqLcqgIB6lcV04tcJB6OZ9vrj7FLx\n/M7TE1+l/Uea6RgMea9HvDyN/Gv9pyYgluiAUbqpxFiuYIa6Cj9L0abRZnqJ\nVzWIy/zV8/KNM/xAHAkGn3yUuLeJhWq/LHaUIYK/vmUs5Y/kRqEQp/IRudU3\nnqOytLjiqdkLKW0wEE7+wKvzwHFRSMyXneiZbdtL2NiUSuk3w/RtquEVvpnm\ntkMHlrICbcVbV4EQ77BFnRTj8ioNn6Gaw9KY64xNUpq+wo/Ogqa/vJgq9xJc\n2A46N5FTBI3COB4mmnICk/6xe2W4YnACWHt3LyCZG97pPcSiwn+coudF7jKl\nvOyb\r\n=ULKM\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=10.13.0","yarn":">=1 <2"},"gitHead":"e054273a0165aa1125389eb1cbac01a2a9f8b72a","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.4.1","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"10.13.0","dependencies":{"glob":"^7.1.6","core-js":"^3.6.4","flatted":"^2.0.1","js-yaml":"^3.13.1","webpack":"^4.42.0","node-sass":"^4.13.1","css-loader":"^3.4.1","@babel/core":"^7.8.7","file-loader":"^5.0.2","sass-loader":"^7.3.1","webpack-cli":"^3.3.10","babel-loader":"^8.0.6","style-loader":"^1.1.2","@babel/runtime":"^7.8.7","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.4.3","@babel/preset-env":"^7.8.7","pnp-webpack-plugin":"^1.5.0","postcss-preset-env":"^6.7.0","babel-plugin-macros":"^2.8.0","postcss-safe-parser":"^4.0.1","regenerator-runtime":"^0.13.3","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^2.3.5","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.9.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^3.0.1","@babel/plugin-transform-runtime":"^7.8.3","babel-plugin-dynamic-import-node":"^2.3.0","optimize-css-assets-webpack-plugin":"^5.0.3","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-regenerator":"^7.8.7","case-sensitive-paths-webpack-plugin":"^2.2.0","@babel/plugin-transform-destructuring":"^7.8.8","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-object-rest-spread":"^7.8.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","eslint":"^6.8.0","eslint-plugin-react":"^7.17.0","eslint-config-airbnb":"^18.0.1","eslint-plugin-import":"^2.19.1","eslint-plugin-jsx-a11y":"^6.2.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_5.0.0_1584894192992_0.423310886603824","host":"s3://npm-registry-packages"}},"5.0.1":{"name":"@rails/webpacker","version":"5.0.1","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@5.0.1","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"f7bdb8d0b36e41aa2f219aad332f50194ad4fc46","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-5.0.1.tgz","fileCount":42,"integrity":"sha512-r74Od+YO5OxkrePNLL9M3Mi3DQNPLSXkv+cGDdiFvTGeFc+VtI8j0sNGoulBMlEZFH8GVlb7LLy/FVLjPJq1/Q==","signatures":[{"sig":"MEUCIQC3t8NIUtfBivHetsj4QEJ3utCVF2hlC+MsRSTZaZSL3gIgSurbcN8M1hXaNe4vMzwuWbxrPW1B95Tfpq+uC2fAgfo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":92710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeiL+CRA9TVsSAnZWagAA4yUP/j649rPsXrqa+2ODZ24y\nnKUI+xkxziYsnN3P/rd/GrLX/1wmwXF2uFtqRx1zc5zH+oy6UtvNWSXNRs5r\nHgcgwq9ieploOhRfme0kPCGa3t2mWKfgiZWrfjxg1YnNKIRcnxYt3JYgd8OU\nquL8fJ2VmOKIJF32rt7+Vhiq04xqvN4w6AQjNaVvrBgaSSbbJgL3V373QRvF\ngqzziRl16sNxC2sMd2EJwTls546wYOFQpk18C89ds+4+7lf+//vFPKVWkFFU\nj5eXvhyRKo18VKLTWRVfnlKbxyUbj3tjOf7fjUfLuitS9hN7AE+/GzZhn+6a\n0HO8T45qCS2qsNVnJZlGFoU90X/euIUSuA1ZAvv+wgnUR1CjAtRsFedEnVxb\n2Spc/gQu+7zVwKD6q6jfXIC1Y4GZicfOrcJ+pHXaseZdwPVUjR755jyP4ITC\nmhB8RsRynQcannRUn0Pndof5V98kKuZXsWogoxf8TU/BjFnLZM8esRyzKmLm\nshiWh6ARJL72Qu8BZQeuHRIRIwbnSb/A1fWlhpsm8ItPYi1BNcWq8di0qcPJ\nMrGz2NcRkb90r6HP1thjrI5veZJLgqUmE3ufeClMIYhwti9y8e81L4C4lyYo\nlxuwpHJU0ugTKaWkJykuzFiF2eaveos1UXJRsNKwiORqV3EhpswBeOAE8IKU\nRJv7\r\n=2YIJ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=10.13.0","yarn":">=1 <2"},"gitHead":"8e8e7454e3022fa01cae051fd537a82a9b4c9ebe","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.4.1","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"10.13.0","dependencies":{"glob":"^7.1.6","core-js":"^3.6.4","flatted":"^2.0.1","js-yaml":"^3.13.1","webpack":"^4.42.1","node-sass":"^4.13.1","css-loader":"^3.4.2","@babel/core":"^7.9.0","file-loader":"^6.0.0","sass-loader":"^8.0.2","webpack-cli":"^3.3.11","babel-loader":"^8.1.0","style-loader":"^1.1.3","@babel/runtime":"^7.9.2","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.4.3","@babel/preset-env":"^7.9.0","pnp-webpack-plugin":"^1.6.4","postcss-preset-env":"^6.7.0","babel-plugin-macros":"^2.8.0","postcss-safe-parser":"^4.0.2","regenerator-runtime":"^0.13.5","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^2.3.5","postcss-flexbugs-fixes":"^4.2.0","mini-css-extract-plugin":"^0.9.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^3.1.0","@babel/plugin-transform-runtime":"^7.9.0","babel-plugin-dynamic-import-node":"^2.3.0","optimize-css-assets-webpack-plugin":"^5.0.3","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-regenerator":"^7.8.7","case-sensitive-paths-webpack-plugin":"^2.3.0","@babel/plugin-transform-destructuring":"^7.8.8","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-object-rest-spread":"^7.9.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^25.1.0","eslint":"^6.8.0","eslint-plugin-react":"^7.19.0","eslint-config-airbnb":"^18.1.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jsx-a11y":"^6.2.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_5.0.1_1585062653296_0.7578153732767292","host":"s3://npm-registry-packages"}},"5.1.0":{"name":"@rails/webpacker","version":"5.1.0","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@5.1.0","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"1583d192027222492f22a1d858270b78af636663","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-5.1.0.tgz","fileCount":42,"integrity":"sha512-+m7EDh6zIr0Y74oaEVjd6TUtkPBFF7DGu1bGny9t2G1Icjofox20FIx1lgKKTOpyIQ60j4BChf2C5Xir+sXBWQ==","signatures":[{"sig":"MEYCIQCYrMouGjfCAfQw+CsbsRj4aoncsHF+xfPY4CSqmf7GRgIhAO3clHuHpE5JD02gcXmxaOouM5uADAX/nfNyvxPXvPMb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":92614,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJenJ4PCRA9TVsSAnZWagAAwncP+wfhbTpw1NL0JjR7qno3\nKx/sxsx8n597OHLONOnKAH6hYlUGLBgLYoBsybQd6VFrv+020pvq39jsfqr6\nDSirqc62dQU0MJp4ZUODPMc4ots0V7av35sElLO3BFhXa6aH6AeEoA+O5bkF\njStA+DWNvSqIX2EHgw0qBC3Htz2O8ZWHxVaL8WcN5bVJ+PU3RVYMWDvC+LzM\nUdVi2cex7uYirNE73mCX6QIp9BT9CByE2rv3cht5J1Jg79STj/9VYoJua4P6\nA+EhuvQQ16igyBcPlOru9+gWmq6U7Fq/V4LeJ1bYg9pFqlnCRSFu2aViT82r\nE8pDxi8fFv9ZepaWviF0CGnjOdYGQ9VtMdslJ0bHBoQuAS1X4BuzBHkhfbRt\nqBgFrZmdkgLCKGCKaOCsLXBqqjqkcF4LLLmXQxu5ijAL6W64j+AAcyH743Sn\nfy+y89QeBo/wZkg/E2tz7rOn7+OCJhikzSJiWMpeKXh/zbvlGdqMPLKk+nTd\nWBFKrldImLH9hFUYiw0DyYzts4JqxsFlYmynkmtgLUH34l4BmpvFg6fURg1v\nUEcibOrg0+vhUmj2kft9/wJeoVg6zOIx91L4rLPNR7IWWrP9Ys7MpfX2apOj\nZcWQ5v/eIW+mopXWdv/Tv071YivKUgA/AOmK876EqdBGglO6lEmcxHrLUVtf\n8QrJ\r\n=5Dxr\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=10.13.0","yarn":">=1 <2"},"gitHead":"559d592783efb4ad24e547fea23c73bb514ae003","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.4.1","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"10.13.0","dependencies":{"glob":"^7.1.6","core-js":"^3.6.4","flatted":"^2.0.1","js-yaml":"^3.13.1","webpack":"^4.42.1","node-sass":"^4.13.1","css-loader":"^3.4.2","@babel/core":"^7.9.0","file-loader":"^6.0.0","sass-loader":"^8.0.2","webpack-cli":"^3.3.11","babel-loader":"^8.1.0","style-loader":"^1.1.3","@babel/runtime":"^7.9.2","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.4.3","@babel/preset-env":"^7.9.0","pnp-webpack-plugin":"^1.6.4","postcss-preset-env":"^6.7.0","babel-plugin-macros":"^2.8.0","postcss-safe-parser":"^4.0.2","regenerator-runtime":"^0.13.5","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^2.3.5","postcss-flexbugs-fixes":"^4.2.0","mini-css-extract-plugin":"^0.9.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^3.1.0","@babel/plugin-transform-runtime":"^7.9.0","babel-plugin-dynamic-import-node":"^2.3.0","optimize-css-assets-webpack-plugin":"^5.0.3","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-regenerator":"^7.8.7","case-sensitive-paths-webpack-plugin":"^2.3.0","@babel/plugin-transform-destructuring":"^7.8.8","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-object-rest-spread":"^7.9.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^25.1.0","eslint":"^6.8.0","eslint-plugin-react":"^7.19.0","eslint-config-airbnb":"^18.1.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jsx-a11y":"^6.2.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_5.1.0_1587322383424_0.6127745890666247","host":"s3://npm-registry-packages"}},"5.1.1":{"name":"@rails/webpacker","version":"5.1.1","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@5.1.1","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"3c937aa719e46341f037a3f37349ef58085950df","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-5.1.1.tgz","fileCount":42,"integrity":"sha512-ho5Stv9naZgG4HbHNFPqbA1OLPJyj6QXfgAc7VGCu4kkMe/RnVFLoLJFW6TZ9wYelKodBjRA2tKKiCaugv0sZw==","signatures":[{"sig":"MEUCIB77XkZb4YhJRm+fenh8zS4vbv6Cbo/Cr5+8sOuZ2mk4AiEAvOeoUod+5PR879JTb1K8+njtBA109J4JUHjoeJNaSss=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":93078,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJenYwVCRA9TVsSAnZWagAATKcP/itn1tV/PS8OFM5EyF7l\nCe9husYfsSL+3cHfvGzkRyI5bFA/FxUHTOZGuTFSH9ZsP7aP8lqHyRD9vCl6\noo2yQoZnT5zk36GDWMb+Lu3xuOjqAbEVCii1dLMR2NRSZ3ikQisUmH8LWVhv\n8Y4PVfvv1kFbPJ2j6ksJWg2z1nDC039mqynNEtSz0jMA8yrv+ZWVzkKXeI57\n0yLD0ozPaAUz4QXHYom4CwWWPkXdazXCdptu2+RKIktQRPoNEclUARS+PEBv\naLuwfiymrehludJnvfjUwOVSzdXMdM15bv2AiZv+oIZMd2/7SJHD3OHa+Rgi\ncVUVEXQ4P0OZ4Yq+ZnVxpQnN1Bq1Jtv3xWd7UoYrTbKj0Ala9IiYyXtOUIGT\nCiPSVpnEjm3VyYUqoHGxPWgGdSvnnokp7S4HE/XnPwId1j4odq3iEOmgB7Ms\nxjTIRtjFRlyzwMwKcJ73mk4lFY2Jsuqnfcg6FJ4DRV2+598oDbgnLanWeon0\nDFW1wWlWia04R3HhmZBglD/o3LhoGtou6pXJlZk70UaUjs/0QKuTn+uGMY6j\nqTkTzd7+Ug2NtSpdi4rmPTkwvPRjAhJShmqhhTZvENGoRhin7yhupffDpLoP\n11jxdyo2sOmEv24CxVU+ET8sHHZL4F9OlI9wg+UvyzbDMNLbtvVnv/nvOwWc\naZFq\r\n=exdQ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=10.13.0","yarn":">=1 <2"},"gitHead":"40a171021f6a89117aed1317957199cf2ca72b98","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.4.1","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"10.13.0","dependencies":{"glob":"^7.1.6","core-js":"^3.6.4","flatted":"^2.0.1","js-yaml":"^3.13.1","webpack":"^4.42.1","node-sass":"^4.13.1","css-loader":"^3.4.2","@babel/core":"^7.9.0","file-loader":"^6.0.0","sass-loader":"^8.0.2","webpack-cli":"^3.3.11","babel-loader":"^8.1.0","style-loader":"^1.1.3","@babel/runtime":"^7.9.2","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.4.3","@babel/preset-env":"^7.9.0","pnp-webpack-plugin":"^1.6.4","postcss-preset-env":"^6.7.0","babel-plugin-macros":"^2.8.0","postcss-safe-parser":"^4.0.2","regenerator-runtime":"^0.13.5","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^2.3.5","postcss-flexbugs-fixes":"^4.2.0","mini-css-extract-plugin":"^0.9.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^3.1.0","@babel/plugin-transform-runtime":"^7.9.0","babel-plugin-dynamic-import-node":"^2.3.0","optimize-css-assets-webpack-plugin":"^5.0.3","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-regenerator":"^7.8.7","case-sensitive-paths-webpack-plugin":"^2.3.0","@babel/plugin-transform-destructuring":"^7.8.8","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-object-rest-spread":"^7.9.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^25.1.0","eslint":"^6.8.0","eslint-plugin-react":"^7.19.0","eslint-config-airbnb":"^18.1.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jsx-a11y":"^6.2.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_5.1.1_1587383317131_0.5950949933859868","host":"s3://npm-registry-packages"}},"5.2.0":{"name":"@rails/webpacker","version":"5.2.0","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@5.2.0","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"0beaf004f15ed97110bb0daaa52f8a6ef1fae266","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-5.2.0.tgz","fileCount":43,"integrity":"sha512-pwLEEwTT3CI8zGJuJHMH8LiI9uw2mVRShf3HwRx9IX/rednwbyvaBcz3PpKWUSYukyr6TZ0NPYxq7LP98KIT9w==","signatures":[{"sig":"MEQCIB1quikO2mg2H5PF0hlbnNv9GV6Sz+MqBtyTHn0/1xBdAiBKgJbzvclPlVYARqbecxggxu9pSm6GsK/jCTXN2Ye3iA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":94750,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOWYGCRA9TVsSAnZWagAAO7UP/Rp8VZpaHiGP2iskNSnF\nxc1SxgYuK9/C85HRNlN9YBbj61hWsojW1OcaHgg9xpePJdw+YOIF+g9A/ZOH\nl68ld7EZoVWfceHwPGwKeoa3KADc6TFfodUfewfcFzWqSNl5ql7NLSAX8qCa\n+P3ggFywNoJUtxr09aXAdENjUMUostpU7yLKspDpABOHjOE79zjfLKLc+lMY\nl0u6hp1RWjvtj2pTZ3PwqAf+5QHGhXy+/4co7OQ8exU7ObpFx1+qtWjiYat3\nF2mODy2u14a9h0XxtmpfvaBFbNtHUJ4TLAeNPUOycG66w+sXe5pyeQZzNdPD\nu/m76BA+MJBnxN9AZrLIayX+pLyksZPsjlOm0+UyBaNBOtDlMBrGS8wzcA3x\nMN3mT3Ni1krmdQ4mikkFJAoqJPG6Vts34t4nxCrGQD728VC3nyTXLF1ieBZb\nYBpBUObfKr9tnCMXzIGM3QkbO/udtBBFhrLqmD4jvGKMOSk35hSMPtX0ZgPs\nmMJIMfCR9ELxUyWeMUd3RqNk9/Lpw1TOF/JgA9L+9Ije6G4hMNa5mG9oWZ79\neop3e6pDWnwiJc6m1bchsvyT1OHytGqTISO5JNiarIDPlNH/BGsBiE+2EETa\nksYhsKettdpDxeBwnkTraEnN0G+OJlk9VNFTKp/q8oW0JNgLbjxuokZtX+7+\n7ZyK\r\n=0kZM\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=10.17.0","yarn":">=1 <2"},"gitHead":"b7eb8314315d0a77de5ecd76706de84cce917d8a","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.11.3","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"10.17.0","dependencies":{"glob":"^7.1.6","core-js":"^3.6.5","flatted":"^3.0.4","js-yaml":"^3.14.0","webpack":"^4.44.1","node-sass":"^4.14.1","css-loader":"^3.5.3","@babel/core":"^7.11.1","file-loader":"^6.0.0","sass-loader":"^8.0.2","webpack-cli":"^3.3.12","babel-loader":"^8.1.0","style-loader":"^1.2.1","@babel/runtime":"^7.11.2","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.4.3","@babel/preset-env":"^7.11.0","pnp-webpack-plugin":"^1.6.4","postcss-preset-env":"^6.7.0","babel-plugin-macros":"^2.8.0","postcss-safe-parser":"^4.0.2","regenerator-runtime":"^0.13.7","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","mini-css-extract-plugin":"^0.9.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^4.0.0","@babel/plugin-transform-runtime":"^7.11.0","babel-plugin-dynamic-import-node":"^2.3.3","optimize-css-assets-webpack-plugin":"^5.0.3","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-regenerator":"^7.10.1","case-sensitive-paths-webpack-plugin":"^2.3.0","@babel/plugin-transform-destructuring":"^7.10.1","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-object-rest-spread":"^7.10.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.2.2","eslint":"^7.6.0","eslint-plugin-react":"^7.20.5","eslint-config-airbnb":"^18.2.0","eslint-plugin-import":"^2.22.0","eslint-plugin-jsx-a11y":"^6.3.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_5.2.0_1597597189749_0.34080072381460247","host":"s3://npm-registry-packages"}},"4.3.0":{"name":"@rails/webpacker","version":"4.3.0","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@4.3.0","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"3793b3aed08ed0b661f1bed9de0739abacb6a834","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-4.3.0.tgz","fileCount":42,"integrity":"sha512-DmKGjKugLeeytT1TO9fUBBjdA3YwQ19zoWK5JDL8V1rM0bf6WRf1n9DZTiVmuf0WO1gp5ej5pJ9b3NjZwfAz4Q==","signatures":[{"sig":"MEUCIB8jm5qPLXr2WLQsmO+DdZzS1iXp6oAAc2dAIW9ZrWApAiEAkBPPxJaiBYZuvtum7lvIhtvju+veOQ+a1r4Fqd0AenA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOW9/CRA9TVsSAnZWagAAw5EP/iNd7pKyJHh6WAPiAAvo\nJ/2WAAxKHrpV9AphK66NNr+2NSdk5+2u4Tu0i+KhbkRHOVQWxjWlPBprWKWt\nne8968D2MZZiTmKoRkwQXPIhNf1byx5y/w2uAYzO2h50CztLvas3sVWntXwS\nHE39w4UgIn+n38UtQjTBnp1TDCeUjNjMTniVus+oHHzp/gMAMlxQRt0lq5xS\nA8lyzA8pbRfSZnDB8aTQwa1+zdjT8boHCnh+HhAoTn1jpg9ud/cv4kkK2iwe\nEmbKSPrvWsqlFtAM4qLUZ5wgvectVY8+L3VtuZavlfOIFTxom0tJmzr9Apys\nd/4Dn9mMwhHG46E16vuoiqRZ4HuyEb3XlNOI1nhtG5087Aq87nrHuuqYx1N1\nhFnvcuJVBIVCaDgYskCbYCqkVLnGn2QV0DdZnCD+q32BkALqhQDfcD6eNB51\nS7z/1hBI3H53pRVL4ML8nCH2VZJt1gD9suckpazrfrHcl+8bzqdEPGHxsTCt\nvgfa8XHV6WneHghwc6pdO4YuSQoW3SH8PCZgherTK+DVpq+1RXvu+c3/8Fo5\n5GZeAQrm+vBdEOotdqyzZWwdFri/CPMV2r25IZF1x3Za2fLhclEd7hj7wrJ2\nkJDLZ8rbBV7do8VBgEv1e8b/569HTTmQQYdm//D0XBq9mbE0+Yf2X1PED+HM\n8smF\r\n=Kt3B\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=8.16.0","yarn":">=1.0.0"},"gitHead":"afb1f263e3dbbcdbe09bd7f53dd763536c37f6d9","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.13.0","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"8.16.0","dependencies":{"glob":"^7.1.6","core-js":"^3.4.0","flatted":"^2.0.1","js-yaml":"^3.13.1","webpack":"^4.41.2","node-sass":"^4.13.0","css-loader":"^3.2.0","@babel/core":"^7.7.2","file-loader":"^4.2.0","sass-loader":"7.3.1","webpack-cli":"^3.3.10","babel-loader":"^8.0.6","style-loader":"^1.0.0","@babel/runtime":"^7.7.2","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.4.3","@babel/preset-env":"^7.7.1","pnp-webpack-plugin":"^1.5.0","postcss-preset-env":"^6.7.0","babel-plugin-macros":"^2.6.1","postcss-safe-parser":"^4.0.1","regenerator-runtime":"^0.13.3","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^2.2.1","postcss-flexbugs-fixes":"^4.1.0","mini-css-extract-plugin":"^0.8.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^4.0.0","@babel/plugin-transform-runtime":"^7.6.2","babel-plugin-dynamic-import-node":"^2.3.0","optimize-css-assets-webpack-plugin":"^5.0.3","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-regenerator":"^7.7.0","case-sensitive-paths-webpack-plugin":"^2.2.0","@babel/plugin-transform-destructuring":"^7.6.0","@babel/plugin-proposal-class-properties":"^7.7.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","eslint":"^6.6.0","eslint-plugin-react":"^7.16.0","eslint-config-airbnb":"^18.0.1","eslint-plugin-import":"^2.18.2","eslint-plugin-jsx-a11y":"^6.2.3"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_4.3.0_1597599615253_0.4316924150631176","host":"s3://npm-registry-packages"}},"5.2.1":{"name":"@rails/webpacker","version":"5.2.1","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@5.2.1","maintainers":[{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"87cdbd4af2090ae2d74bdc51f6f04717d907c5b3","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-5.2.1.tgz","fileCount":43,"integrity":"sha512-rO0kOv0o4ESB8ZnKX+b54ZKogNJGWSMULGmsJacREfm9SahKEQwXBeHNsqSGtS9NAPsU6YUFhGKRd4i/kbMNrQ==","signatures":[{"sig":"MEQCIEVVCkhMXpdL4nijnn0h2bXZSsiT0tN44QS7mHkpDC4lAiA6Dy1xMUh1xDGKmX+KoXDSEvAS+GO3AVwtsDVB2KelnQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":94901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOmTqCRA9TVsSAnZWagAAG8UQAIkPlzqlqD8FjtY+W3Nm\nnXkWhkV2rPHweBiMPqhLSjEa2Df0uXFw5V47ye8bovAkU+poIy6NgOWnY4u2\nL4zkBsMs1NcKgtoU74uU/0cwblYbOKjyuXNEB6k2OARxffqWNBZt8JfuWDn9\ntUNpSMkdxkWaSmNheccd3mVTFgA5JShbwSS1kss/IM6G/ndnpqqrHOtg4PmC\nWrboatIDIdbr7pDb1N90QPJwRiV4HZIOxuqPG0bO7b7Q5vvQ9I9OrES7JTTx\nUuYXmSGU1Ea2ivZxRkhhFNVkfuzHvYcdVMcg4vWU6AEhBTAh0RgcpVzjbVxR\nb19CeJtwla88Px5BRYwmvesPBLMwDjvDB1nLZdUsDdA6JVwkBiXAk8xqSFIA\nWMrJkoCV8nJfu/31beLVlxtQLu0gey9ffQin0a3n3VRntOxHVBKplQcMW8ef\nWU3NcXX625mtX/3BPmj7EZw2CpOR0JlBAMopk5u4COJhXHsfSvurVmwtoMgT\nfbhMnbqFTeaiE1CTCZsXx0XYJKh08V4sYSf2N6p2usKv4/uQesJj0uUvhmQk\nzGJTTwkXdM2LLmDgSeW0qgTzi3Q0PAeBAtWOGm3SdkWFuLme3fCuMuoUNDGk\nd8WQXCNuPvvT+jKK5VFuV3t/x7Ufpcn01yWqK2iqK0ihiKruWM95V4RMIuDw\nxHRL\r\n=vmby\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=10.17.0","yarn":">=1 <2"},"gitHead":"9ec5daabc5daea1c96f538d7af1f807ae9b077ec","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.11.3","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"10.17.0","dependencies":{"glob":"^7.1.6","core-js":"^3.6.5","flatted":"^3.0.4","js-yaml":"^3.14.0","webpack":"^4.44.1","node-sass":"^4.14.1","css-loader":"^3.5.3","@babel/core":"^7.11.1","file-loader":"^6.0.0","sass-loader":"^8.0.2","webpack-cli":"^3.3.12","babel-loader":"^8.1.0","style-loader":"^1.2.1","@babel/runtime":"^7.11.2","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.4.3","@babel/preset-env":"^7.11.0","pnp-webpack-plugin":"^1.6.4","postcss-preset-env":"^6.7.0","babel-plugin-macros":"^2.8.0","postcss-safe-parser":"^4.0.2","regenerator-runtime":"^0.13.7","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^4.0.0","postcss-flexbugs-fixes":"^4.2.1","mini-css-extract-plugin":"^0.9.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^4.0.0","@babel/plugin-transform-runtime":"^7.11.0","babel-plugin-dynamic-import-node":"^2.3.3","optimize-css-assets-webpack-plugin":"^5.0.3","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-regenerator":"^7.10.1","case-sensitive-paths-webpack-plugin":"^2.3.0","@babel/plugin-transform-destructuring":"^7.10.1","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-object-rest-spread":"^7.10.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.2.2","eslint":"^7.6.0","eslint-plugin-react":"^7.20.5","eslint-config-airbnb":"^18.2.0","eslint-plugin-import":"^2.22.0","eslint-plugin-jsx-a11y":"^6.3.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_5.2.1_1597662442231_0.09872574277314317","host":"s3://npm-registry-packages"}},"6.0.0-pre.1":{"name":"@rails/webpacker","version":"6.0.0-pre.1","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@6.0.0-pre.1","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"3f21e6c81c33a0fc568bf523cba79e1fd53d0ca1","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-6.0.0-pre.1.tgz","fileCount":34,"integrity":"sha512-rK5HkB6gt9tN5G3f6k1O0u6PErRbIs90fsmm8d3Yorb5OAVq+iSX1vESjKwyC5F+mcSq9dIIRhLroxUkTynd6Q==","signatures":[{"sig":"MEQCIGG6zq0h/8GunY8R27seofdWC2AlBVW6q0KFoz76I2QTAiBZ++ufYiGOhozi/qftEvDD+Zsu88gBIwGO69EqVf8gyA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":82431,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf345QCRA9TVsSAnZWagAAYKMP/3e8pnrGCLUAJeyBAr2m\ngQEvNEr+0qEQOXNCKERlJPGM/JNtmQrF0PwBx3n7Zy8Oydfbky+8cG59IHM6\nwY47fxFppeOf9PKF6H2X/Hsj1IOm+RN/EYIHaaWr2+xy/JuL4Pdvtf11Pegw\n5KnSlg0lyzHnpT+9EcSa1RfXaPVDib0ojxVrUI36CsdVeVuQtNyeMNEW6ede\n8AaM9tk4ukD3IfSBK9Wc5WMajA8+FiReV5tkzozFHULQ4+x/cUlJXgrJRTmn\n8dhoRqMPUXn8zqcrveNWFUrMeHnS7VPXdQuSDFlaSldJbCLepSQrzH6yKYSu\nDOVNeqqdi9o5ftffBhg6g/xRYOzpFTiDi677+CHOjMAuY5HD19VW5JSkSIob\n4Vtp4vgTdjnK5brWB19s2yS6Rp0KyETdMWl/poeuIXu57GA8mk677GKBQXgk\nLFSBTGuTHgAIJDO7SZrHlVutOfcRpvj/5slbDSDpD93WnlGuZMG6WwQ4hYNk\nAwsx34kJQfURm482LcjrnwYvK9/8YX/GSYkaAjViVzbN0zmDt/iNxNw+uBQI\n32JLisPEr5jel8Rn2zE+D1qdww/iThjAW/1Ko5KVwXUCWvU0joerPC3QTr+h\noXE2e963GgO++c5ljcnxBVI2Io7XgztsQn+yJwWCh7qOzMjUjpgCyHE2csJU\nt/oB\r\n=7rwD\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=10.22.1 || ^12 || >=14","yarn":">=1 <3"},"gitHead":"722a88db633174e8daf44c67ba2687a30d55d5fb","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.14.6","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"10.22.1","dependencies":{"glob":"^7.1.6","core-js":"^3.8.0","js-yaml":"^3.14.0","webpack":"^5.11.0","@babel/core":"^7.12.9","webpack-cli":"^4.2.0","babel-loader":"^8.2.2","webpack-merge":"^5.7.2","@babel/runtime":"^7.12.5","webpack-sources":"^2.2.0","@babel/preset-env":"^7.12.11","pnp-webpack-plugin":"^1.6.4","babel-plugin-macros":"^3.0.1","regenerator-runtime":"^0.13.7","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^5.0.3","webpack-assets-manifest":"^5.0.0","compression-webpack-plugin":"^7.1.0","@babel/plugin-transform-runtime":"^7.12.1","case-sensitive-paths-webpack-plugin":"^2.3.0","@babel/plugin-proposal-class-properties":"^7.12.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.5.3","eslint":"^7.16.0","eslint-plugin-react":"^7.21.4","eslint-config-airbnb":"^18.2.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.1.0","eslint-plugin-jsx-a11y":"^6.3.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_6.0.0-pre.1_1608486479730_0.8940846964586995","host":"s3://npm-registry-packages"}},"6.0.0-pre.2":{"name":"@rails/webpacker","version":"6.0.0-pre.2","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@6.0.0-pre.2","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"84fa0ac06b5c15b0811830bdd801176bf8ef3330","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-6.0.0-pre.2.tgz","fileCount":34,"integrity":"sha512-VxUaYiNOKAdBZ2TJF5VdQZ/iPZcfR2/Zh9eTg40rLc6XRwAo4P4RyxE59a0TnGxgxYG5Tl3kGahAPCIgikvj0w==","signatures":[{"sig":"MEYCIQDck0pW/ZqEAxVxCvsfMHJj0L0wuZmhq2E2PrpPTXappwIhAIO6uVhv6p1U56Bz4TxsfM5WkU+jH/nM6+xBVVunUXxQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":82431,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf3490CRA9TVsSAnZWagAApiQP/i2MVGU+dS8i7kg1vvJj\nVXvdSe0jbnnyeUhk1vzQDKcnM2gIU+Z88a18qIL59w37BOokVN3U/heEgfc0\nDZcPS4Myn7OzF+rb8hYuOrWJMP3tl7qhmxCZw2hbK05Mv59tvvnzsMibzoTh\n/X7T/IRdBg7U1kLOQ87H4bZJFj9WGKrhyXTCd2XqhOmFLa3JfaFQHX4+tPVc\n+cbLsSCArFuVtEOGwHhO72ZVnBmMzUCuu72wK9/OetewbqqJmkC2LCF/vCMR\nMvrHYgZeViBIoA1JuToIaeoCWccSQqldFbVUTeODgPUtTnIbb6lv7t8M3caV\n2Iw8OxCrmsEqWPa+jx7K20F9Sfa7jJpMmQAPE0pq3rPXO8ffZFLsMp/r2+5m\ncNlG0cXH7nque6DDG4Ydg2s4H0nPkwhmHdvsyh/uLMgtDxW3WcTfM68y6YVU\neAMeJllHjbBUo0+hErTK8c8D9Gj2fq3K3i1W/TERTrhX6LuWWBZT5rE7M5TA\n4K6n0cyBNJ3XyxoOQ4rhB8Ny2Y03b0IF8d7OowWXSUkORbbI2DhNw7gbTv4X\nCu8jDqvqiDO6JQTrmRpjjbYYa+9pdMvH/FtP3Efbwhz2Twm4h6zYKXoV542t\nblmwVMAfCLMye2HAVn0+ZneRUnhvVGpqXplxP2hEx0j+quJ26NqzWr6K4bBf\nXbmu\r\n=6MtN\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","readme":"# Webpacker\n\n[![Ruby specs](https://github.com/rails/webpacker/workflows/Ruby%20specs/badge.svg)](https://github.com/rails/webpacker/actions)\n[![Jest specs](https://github.com/rails/webpacker/workflows/Jest%20specs/badge.svg)](https://github.com/rails/webpacker/actions)\n[![Rubocop](https://github.com/rails/webpacker/workflows/Rubocop/badge.svg)](https://github.com/rails/webpacker/actions)\n[![JS lint](https://github.com/rails/webpacker/workflows/JS%20lint/badge.svg)](https://github.com/rails/webpacker/actions)\n\n[![node.js](https://img.shields.io/badge/node-%3E%3D%2010.17.0-brightgreen.svg)](https://www.npmjs.com/package/@rails/webpacker)\n[![Gem](https://img.shields.io/gem/v/webpacker.svg)](https://rubygems.org/gems/webpacker)\n\nWebpacker makes it easy to use the JavaScript pre-processor and bundler\n[webpack 4.x.x+](https://webpack.js.org/)\nto manage application-like JavaScript in Rails. It coexists with the asset pipeline,\nas the primary purpose for webpack is app-like JavaScript, not images, CSS, or\neven JavaScript Sprinkles (that all continues to live in app/assets).\n\nHowever, it is possible to use Webpacker for CSS, images and fonts assets as well,\nin which case you may not even need the asset pipeline. This is mostly relevant when exclusively using component-based JavaScript frameworks.\n\n**NOTE:** The master branch now hosts the code for v6.x.x. Please refer to [5-x-stable](https://github.com/rails/webpacker/tree/5-x-stable) branch for 5.x documentation.\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n- [Features](#features)\n- [Installation](#installation)\n  - [Usage](#usage)\n  - [Development](#development)\n  - [Webpack Configuration](#webpack-configuration)\n  - [Custom Rails environments](#custom-rails-environments)\n  - [Upgrading](#upgrading)\n- [Integrations](#integrations)\n  - [React](./docs/integrations.md#react)\n  - [Angular with TypeScript](./docs/integrations.md#angular-with-typescript)\n  - [Vue](./docs/integrations.md#vue)\n  - [Elm](./docs/integrations.md#elm)\n  - [Stimulus](./docs/integrations.md#stimulus)\n  - [Svelte](./docs/integrations.md#svelte)\n  - [Typescript](./docs/typescript.md)\n  - [CoffeeScript](./docs/integrations.md#coffeescript)\n  - [Erb](./docs/integrations.md#erb)\n- [Paths](#paths)\n  - [Resolved](#resolved)\n  - [Watched](#watched)\n- [Deployment](#deployment)\n- [Docs](#docs)\n- [Contributing](#contributing)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Prerequisites\n\n- Ruby 2.4+\n- Rails 5.2+\n- Node.js 10.17.0+ || 12+ || 14+\n- Yarn 1.x+\n\n## Features\n\n- [webpack 4.x.x](https://webpack.js.org/)\n- ES6 with [babel](https://babeljs.io/)\n- Automatic code splitting using multiple entry points\n- Stylesheets - Sass and CSS\n- Images and fonts\n- PostCSS - Auto-Prefixer\n- Asset compression, source-maps, and minification\n- CDN support\n- React, Angular, Elm and Vue support out-of-the-box\n- Rails view helpers\n- Extensible and configurable\n\n## Installation\n\nYou can either add Webpacker during setup of a new Rails 5.1+ application\nusing new `--webpack` option:\n\n```bash\n# Available Rails 5.1+\nrails new myapp --webpack\n```\n\nOr add it to your `Gemfile`:\n\n```ruby\n# Gemfile\ngem 'webpacker', '~> 5.x'\n\n# OR if you prefer to use master\ngem 'webpacker', git: 'https://github.com/rails/webpacker.git'\nyarn add https://github.com/rails/webpacker.git\nyarn add core-js regenerator-runtime\n```\n\nFinally, run the following to install Webpacker:\n\n```bash\nbundle\nbundle exec rails webpacker:install\n\n# OR (on rails version < 5.0)\nbundle exec rake webpacker:install\n```\n\nOptional: To fix [\"unmet peer dependency\" warnings](https://github.com/rails/webpacker/issues/1078),\n\n```bash\nyarn upgrade\n```\n\nWhen `package.json` and/or `yarn.lock` changes, such as when pulling down changes to your local environment in a team settings, be sure to keep your NPM packages up-to-date:\n\n```bash\nyarn install\n```\n\n### Usage\n\nOnce installed, you can start writing modern ES6-flavored JavaScript apps right away:\n\n```yml\napp/javascript:\n  ├── packs:\n  │   # only webpack entry files here\n  │   └── application.js\n  │   └── application.css\n  └── src:\n  │   └── my_component.js\n  └── stylesheets:\n  │   └── my_styles.css\n  └── images:\n      └── logo.svg\n```\n\nIn `/packs/application.js`, include this at the top of the file:\n\n```js\nimport 'core-js/stable'\nimport 'regenerator-runtime/runtime'\n```\n\nYou can then link the JavaScript pack in Rails views using the `javascript_pack_tag` helper.\nIf you have styles imported in your pack file, you can link them by using `stylesheet_pack_tag`:\n\n```erb\n<%= javascript_pack_tag 'application' %>\n<%= stylesheet_pack_tag 'application' %>\n```\n\nIf you want to link a static asset for `<link rel=\"prefetch\">` or `<img />` tag, you\ncan use the `asset_pack_path` helper:\n\n```erb\n<link rel=\"prefetch\" href=\"<%= asset_pack_path 'application.css' %>\" />\n<img src=\"<%= asset_pack_path 'images/logo.svg' %>\" />\n```\n\nIf you are using new webpack 4 split chunks API, then consider using `javascript_packs_with_chunks_tag` helper, which creates html\ntags for a pack and all the dependent chunks.\n\n```erb\n<%= javascript_packs_with_chunks_tag 'calendar', 'map', 'data-turbolinks-track': 'reload' %>\n\n<script src=\"/packs/vendor-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/calendar~runtime-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/calendar-1016838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/map~runtime-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/map-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n```\n\n**Important:** Pass all your pack names when using `javascript_packs_with_chunks_tag`\nhelper otherwise you will get duplicated chunks on the page.\n\n```erb\n<%# DO %>\n<%= javascript_packs_with_chunks_tag 'calendar', 'map' %>\n\n<%# DON'T %>\n<%= javascript_packs_with_chunks_tag 'calendar' %>\n<%= javascript_packs_with_chunks_tag 'map' %>\n```\n\n**Note:** In order for your styles or static assets files to be available in your view,\nyou would need to link them in your \"pack\" or entry file.\n\n### Development\n\nWebpacker ships with two binstubs: `./bin/webpack` and `./bin/webpack-dev-server`.\nBoth are thin wrappers around the standard `webpack.js` and `webpack-dev-server.js`\nexecutables to ensure that the right configuration files and environmental variables\nare loaded based on your environment.\n\nIn development, Webpacker compiles on demand rather than upfront by default. This\nhappens when you refer to any of the pack assets using the Webpacker helper methods.\nThis means that you don't have to run any separate processes. Compilation errors are logged\nto the standard Rails log.\n\nIf you want to use live code reloading, or you have enough JavaScript that on-demand compilation is too slow, you'll need to run `./bin/webpack-dev-server` or `ruby ./bin/webpack-dev-server`. Windows users will need to run these commands\nin a terminal separate from `bundle exec rails s`. This process will watch for changes\nin the `app/javascript/packs/*.js` files and automatically reload the browser to match.\n\n```bash\n# webpack dev server\n./bin/webpack-dev-server\n\n# watcher\n./bin/webpack --watch --colors --progress\n\n# standalone build\n./bin/webpack\n```\n\nOnce you start this development server, Webpacker will automatically start proxying all\nwebpack asset requests to this server. When you stop the server, it'll revert back to\non-demand compilation.\n\nYou can use environment variables as options supported by\n[webpack-dev-server](https://webpack.js.org/configuration/dev-server/) in the\nform `WEBPACKER_DEV_SERVER_<OPTION>`. Please note that these environmental\nvariables will always take precedence over the ones already set in the\nconfiguration file, and that the _same_ environmental variables must\nbe available to the `rails server` process.\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=example.com WEBPACKER_DEV_SERVER_INLINE=true WEBPACKER_DEV_SERVER_HOT=false ./bin/webpack-dev-server\n```\n\nBy default, the webpack dev server listens on `localhost` in development for security purposes.\nHowever, if you want your app to be available over local LAN IP or a VM instance like vagrant,\nyou can set the `host` when running `./bin/webpack-dev-server` binstub:\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=0.0.0.0 ./bin/webpack-dev-server\n```\n\n**Note:** You need to allow webpack-dev-server host as an allowed origin for `connect-src` if you are running your application in a restrict CSP environment (like Rails 5.2+). This can be done in Rails 5.2+ in the CSP initializer `config/initializers/content_security_policy.rb` with a snippet like this:\n\n```ruby\n  Rails.application.config.content_security_policy do |policy|\n    policy.connect_src :self, :https, 'http://localhost:3035', 'ws://localhost:3035' if Rails.env.development?\n  end\n```\n\n**Note:** Don't forget to prefix `ruby` when running these binstubs on Windows\n\n### Webpack Configuration\n\nSee [docs/webpack](docs/webpack.md) for modifying webpack configuration and loaders.\n\n### Custom Rails environments\n\nOut of the box Webpacker ships with - development, test and production environments in `config/webpacker.yml` however, in most production apps extra environments are needed as part of deployment workflow. Webpacker supports this out of the box from version 3.4.0+ onwards.\n\nYou can choose to define additional environment configurations in webpacker.yml,\n\n```yml\nstaging:\n  <<: *default\n\n  # Production depends on precompilation of packs prior to booting for performance.\n  compile: false\n\n  # Cache manifest.json for performance\n  cache_manifest: true\n\n  # Compile staging packs to a separate directory\n  public_output_path: packs-staging\n```\n\nor, Webpacker will use production environment as a fallback environment for loading configurations. Please note, `NODE_ENV` can either be set to `production`, `development` or `test`.\nThis means you don't need to create additional environment files inside `config/webpacker/*` and instead use webpacker.yml to load different configurations using `RAILS_ENV`.\n\nFor example, the below command will compile assets in production mode but will use staging configurations from `config/webpacker.yml` if available or use fallback production environment configuration:\n\n```bash\nRAILS_ENV=staging bundle exec rails assets:precompile\n```\n\nAnd, this will compile in development mode and load configuration for cucumber environment\nif defined in webpacker.yml or fallback to production configuration\n\n```bash\nRAILS_ENV=cucumber NODE_ENV=development bundle exec rails assets:precompile\n```\n\nPlease note, binstubs compiles in development mode however rake tasks\ncompiles in production mode.\n\n```bash\n# Compiles in development mode unless NODE_ENV is specified\n./bin/webpack\n./bin/webpack-dev-server\n\n# compiles in production mode by default unless NODE_ENV is specified\nbundle exec rails assets:precompile\nbundle exec rails webpacker:compile\n```\n\n### Upgrading\n\nYou can run following commands to upgrade Webpacker to the latest stable version. This process involves upgrading the gem and related JavaScript packages:\n\n```bash\nbundle update webpacker\nrails webpacker:install\nyarn upgrade @rails/webpacker --latest\nyarn upgrade webpack-dev-server --latest\n\n# Or to install the latest release (including pre-releases)\nyarn add @rails/webpacker@next\n```\n\n## Integrations\n\nWebpacker ships with basic out-of-the-box integration. You can see a list of available commands/tasks by running `bundle exec rails webpacker`.\n\nIncluded install integrations:\n\n- [React](./docs/integrations.md#React)\n- [Angular with TypeScript](./docs/integrations.md#Angular-with-TypeScript)\n- [Vue](./docs/integrations.md#Vue)\n- [Elm](./docs/integrations.md#Elm)\n- [Svelte](./docs/integrations.md#Svelte)\n- [Stimulus](./docs/integrations.md#Stimulus)\n- [CoffeeScript](./docs/integrations.md#CoffeeScript)\n- [Typescript](./docs/typescript.md)\n- [Erb](./docs/integrations.md#Erb)\n\nSee [Integrations](./docs/integrations.md) for further details.\n\n## Paths\n\nBy default, Webpacker ships with simple conventions for where the JavaScript\napp files and compiled webpack bundles will go in your Rails app.\nAll these options are configurable from `config/webpacker.yml` file.\n\nThe configuration for what webpack is supposed to compile by default rests\non the convention that every file in `app/javascript/packs/*`**(default)**\nor whatever path you set for `source_entry_path` in the `webpacker.yml` configuration\nis turned into their own output files (or entry points, as webpack calls it). Therefore you don't want to put anything inside `packs` directory that you do not want to be\nan entry file. As a rule of thumb, put all files you want to link in your views inside\n\"packs\" directory and keep everything else under `app/javascript`.\n\nSuppose you want to change the source directory from `app/javascript`\nto `frontend` and output to `assets/packs`. This is how you would do it:\n\n```yml\n# config/webpacker.yml\nsource_path: frontend\nsource_entry_path: packs\npublic_output_path: assets/packs # outputs to => public/assets/packs\n```\n\nSimilarly you can also control and configure `webpack-dev-server` settings from `config/webpacker.yml` file:\n\n```yml\n# config/webpacker.yml\ndevelopment:\n  dev_server:\n    host: localhost\n    port: 3035\n```\n\nIf you have `hmr` turned to true, then the `stylesheet_pack_tag` generates no output, as you will want to configure your styles to be inlined in your JavaScript for hot reloading. During production and testing, the `stylesheet_pack_tag` will create the appropriate HTML tags.\n\n### Resolved\n\nIf you are adding Webpacker to an existing app that has most of the assets inside\n`app/assets` or inside an engine, and you want to share that\nwith webpack modules, you can use the `additional_paths`\noption available in `config/webpacker.yml`. This lets you\nadd additional paths that webpack should lookup when resolving modules:\n\n```yml\nadditional_paths: ['app/assets']\n```\n\nYou can then import these items inside your modules like so:\n\n```js\n// Note it's relative to parent directory i.e. app/assets\nimport 'stylesheets/main'\nimport 'images/rails.png'\n```\n\n**Note:** Please be careful when adding paths here otherwise it\nwill make the compilation slow, consider adding specific paths instead of\nwhole parent directory if you just need to reference one or two modules\n\n## Deployment\n\nWebpacker hooks up a new `webpacker:compile` task to `assets:precompile`, which gets run whenever you run `assets:precompile`. If you are not using Sprockets, `webpacker:compile` is automatically aliased to `assets:precompile`. Similar to sprockets both rake tasks will compile packs in production mode but will use `RAILS_ENV` to load configuration from `config/webpacker.yml` (if available).\n\nWhen compiling assets for production on a remote server, such as a continuous integration environment, it's recommended to use `yarn install --frozen-lockfile` to install NPM packages on the remote host to ensure that the installed packages match the `yarn.lock` file.\n\n## Docs\n\n- [Development](https://github.com/rails/webpacker#development)\n  - [Webpack](./docs/webpack.md)\n  - [Webpack-dev-server](./docs/webpack-dev-server.md)\n  - [Environment Variables](./docs/env.md)\n  - [Folder Structure](./docs/folder-structure.md)\n  - [Assets](./docs/assets.md) - [CSS, Sass and SCSS](./docs/css.md) - [ES6](./docs/es6.md), [Target browsers](./docs/target.md)\n    - [Props](./docs/props.md)\n    - [Typescript](./docs/typescript.md)\n  - [Yarn](./docs/yarn.md)\n  - [Misc](./docs/misc.md)\n- [Deployment](./docs/deployment.md)\n  - [Docker](./docs/docker.md)\n  - [Using in Rails engines](./docs/engines.md)\n  - [Webpacker on Cloud9](./docs/cloud9.md)\n- [Testing](./docs/testing.md)\n- [Troubleshooting](./docs/troubleshooting.md)\n- [v3 to v4 Upgrade Guide](./docs/v4-upgrade.md)\n\n## Contributing\n\n[![Code Helpers](https://www.codetriage.com/rails/webpacker/badges/users.svg)](https://www.codetriage.com/rails/webpacker)\n\nWe encourage you to contribute to Webpacker! See [CONTRIBUTING](CONTRIBUTING.md) for guidelines about how to proceed.\n\n## License\n\nWebpacker is released under the [MIT License](https://opensource.org/licenses/MIT).\n","engines":{"node":">=10.22.1 || ^12 || >=14","yarn":">=1 <3"},"gitHead":"bb16e5a4801bf8f1777827b5838b3ce90f362d7a","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.14.6","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"10.22.1","dependencies":{"glob":"^7.1.6","core-js":"^3.8.0","js-yaml":"^3.14.0","webpack":"^5.11.0","@babel/core":"^7.12.9","webpack-cli":"^4.2.0","babel-loader":"^8.2.2","webpack-merge":"^5.7.2","@babel/runtime":"^7.12.5","webpack-sources":"^2.2.0","@babel/preset-env":"^7.12.11","pnp-webpack-plugin":"^1.6.4","babel-plugin-macros":"^3.0.1","regenerator-runtime":"^0.13.7","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^5.0.3","webpack-assets-manifest":"^5.0.0","compression-webpack-plugin":"^7.1.0","@babel/plugin-transform-runtime":"^7.12.1","case-sensitive-paths-webpack-plugin":"^2.3.0","@babel/plugin-proposal-class-properties":"^7.12.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.5.3","eslint":"^7.16.0","eslint-plugin-react":"^7.21.4","eslint-config-airbnb":"^18.2.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.1.0","eslint-plugin-jsx-a11y":"^6.3.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_6.0.0-pre.2_1608486772361_0.9383608379724753","host":"s3://npm-registry-packages"}},"6.0.0-beta":{"name":"@rails/webpacker","version":"6.0.0-beta","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@6.0.0-beta","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"e5fc0a81469124aab11d9335bc5afa5c764f2c61","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-6.0.0-beta.tgz","fileCount":33,"integrity":"sha512-ABaz3YN6M/ojxaRMEhhD5kpbwmMyJZn+1WBgHdHLz3/Uk1HU9mW013Q/gLdUg1BDbKbQH5S1Q1avmd2qy8Bd/Q==","signatures":[{"sig":"MEUCIQD+tUO0XA1f3TXMI/wmTlqAq7zJJMPa9AQ6Rq1u6Xm0XQIgEkxvzsWetBCH6xp6XahlsVK//ZChWUeK4GRhEjISQYI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83256,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf41ZOCRA9TVsSAnZWagAAze4P/joY4nKUuhdf0UKJAB/s\nUtEjTAsjCtD1naGaQ3+vhV5DAvKSwtZ8ms0fCgtDXgXvjeWhpq9h7PCTof99\nZlmdCbA1sZ86DRhFjPXHoi97fm4gOv+DFcldI3LXTVdnTiG+Zhoe3GUaWlbF\nEs+HbCBJnjEv5cvB/ZNlr2/93iL2MLMzJkN23lAnMt0ZaTuUz+34Ywksrcpb\nT92us7aX6UMSkqTB8FCiiMgd3W6jD6mzxonP+9a45wy6c34RI8Tc3r/i/b6N\nYxjASgwev2ZqHDeHBOULjkhgfluOHVADpmsISmgSIabfnpFEx+Dh7hXqwQXI\nlbPg+QLJcRgCW2p33QRMQtvnUDh5jI3FfNItAOstQCcp5z7puONMpP8q1fW5\nDWpwl9giN0QIr1BF6ARtfA38+X/JtfEkbF25A+TfujD77ysiOCJit/VPde1E\nXCY/uUM0u6O7A0bbkPOzarZHtujLXsMpJ/gYJkdjjNZSxx5NRMHZyCO3gkJn\n5gWVdSjehhYpaxChzvEylHRw7prTGTtDUeNj37N3Am5YnIOLA+nWWcOfd5Aa\n31Me0AHxqJ/5r1E+Ddl3pUeDFfeCNaj1LTEkIM/8e5qC2B5Ith4LbDm2mkdq\nUBbiDMcSe+pZ6aDbTA6vlZiteIIZXNpANXq9v1NBiUEG/F3MxgrvU1t0wyS5\ns8Rn\r\n=+Zsp\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","readme":"# Webpacker\n\n[![Ruby specs](https://github.com/rails/webpacker/workflows/Ruby%20specs/badge.svg)](https://github.com/rails/webpacker/actions)\n[![Jest specs](https://github.com/rails/webpacker/workflows/Jest%20specs/badge.svg)](https://github.com/rails/webpacker/actions)\n[![Rubocop](https://github.com/rails/webpacker/workflows/Rubocop/badge.svg)](https://github.com/rails/webpacker/actions)\n[![JS lint](https://github.com/rails/webpacker/workflows/JS%20lint/badge.svg)](https://github.com/rails/webpacker/actions)\n\n[![node.js](https://img.shields.io/badge/node-%3E%3D%2010.17.0-brightgreen.svg)](https://www.npmjs.com/package/@rails/webpacker)\n[![Gem](https://img.shields.io/gem/v/webpacker.svg)](https://rubygems.org/gems/webpacker)\n\nWebpacker makes it easy to use the JavaScript pre-processor and bundler\n[webpack 5.x.x+](https://webpack.js.org/)\nto manage application-like JavaScript in Rails. It coexists with the asset pipeline,\nas the primary purpose for webpack is app-like JavaScript, not images, CSS, or\neven JavaScript Sprinkles (that all continues to live in app/assets).\n\nHowever, it is possible to use Webpacker for CSS, images and fonts assets as well,\nin which case you may not even need the asset pipeline. This is mostly relevant when exclusively using component-based JavaScript frameworks.\n\n**NOTE:** The master branch now hosts the code for v6.x.x. Please refer to [5-x-stable](https://github.com/rails/webpacker/tree/5-x-stable) branch for 5.x documentation.\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n- [Features](#features)\n- [Installation](#installation)\n  - [Usage](#usage)\n  - [Development](#development)\n  - [Webpack Configuration](#webpack-configuration)\n  - [Custom Rails environments](#custom-rails-environments)\n  - [Upgrading](#upgrading)\n- [Paths](#paths)\n  - [Resolved](#resolved)\n  - [Watched](#watched)\n- [Deployment](#deployment)\n- [Docs](#docs)\n- [Contributing](#contributing)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Prerequisites\n\n- Ruby 2.4+\n- Rails 5.2+\n- Node.js 10.22.1+ || 12+ || 14+\n- Yarn 1.x+\n\n## Features\n\n- [webpack 5.x.x](https://webpack.js.org/)\n- ES6 with [babel](https://babeljs.io/)\n- Automatic code splitting using multiple entry points\n- Asset compression, source-maps, and minification\n- CDN support\n- Rails view helpers\n- Extensible and configurable\n\n  ### Optional support\\*\n\n  _requires extra packages to be installed_\n\n  - Stylesheets - SASS, LESS and CSS, PostCSS\n  - Coffeescript\n  - Typescript\n  - React\n\n## Installation\n\nYou can either add Webpacker during setup of a new Rails 5.1+ application\nusing new `--webpack` option:\n\n```bash\n# Available Rails 5.1+\nrails new myapp --webpack\n```\n\nOr add it to your `Gemfile`:\n\n```ruby\n# Gemfile\ngem 'webpacker', '~> 6.x'\n\n# OR if you prefer to use master\ngem 'webpacker', git: 'https://github.com/rails/webpacker.git'\nyarn add https://github.com/rails/webpacker.git\n```\n\nFinally, run the following to install Webpacker:\n\n```bash\nbundle\nbundle exec rails webpacker:install\n\n# OR (on rails version < 5.0)\nbundle exec rake webpacker:install\n```\n\nOptional: To fix [\"unmet peer dependency\" warnings](https://github.com/rails/webpacker/issues/1078),\n\n```bash\nyarn upgrade\n```\n\nWhen `package.json` and/or `yarn.lock` changes, such as when pulling down changes to your local environment in a team settings, be sure to keep your NPM packages up-to-date:\n\n```bash\nyarn install\n```\n\n### Usage\n\nOnce installed, you can start writing modern ES6-flavored JavaScript apps right away:\n\n```yml\napp/javascript:\n  ├── packs:\n  │   # only webpack entry files here\n  │   └── application.js\n  │   └── application.css\n  └── src:\n  │   └── my_component.js\n  └── stylesheets:\n  │   └── my_styles.css\n  └── images:\n      └── logo.svg\n```\n\nYou can then link the JavaScript pack in Rails views using the `javascript_packs_with_chunks_tag` helper. If you have styles imported in your pack file, you can link them by using `stylesheet_packs_with_chunks_tag`:\n\n```erb\n<%= javascript_packs_with_chunks_tag 'application' %>\n<%= stylesheet_packs_with_chunks_tag 'application' %>\n```\n\nIf you want to link a static asset for `<link rel=\"prefetch\">` or `<img />` tag, you\ncan use the `asset_pack_path` helper:\n\n```erb\n<link rel=\"prefetch\" href=\"<%= asset_pack_path 'application.css' %>\" />\n<img src=\"<%= asset_pack_path 'images/logo.svg' %>\" />\n```\n\n**Note:** In order for your styles or static assets files to be available in your view,\nyou would need to link them in your \"pack\" or entry file.\n\n### Development\n\nWebpacker ships with two binstubs: `./bin/webpack` and `./bin/webpack-dev-server`.\nBoth are thin wrappers around the standard `webpack.js` and `webpack-dev-server.js`\nexecutables to ensure that the right configuration files and environmental variables\nare loaded based on your environment.\n\nIn development, Webpacker compiles on demand rather than upfront by default. This\nhappens when you refer to any of the pack assets using the Webpacker helper methods.\nThis means that you don't have to run any separate processes. Compilation errors are logged\nto the standard Rails log.\n\nIf you want to use live code reloading, or you have enough JavaScript that on-demand compilation is too slow, you'll need to run `./bin/webpack-dev-server` or `ruby ./bin/webpack-dev-server`. Windows users will need to run these commands\nin a terminal separate from `bundle exec rails s`. This process will watch for changes\nin the `app/javascript/packs/*.js` files and automatically reload the browser to match.\n\n```bash\n# webpack dev server\n./bin/webpack-dev-server\n\n# watcher\n./bin/webpack --watch --colors --progress\n\n# standalone build\n./bin/webpack\n```\n\nOnce you start this development server, Webpacker will automatically start proxying all\nwebpack asset requests to this server. When you stop the server, it'll revert back to\non-demand compilation.\n\nYou can use environment variables as options supported by\n[webpack-dev-server](https://webpack.js.org/configuration/dev-server/) in the\nform `WEBPACKER_DEV_SERVER_<OPTION>`. Please note that these environmental\nvariables will always take precedence over the ones already set in the\nconfiguration file, and that the _same_ environmental variables must\nbe available to the `rails server` process.\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=example.com WEBPACKER_DEV_SERVER_INLINE=true WEBPACKER_DEV_SERVER_HOT=false ./bin/webpack-dev-server\n```\n\nBy default, the webpack dev server listens on `localhost` in development for security purposes.\nHowever, if you want your app to be available over local LAN IP or a VM instance like vagrant,\nyou can set the `host` when running `./bin/webpack-dev-server` binstub:\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=0.0.0.0 ./bin/webpack-dev-server\n```\n\n**Note:** You need to allow webpack-dev-server host as an allowed origin for `connect-src` if you are running your application in a restrict CSP environment (like Rails 5.2+). This can be done in Rails 5.2+ in the CSP initializer `config/initializers/content_security_policy.rb` with a snippet like this:\n\n```ruby\n  Rails.application.config.content_security_policy do |policy|\n    policy.connect_src :self, :https, 'http://localhost:3035', 'ws://localhost:3035' if Rails.env.development?\n  end\n```\n\n**Note:** Don't forget to prefix `ruby` when running these binstubs on Windows\n\n### Webpack Configuration\n\nWebpacker gives you a default set of configuration files for test, development and\nproduction environments in `config/webpack/*.js`. You can configure each individual\nenvironment in their respective files or configure them all in the base\n`config/webpack/environment.js` file.\n\nBy default, you don't need to make any changes to `config/webpack/*.js`\nfiles since it's all standard production-ready configuration. However,\nif you do need to customize or add a new loader, this is where you would go.\n\nHere is how you can modify webpack configuration:\n\nYou might add separate files to keep your code more organized.\n\n```js\n// config/webpack/custom.js\nmodule.exports = {\n  resolve: {\n    alias: {\n      jquery: 'jquery/src/jquery',\n      vue: 'vue/dist/vue.js',\n      React: 'react',\n      ReactDOM: 'react-dom',\n      vue_resource: 'vue-resource/dist/vue-resource'\n    }\n  }\n}\n```\n\nThen `require` this file in your `config/webpack/base.js`:\n\n```js\n// config/webpack/base.js\nconst { webpackConfig, merge } = require('@rails/webpacker')\nconst customConfig = require('./custom')\n\nmodule.exports = merge(webpackConfig, customConfig)\n```\n\nIf you need access to configs within Webpacker's configuration,\nyou can import them like so:\n\n```js\n// config/webpack/base.js\nconst { webpackConfig } = require('@rails/webpacker')\n\nconsole.log(webpackConfig.output_path)\nconsole.log(webpackConfig.source_path)\n```\n\n### Integrations\n\nWebpacker out of the box supports JS and static assets (fonts, images etc.)\ncompilation. To enable support for Coffeescript or Typescript install\nrelevant packages,\n\n**Coffeescript**\n\n```\nyarn add coffeescript coffee-loader\n```\n\n**Typescript**\n\n```\nyarn add typescript @babel/preset-typescript\n```\n\nAdd tsconfig.json\n\n```json\n{\n  \"compilerOptions\": {\n    \"declaration\": false,\n    \"emitDecoratorMetadata\": true,\n    \"experimentalDecorators\": true,\n    \"lib\": [\"es6\", \"dom\"],\n    \"module\": \"es6\",\n    \"moduleResolution\": \"node\",\n    \"baseUrl\": \".\",\n    \"paths\": {\n      \"*\": [\"node_modules/*\", \"app/javascript/*\"]\n    },\n    \"sourceMap\": true,\n    \"target\": \"es5\",\n    \"noEmit\": true\n  },\n  \"exclude\": [\"**/*.spec.ts\", \"node_modules\", \"vendor\", \"public\"],\n  \"compileOnSave\": false\n}\n```\n\n#### CSS\n\nTo enable CSS support in your application, add following packages,\n\n```\nyarn add css-loader mini-css-extract-plugin css-minimizer-webpack-plugin\n```\n\noptionally, add css extension to webpack config for easy resolution\n\n```js\n// config/webpack/base.js\nconst { webpackConfig, merge } = require('@rails/webpacker')\nconst customConfig = {\n  resolve: {\n    extensions: ['.css']\n  }\n}\n\nmodule.exports = merge(webpackConfig, customConfig)\n```\n\nTo enable postcss, sass or less support, add css support first and\nthen add the relevant pre-processors:\n\n#### Postcss\n\n```\nyarn add postcss-loader\n```\n\n#### Sass\n\n```\nyarn add sass-loader\n```\n\n#### Less\n\n```\nyarn add less-loader\n```\n\n#### React\n\nReact is supported and you just need to add relevant packages,\n\n```\nyarn add react react-dom @babel/preset-react\n```\n\nif you are using typescript, update your `tsconfig.json`\n\n```json\n{\n  \"compilerOptions\": {\n    \"declaration\": false,\n    \"emitDecoratorMetadata\": true,\n    \"experimentalDecorators\": true,\n    \"lib\": [\"es6\", \"dom\"],\n    \"module\": \"es6\",\n    \"moduleResolution\": \"node\",\n    \"sourceMap\": true,\n    \"target\": \"es5\",\n    \"jsx\": \"react\",\n    \"noEmit\": true\n  },\n  \"exclude\": [\"**/*.spec.ts\", \"node_modules\", \"vendor\", \"public\"],\n  \"compileOnSave\": false\n}\n```\n\n#### Other frameworks\n\nPlease follow webpack integration guide for relevant framework or library,\n\n1. Svelte - https://github.com/sveltejs/svelte-loader#install\n2. Angular - https://v2.angular.io/docs/ts/latest/guide/webpack.html#!#configure-webpack\n3. Vue - https://vue-loader.vuejs.org/guide/\n\nFor example to add Vue support,\n\n```js\n// config/webpack/rules/vue.js\nconst VueLoaderPlugin = require('vue-loader/lib/plugin')\n\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: /\\.vue$/,\n        loader: 'vue-loader'\n      }\n    ]\n  },\n  plugins: [new VueLoaderPlugin()]\n}\n\n// config/webpack/base.js\nconst { webpackConfig, merge } = require('@rails/webpacker')\nconst vueConfig = require('./rules/vue')\n\nmodule.exports = merge(webpackConfig, vueConfig)\n```\n\n### Custom Rails environments\n\nOut of the box Webpacker ships with - development, test and production environments in `config/webpacker.yml` however, in most production apps extra environments are needed as part of deployment workflow. Webpacker supports this out of the box from version 3.4.0+ onwards.\n\nYou can choose to define additional environment configurations in webpacker.yml,\n\n```yml\nstaging:\n  <<: *default\n\n  # Production depends on precompilation of packs prior to booting for performance.\n  compile: false\n\n  # Cache manifest.json for performance\n  cache_manifest: true\n\n  # Compile staging packs to a separate directory\n  public_output_path: packs-staging\n```\n\nor, Webpacker will use production environment as a fallback environment for loading configurations. Please note, `NODE_ENV` can either be set to `production`, `development` or `test`.\nThis means you don't need to create additional environment files inside `config/webpacker/*` and instead use webpacker.yml to load different configurations using `RAILS_ENV`.\n\nFor example, the below command will compile assets in production mode but will use staging configurations from `config/webpacker.yml` if available or use fallback production environment configuration:\n\n```bash\nRAILS_ENV=staging bundle exec rails assets:precompile\n```\n\nAnd, this will compile in development mode and load configuration for cucumber environment\nif defined in webpacker.yml or fallback to production configuration\n\n```bash\nRAILS_ENV=cucumber NODE_ENV=development bundle exec rails assets:precompile\n```\n\nPlease note, binstubs compiles in development mode however rake tasks\ncompiles in production mode.\n\n```bash\n# Compiles in development mode unless NODE_ENV is specified\n./bin/webpack\n./bin/webpack-dev-server\n\n# compiles in production mode by default unless NODE_ENV is specified\nbundle exec rails assets:precompile\nbundle exec rails webpacker:compile\n```\n\n### Upgrading\n\nYou can run following commands to upgrade Webpacker to the latest stable version. This process involves upgrading the gem and related JavaScript packages:\n\n```bash\nbundle update webpacker\nrails webpacker:install\nyarn upgrade @rails/webpacker --latest\nyarn upgrade webpack-dev-server --latest\n\n# Or to install the latest release (including pre-releases)\nyarn add @rails/webpacker@next\n```\n\n## Paths\n\nBy default, Webpacker ships with simple conventions for where the JavaScript\napp files and compiled webpack bundles will go in your Rails app.\nAll these options are configurable from `config/webpacker.yml` file.\n\nThe configuration for what webpack is supposed to compile by default rests\non the convention that every file in `app/javascript/packs/*`**(default)**\nor whatever path you set for `source_entry_path` in the `webpacker.yml` configuration\nis turned into their own output files (or entry points, as webpack calls it). Therefore you don't want to put anything inside `packs` directory that you do not want to be\nan entry file. As a rule of thumb, put all files you want to link in your views inside\n\"packs\" directory and keep everything else under `app/javascript`.\n\nSuppose you want to change the source directory from `app/javascript`\nto `frontend` and output to `assets/packs`. This is how you would do it:\n\n```yml\n# config/webpacker.yml\nsource_path: frontend\nsource_entry_path: packs\npublic_output_path: assets/packs # outputs to => public/assets/packs\n```\n\nSimilarly you can also control and configure `webpack-dev-server` settings from `config/webpacker.yml` file:\n\n```yml\n# config/webpacker.yml\ndevelopment:\n  dev_server:\n    host: localhost\n    port: 3035\n```\n\nIf you have `hmr` turned to true, then the `stylesheet_pack_tag` generates no output, as you will want to configure your styles to be inlined in your JavaScript for hot reloading. During production and testing, the `stylesheet_pack_tag` will create the appropriate HTML tags.\n\n### Additional paths\n\nIf you are adding Webpacker to an existing app that has most of the assets inside\n`app/assets` or inside an engine, and you want to share that\nwith webpack modules, you can use the `additional_paths`\noption available in `config/webpacker.yml`. This lets you\nadd additional paths that webpack should lookup when resolving modules:\n\n```yml\nadditional_paths: ['app/assets/**/*', 'vendor/assets/**/*.css', 'Gemfile']\n```\n\nYou can then import these items inside your modules like so:\n\n```js\n// Note it's relative to parent directory i.e. app/assets\nimport 'stylesheets/main'\nimport 'images/rails.png'\n```\n\n**Note:** Please be careful when adding paths here otherwise it\nwill make the compilation slow, consider adding specific paths instead of\nwhole parent directory if you just need to reference one or two modules\n\n## Deployment\n\nWebpacker hooks up a new `webpacker:compile` task to `assets:precompile`, which gets run whenever you run `assets:precompile`. If you are not using Sprockets, `webpacker:compile` is automatically aliased to `assets:precompile`. Similar to sprockets both rake tasks will compile packs in production mode but will use `RAILS_ENV` to load configuration from `config/webpacker.yml` (if available).\n\nWhen compiling assets for production on a remote server, such as a continuous integration environment, it's recommended to use `yarn install --frozen-lockfile` to install NPM packages on the remote host to ensure that the installed packages match the `yarn.lock` file.\n\n## Contributing\n\n[![Code Helpers](https://www.codetriage.com/rails/webpacker/badges/users.svg)](https://www.codetriage.com/rails/webpacker)\n\nWe encourage you to contribute to Webpacker! See [CONTRIBUTING](CONTRIBUTING.md) for guidelines about how to proceed.\n\n## License\n\nWebpacker is released under the [MIT License](https://opensource.org/licenses/MIT).\n","engines":{"node":">=10.22.1 || ^12 || >=14","yarn":">=1 <3"},"gitHead":"50997f5f6f32295882a6693dc68affa99acfbb1b","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.14.6","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"10.22.1","dependencies":{"glob":"^7.1.6","core-js":"^3.8.0","js-yaml":"^3.14.0","webpack":"^5.11.0","@babel/core":"^7.12.9","webpack-cli":"^4.2.0","babel-loader":"^8.2.2","webpack-merge":"^5.7.2","@babel/runtime":"^7.12.5","webpack-sources":"^2.2.0","@babel/preset-env":"^7.12.11","pnp-webpack-plugin":"^1.6.4","babel-plugin-macros":"^3.0.1","regenerator-runtime":"^0.13.7","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^5.0.3","webpack-assets-manifest":"^5.0.0","compression-webpack-plugin":"^7.1.0","@babel/plugin-transform-runtime":"^7.12.1","case-sensitive-paths-webpack-plugin":"^2.3.0","@babel/plugin-proposal-class-properties":"^7.12.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.5.3","eslint":"^7.16.0","eslint-plugin-react":"^7.21.4","eslint-config-airbnb":"^18.2.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.1.0","eslint-plugin-jsx-a11y":"^6.3.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_6.0.0-beta_1608734285907_0.5682793758113533","host":"s3://npm-registry-packages"}},"6.0.0-beta.1":{"name":"@rails/webpacker","version":"6.0.0-beta.1","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@6.0.0-beta.1","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"4534a09ff5e98536d6b4f81b8fa6facce705f7cf","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-6.0.0-beta.1.tgz","fileCount":34,"integrity":"sha512-VSC34qQVm8kvTJmiPNF4x+mYnWcNIP4mXqRv1H1s/AswU9dDMTQr6/QnLAGFWHxcNnQzLjELmOIrE8spay0Fag==","signatures":[{"sig":"MEYCIQCat/sDrPsCTpbQ5dOcJ3Io05y4gn/jW6H2rxyQEe0OugIhAIMRZVQEj9HBeG6QEjeO9gD9iU67v8KGlmzpC3tieDjZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83357,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf435DCRA9TVsSAnZWagAA9+AP/0QOixid0eWM/Ji0/k8x\n2DEaODXLq3/IylzwBNAppbcfUUWcLE9tKwmGeK6LrGdq0d/9f6NrEYDhncK9\n8wpKHEKjBY5VlmQg8rTwz/6QXuyDWJ/jE0W6vXHH2WnkQkS8cRx2bM6s3yRg\ns2NO40LWQuEvSpUfR1dUKPB1EUfolD84gkx82SGbcQyfvtSlbmo5nlwSp3iW\nDV7jj6KXjpgW+ViwUB23mMvcyfGd4KZNeuRF2u1he/gDek+n2F2ZaBQla/sg\n5Hz1Ssx3Ia6aodKL67spudhZ5uHqVdggcE4gkrV+jnwpEPjyO8x4uJ6zRHUR\ncTfCR79QzanHfIClKULKdO6dchp2hfyHIb5tgwHsQ224srLTzZqzqnoueNOF\nyEh4/p9libsmcMTFZ6W+eDHgDYHBUlIh8ItS9WIgDpEpZWLPordMEXrIZKX8\nNZcRqNmcdKbe2JnSZG89Q38xI7PZqhd5tashrpxgdLwkv4CfqSLQ8bplbEFS\nZAafugx8fdnGKwTmdwU4ybqiHSZRgYuESurA/iEzlNuCTlQJhdGXjgsXRAw9\n4M6TsD6HYmoWMqoiIYgx6JmwdmsRe6wY0M+6FXPvGtaGXFwolHBFohYGZBtW\nPvNiY4IF7tHeiFP7ZY8KbBr415ZGdQaAcS/5g0BBPN6UnX4iphXhxtfsKvnX\n9/8K\r\n=PRXn\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","readme":"# Webpacker\n\n[![Ruby specs](https://github.com/rails/webpacker/workflows/Ruby%20specs/badge.svg)](https://github.com/rails/webpacker/actions)\n[![Jest specs](https://github.com/rails/webpacker/workflows/Jest%20specs/badge.svg)](https://github.com/rails/webpacker/actions)\n[![Rubocop](https://github.com/rails/webpacker/workflows/Rubocop/badge.svg)](https://github.com/rails/webpacker/actions)\n[![JS lint](https://github.com/rails/webpacker/workflows/JS%20lint/badge.svg)](https://github.com/rails/webpacker/actions)\n\n[![node.js](https://img.shields.io/badge/node-%3E%3D%2010.17.0-brightgreen.svg)](https://www.npmjs.com/package/@rails/webpacker)\n[![Gem](https://img.shields.io/gem/v/webpacker.svg)](https://rubygems.org/gems/webpacker)\n\nWebpacker makes it easy to use the JavaScript pre-processor and bundler\n[webpack 5.x.x+](https://webpack.js.org/)\nto manage application-like JavaScript in Rails. It coexists with the asset pipeline,\nas the primary purpose for webpack is app-like JavaScript, not images, CSS, or\neven JavaScript Sprinkles (that all continues to live in app/assets).\n\nHowever, it is possible to use Webpacker for CSS, images and fonts assets as well,\nin which case you may not even need the asset pipeline. This is mostly relevant when exclusively using component-based JavaScript frameworks.\n\n**NOTE:** The master branch now hosts the code for v6.x.x. Please refer to [5-x-stable](https://github.com/rails/webpacker/tree/5-x-stable) branch for 5.x documentation.\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n- [Features](#features)\n- [Installation](#installation)\n  - [Usage](#usage)\n  - [Development](#development)\n  - [Webpack Configuration](#webpack-configuration)\n  - [Custom Rails environments](#custom-rails-environments)\n  - [Upgrading](#upgrading)\n- [Paths](#paths)\n  - [Resolved](#resolved)\n  - [Watched](#watched)\n- [Deployment](#deployment)\n- [Docs](#docs)\n- [Contributing](#contributing)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Prerequisites\n\n- Ruby 2.4+\n- Rails 5.2+\n- Node.js 10.22.1+ || 12+ || 14+\n- Yarn 1.x+\n\n## Features\n\n- [webpack 5.x.x](https://webpack.js.org/)\n- ES6 with [babel](https://babeljs.io/)\n- Automatic code splitting using multiple entry points\n- Asset compression, source-maps, and minification\n- CDN support\n- Rails view helpers\n- Extensible and configurable\n\n  ### Optional support\\*\n\n  _requires extra packages to be installed_\n\n  - Stylesheets - SASS, LESS and CSS, PostCSS\n  - Coffeescript\n  - Typescript\n  - React\n\n## Installation\n\nYou can either add Webpacker during setup of a new Rails 5.1+ application\nusing new `--webpack` option:\n\n```bash\n# Available Rails 5.1+\nrails new myapp --webpack\n```\n\nOr add it to your `Gemfile`:\n\n```ruby\n# Gemfile\ngem 'webpacker', '~> 6.x'\n\n# OR if you prefer to use master\ngem 'webpacker', git: 'https://github.com/rails/webpacker.git'\nyarn add https://github.com/rails/webpacker.git\n```\n\nFinally, run the following to install Webpacker:\n\n```bash\nbundle\nbundle exec rails webpacker:install\n\n# OR (on rails version < 5.0)\nbundle exec rake webpacker:install\n```\n\nOptional: To fix [\"unmet peer dependency\" warnings](https://github.com/rails/webpacker/issues/1078),\n\n```bash\nyarn upgrade\n```\n\nWhen `package.json` and/or `yarn.lock` changes, such as when pulling down changes to your local environment in a team settings, be sure to keep your NPM packages up-to-date:\n\n```bash\nyarn install\n```\n\n### Usage\n\nOnce installed, you can start writing modern ES6-flavored JavaScript apps right away:\n\n```yml\napp/javascript:\n  ├── packs:\n  │   # only webpack entry files here\n  │   └── application.js\n  │   └── application.css\n  └── src:\n  │   └── my_component.js\n  └── stylesheets:\n  │   └── my_styles.css\n  └── images:\n      └── logo.svg\n```\n\nYou can then link the JavaScript pack in Rails views using the `javascript_packs_with_chunks_tag` helper. If you have styles imported in your pack file, you can link them by using `stylesheet_packs_with_chunks_tag`:\n\n```erb\n<%= javascript_packs_with_chunks_tag 'application' %>\n<%= stylesheet_packs_with_chunks_tag 'application' %>\n```\n\nIf you want to link a static asset for `<link rel=\"prefetch\">` or `<img />` tag, you\ncan use the `asset_pack_path` helper:\n\n```erb\n<link rel=\"prefetch\" href=\"<%= asset_pack_path 'application.css' %>\" />\n<img src=\"<%= asset_pack_path 'images/logo.svg' %>\" />\n```\n\n**Note:** In order for your styles or static assets files to be available in your view,\nyou would need to link them in your \"pack\" or entry file.\n\n### Development\n\nWebpacker ships with two binstubs: `./bin/webpack` and `./bin/webpack-dev-server`.\nBoth are thin wrappers around the standard `webpack.js` and `webpack-dev-server.js`\nexecutables to ensure that the right configuration files and environmental variables\nare loaded based on your environment.\n\nIn development, Webpacker compiles on demand rather than upfront by default. This\nhappens when you refer to any of the pack assets using the Webpacker helper methods.\nThis means that you don't have to run any separate processes. Compilation errors are logged\nto the standard Rails log.\n\nIf you want to use live code reloading, or you have enough JavaScript that on-demand compilation is too slow, you'll need to run `./bin/webpack-dev-server` or `ruby ./bin/webpack-dev-server`. Windows users will need to run these commands\nin a terminal separate from `bundle exec rails s`. This process will watch for changes\nin the `app/javascript/packs/*.js` files and automatically reload the browser to match.\n\n```bash\n# webpack dev server\n./bin/webpack-dev-server\n\n# watcher\n./bin/webpack --watch --colors --progress\n\n# standalone build\n./bin/webpack\n```\n\nOnce you start this development server, Webpacker will automatically start proxying all\nwebpack asset requests to this server. When you stop the server, it'll revert back to\non-demand compilation.\n\nYou can use environment variables as options supported by\n[webpack-dev-server](https://webpack.js.org/configuration/dev-server/) in the\nform `WEBPACKER_DEV_SERVER_<OPTION>`. Please note that these environmental\nvariables will always take precedence over the ones already set in the\nconfiguration file, and that the _same_ environmental variables must\nbe available to the `rails server` process.\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=example.com WEBPACKER_DEV_SERVER_INLINE=true WEBPACKER_DEV_SERVER_HOT=false ./bin/webpack-dev-server\n```\n\nBy default, the webpack dev server listens on `localhost` in development for security purposes.\nHowever, if you want your app to be available over local LAN IP or a VM instance like vagrant,\nyou can set the `host` when running `./bin/webpack-dev-server` binstub:\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=0.0.0.0 ./bin/webpack-dev-server\n```\n\n**Note:** You need to allow webpack-dev-server host as an allowed origin for `connect-src` if you are running your application in a restrict CSP environment (like Rails 5.2+). This can be done in Rails 5.2+ in the CSP initializer `config/initializers/content_security_policy.rb` with a snippet like this:\n\n```ruby\n  Rails.application.config.content_security_policy do |policy|\n    policy.connect_src :self, :https, 'http://localhost:3035', 'ws://localhost:3035' if Rails.env.development?\n  end\n```\n\n**Note:** Don't forget to prefix `ruby` when running these binstubs on Windows\n\n### Webpack Configuration\n\nWebpacker gives you a default set of configuration files for test, development and\nproduction environments in `config/webpack/*.js`. You can configure each individual\nenvironment in their respective files or configure them all in the base\n`config/webpack/environment.js` file.\n\nBy default, you don't need to make any changes to `config/webpack/*.js`\nfiles since it's all standard production-ready configuration. However,\nif you do need to customize or add a new loader, this is where you would go.\n\nHere is how you can modify webpack configuration:\n\nYou might add separate files to keep your code more organized.\n\n```js\n// config/webpack/custom.js\nmodule.exports = {\n  resolve: {\n    alias: {\n      jquery: 'jquery/src/jquery',\n      vue: 'vue/dist/vue.js',\n      React: 'react',\n      ReactDOM: 'react-dom',\n      vue_resource: 'vue-resource/dist/vue-resource'\n    }\n  }\n}\n```\n\nThen `require` this file in your `config/webpack/base.js`:\n\n```js\n// config/webpack/base.js\nconst { webpackConfig, merge } = require('@rails/webpacker')\nconst customConfig = require('./custom')\n\nmodule.exports = merge(webpackConfig, customConfig)\n```\n\nIf you need access to configs within Webpacker's configuration,\nyou can import them like so:\n\n```js\n// config/webpack/base.js\nconst { webpackConfig } = require('@rails/webpacker')\n\nconsole.log(webpackConfig.output_path)\nconsole.log(webpackConfig.source_path)\n```\n\n### Integrations\n\nWebpacker out of the box supports JS and static assets (fonts, images etc.)\ncompilation. To enable support for Coffeescript or Typescript install\nrelevant packages,\n\n**Coffeescript**\n\n```\nyarn add coffeescript coffee-loader\n```\n\n**Typescript**\n\n```\nyarn add typescript @babel/preset-typescript\n```\n\nAdd tsconfig.json\n\n```json\n{\n  \"compilerOptions\": {\n    \"declaration\": false,\n    \"emitDecoratorMetadata\": true,\n    \"experimentalDecorators\": true,\n    \"lib\": [\"es6\", \"dom\"],\n    \"module\": \"es6\",\n    \"moduleResolution\": \"node\",\n    \"baseUrl\": \".\",\n    \"paths\": {\n      \"*\": [\"node_modules/*\", \"app/javascript/*\"]\n    },\n    \"sourceMap\": true,\n    \"target\": \"es5\",\n    \"noEmit\": true\n  },\n  \"exclude\": [\"**/*.spec.ts\", \"node_modules\", \"vendor\", \"public\"],\n  \"compileOnSave\": false\n}\n```\n\n#### CSS\n\nTo enable CSS support in your application, add following packages,\n\n```\nyarn add css-loader mini-css-extract-plugin css-minimizer-webpack-plugin\n```\n\noptionally, add css extension to webpack config for easy resolution\n\n```js\n// config/webpack/base.js\nconst { webpackConfig, merge } = require('@rails/webpacker')\nconst customConfig = {\n  resolve: {\n    extensions: ['.css']\n  }\n}\n\nmodule.exports = merge(webpackConfig, customConfig)\n```\n\nTo enable postcss, sass or less support, add css support first and\nthen add the relevant pre-processors:\n\n#### Postcss\n\n```\nyarn add postcss-loader\n```\n\n#### Sass\n\n```\nyarn add sass-loader\n```\n\n#### Less\n\n```\nyarn add less-loader\n```\n\n#### React\n\nReact is supported and you just need to add relevant packages,\n\n```\nyarn add react react-dom @babel/preset-react\n```\n\nif you are using typescript, update your `tsconfig.json`\n\n```json\n{\n  \"compilerOptions\": {\n    \"declaration\": false,\n    \"emitDecoratorMetadata\": true,\n    \"experimentalDecorators\": true,\n    \"lib\": [\"es6\", \"dom\"],\n    \"module\": \"es6\",\n    \"moduleResolution\": \"node\",\n    \"sourceMap\": true,\n    \"target\": \"es5\",\n    \"jsx\": \"react\",\n    \"noEmit\": true\n  },\n  \"exclude\": [\"**/*.spec.ts\", \"node_modules\", \"vendor\", \"public\"],\n  \"compileOnSave\": false\n}\n```\n\n#### Other frameworks\n\nPlease follow webpack integration guide for relevant framework or library,\n\n1. Svelte - https://github.com/sveltejs/svelte-loader#install\n2. Angular - https://v2.angular.io/docs/ts/latest/guide/webpack.html#!#configure-webpack\n3. Vue - https://vue-loader.vuejs.org/guide/\n\nFor example to add Vue support,\n\n```js\n// config/webpack/rules/vue.js\nconst VueLoaderPlugin = require('vue-loader/lib/plugin')\n\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: /\\.vue$/,\n        loader: 'vue-loader'\n      }\n    ]\n  },\n  plugins: [new VueLoaderPlugin()]\n}\n\n// config/webpack/base.js\nconst { webpackConfig, merge } = require('@rails/webpacker')\nconst vueConfig = require('./rules/vue')\n\nmodule.exports = merge(webpackConfig, vueConfig)\n```\n\n### Custom Rails environments\n\nOut of the box Webpacker ships with - development, test and production environments in `config/webpacker.yml` however, in most production apps extra environments are needed as part of deployment workflow. Webpacker supports this out of the box from version 3.4.0+ onwards.\n\nYou can choose to define additional environment configurations in webpacker.yml,\n\n```yml\nstaging:\n  <<: *default\n\n  # Production depends on precompilation of packs prior to booting for performance.\n  compile: false\n\n  # Cache manifest.json for performance\n  cache_manifest: true\n\n  # Compile staging packs to a separate directory\n  public_output_path: packs-staging\n```\n\nor, Webpacker will use production environment as a fallback environment for loading configurations. Please note, `NODE_ENV` can either be set to `production`, `development` or `test`.\nThis means you don't need to create additional environment files inside `config/webpacker/*` and instead use webpacker.yml to load different configurations using `RAILS_ENV`.\n\nFor example, the below command will compile assets in production mode but will use staging configurations from `config/webpacker.yml` if available or use fallback production environment configuration:\n\n```bash\nRAILS_ENV=staging bundle exec rails assets:precompile\n```\n\nAnd, this will compile in development mode and load configuration for cucumber environment\nif defined in webpacker.yml or fallback to production configuration\n\n```bash\nRAILS_ENV=cucumber NODE_ENV=development bundle exec rails assets:precompile\n```\n\nPlease note, binstubs compiles in development mode however rake tasks\ncompiles in production mode.\n\n```bash\n# Compiles in development mode unless NODE_ENV is specified\n./bin/webpack\n./bin/webpack-dev-server\n\n# compiles in production mode by default unless NODE_ENV is specified\nbundle exec rails assets:precompile\nbundle exec rails webpacker:compile\n```\n\n### Upgrading\n\nYou can run following commands to upgrade Webpacker to the latest stable version. This process involves upgrading the gem and related JavaScript packages:\n\n```bash\nbundle update webpacker\nrails webpacker:install\nyarn upgrade @rails/webpacker --latest\nyarn upgrade webpack-dev-server --latest\n\n# Or to install the latest release (including pre-releases)\nyarn add @rails/webpacker@next\n```\n\n## Paths\n\nBy default, Webpacker ships with simple conventions for where the JavaScript\napp files and compiled webpack bundles will go in your Rails app.\nAll these options are configurable from `config/webpacker.yml` file.\n\nThe configuration for what webpack is supposed to compile by default rests\non the convention that every file in `app/javascript/packs/*`**(default)**\nor whatever path you set for `source_entry_path` in the `webpacker.yml` configuration\nis turned into their own output files (or entry points, as webpack calls it). Therefore you don't want to put anything inside `packs` directory that you do not want to be\nan entry file. As a rule of thumb, put all files you want to link in your views inside\n\"packs\" directory and keep everything else under `app/javascript`.\n\nSuppose you want to change the source directory from `app/javascript`\nto `frontend` and output to `assets/packs`. This is how you would do it:\n\n```yml\n# config/webpacker.yml\nsource_path: frontend\nsource_entry_path: packs\npublic_output_path: assets/packs # outputs to => public/assets/packs\n```\n\nSimilarly you can also control and configure `webpack-dev-server` settings from `config/webpacker.yml` file:\n\n```yml\n# config/webpacker.yml\ndevelopment:\n  dev_server:\n    host: localhost\n    port: 3035\n```\n\nIf you have `hmr` turned to true, then the `stylesheet_pack_tag` generates no output, as you will want to configure your styles to be inlined in your JavaScript for hot reloading. During production and testing, the `stylesheet_pack_tag` will create the appropriate HTML tags.\n\n### Additional paths\n\nIf you are adding Webpacker to an existing app that has most of the assets inside\n`app/assets` or inside an engine, and you want to share that\nwith webpack modules, you can use the `additional_paths`\noption available in `config/webpacker.yml`. This lets you\nadd additional paths that webpack should lookup when resolving modules:\n\n```yml\nadditional_paths: ['app/assets/**/*', 'vendor/assets/**/*.css', 'Gemfile']\n```\n\nYou can then import these items inside your modules like so:\n\n```js\n// Note it's relative to parent directory i.e. app/assets\nimport 'stylesheets/main'\nimport 'images/rails.png'\n```\n\n**Note:** Please be careful when adding paths here otherwise it\nwill make the compilation slow, consider adding specific paths instead of\nwhole parent directory if you just need to reference one or two modules\n\n## Deployment\n\nWebpacker hooks up a new `webpacker:compile` task to `assets:precompile`, which gets run whenever you run `assets:precompile`. If you are not using Sprockets, `webpacker:compile` is automatically aliased to `assets:precompile`. Similar to sprockets both rake tasks will compile packs in production mode but will use `RAILS_ENV` to load configuration from `config/webpacker.yml` (if available).\n\nWhen compiling assets for production on a remote server, such as a continuous integration environment, it's recommended to use `yarn install --frozen-lockfile` to install NPM packages on the remote host to ensure that the installed packages match the `yarn.lock` file.\n\n## Contributing\n\n[![Code Helpers](https://www.codetriage.com/rails/webpacker/badges/users.svg)](https://www.codetriage.com/rails/webpacker)\n\nWe encourage you to contribute to Webpacker! See [CONTRIBUTING](CONTRIBUTING.md) for guidelines about how to proceed.\n\n## License\n\nWebpacker is released under the [MIT License](https://opensource.org/licenses/MIT).\n","engines":{"node":">=10.22.1 || ^12 || >=14","yarn":">=1 <3"},"gitHead":"7a403bf7e8810c7058abdca36b9ac83d6c8b70e8","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.14.6","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"10.22.1","dependencies":{"glob":"^7.1.6","core-js":"^3.8.0","js-yaml":"^3.14.0","webpack":"^5.11.0","@babel/core":"^7.12.9","webpack-cli":"^4.2.0","babel-loader":"^8.2.2","webpack-merge":"^5.7.2","@babel/runtime":"^7.12.5","webpack-sources":"^2.2.0","@babel/preset-env":"^7.12.11","pnp-webpack-plugin":"^1.6.4","babel-plugin-macros":"^3.0.1","regenerator-runtime":"^0.13.7","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^5.0.3","webpack-assets-manifest":"^5.0.0","compression-webpack-plugin":"^7.1.0","@babel/plugin-transform-runtime":"^7.12.1","case-sensitive-paths-webpack-plugin":"^2.3.0","@babel/plugin-proposal-class-properties":"^7.12.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.5.3","eslint":"^7.16.0","eslint-plugin-react":"^7.21.4","eslint-config-airbnb":"^18.2.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.1.0","eslint-plugin-jsx-a11y":"^6.3.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_6.0.0-beta.1_1608744514582_0.3136408891331308","host":"s3://npm-registry-packages"}},"6.0.0-beta.2":{"name":"@rails/webpacker","version":"6.0.0-beta.2","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@6.0.0-beta.2","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"8b090b1d2fc39b677630b97758a225c97c9bddae","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-6.0.0-beta.2.tgz","fileCount":34,"integrity":"sha512-4y4PtrvDHfwF9z8LatwU58TmsJSfBaxR+3Vs95yOldoWURIOIOI/rXKnlisbJ/mVVsNceBy4an0FHInPDEjpbA==","signatures":[{"sig":"MEYCIQDJN1LhP3puXSbpJRKXGlpY5B3+PM8oU0nT7z3rjmyiVAIhAJAYWhH/f5m9Ub1qfFRRA5rT/8cdNXqYywhicV2yA91Y","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83631,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf5GSoCRA9TVsSAnZWagAAamsP/10qJDZB7NfidBaatdTb\nHW0xynBhZS3Qf4IPMa+DsbKuOdkg2lvx38Xrh1cDSieloF9er5yGo6OH8cs6\nmkKF34mghIIPbKut+WtEWS+oqasHoj9hPhCjTkrU50Wsy7WubNwy4kUKE/zg\n3WOmgKP+9OQfpvEET8po3ZD46eSboV38sdLcSRpzELJgu1CNoKOdAtDCJZZg\nnliW2SS46/xCUa1mdCea536clZKFy0HuA+rgphrkGWXcvPcBhtTzKUxqmK69\n69nTMwnISMNg2MvfUj0NPS4DncUCNqjV2MjjOQp9oUhkKeL611yHAp/kHsoJ\nGHORg1V0dtr9uSGX9KvdIrvPkWksaa32OVHJM0+be0an63hoEXNRBIVkjQ53\n5jqjCaf7t/8pua2y8uKGEAlPIigHPdwBfbqPP6s3GrU8qnhbzM/5kfBLk+fj\ne5/UP/0CDRSV0c0Gtr8PmLevrou84kwlp2CoG75SA1/cTh92hZCjlCCOp4kO\nnO1JMhmaqI0B5/h3KyCGNZ5D0Hp4+vj2D8xnqPZomaZEEJLDxguWzFlaFlGz\nRFKgwNWb8BUBytWP7C36OI1vz81ISSYOqSbLPhmGjHHn97P4zEFy25tYkLoW\nz6yJxCwJsG0md0aWfoqiLKwDqTYbAeilQrpmi7s2V40hbo0AEaFfhwi1raJH\nSxdO\r\n=7u58\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","readme":"# Webpacker\n\n[![Ruby specs](https://github.com/rails/webpacker/workflows/Ruby%20specs/badge.svg)](https://github.com/rails/webpacker/actions)\n[![Jest specs](https://github.com/rails/webpacker/workflows/Jest%20specs/badge.svg)](https://github.com/rails/webpacker/actions)\n[![Rubocop](https://github.com/rails/webpacker/workflows/Rubocop/badge.svg)](https://github.com/rails/webpacker/actions)\n[![JS lint](https://github.com/rails/webpacker/workflows/JS%20lint/badge.svg)](https://github.com/rails/webpacker/actions)\n\n[![node.js](https://img.shields.io/badge/node-%3E%3D%2010.17.0-brightgreen.svg)](https://www.npmjs.com/package/@rails/webpacker)\n[![Gem](https://img.shields.io/gem/v/webpacker.svg)](https://rubygems.org/gems/webpacker)\n\nWebpacker makes it easy to use the JavaScript pre-processor and bundler\n[webpack 5.x.x+](https://webpack.js.org/)\nto manage application-like JavaScript in Rails. It coexists with the asset pipeline,\nas the primary purpose for webpack is app-like JavaScript, not images, CSS, or\neven JavaScript Sprinkles (that all continues to live in app/assets).\n\nHowever, it is possible to use Webpacker for CSS, images and fonts assets as well,\nin which case you may not even need the asset pipeline. This is mostly relevant when exclusively using component-based JavaScript frameworks.\n\n**NOTE:** The master branch now hosts the code for v6.x.x. Please refer to [5-x-stable](https://github.com/rails/webpacker/tree/5-x-stable) branch for 5.x documentation.\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n- [Features](#features)\n- [Installation](#installation)\n  - [Usage](#usage)\n  - [Development](#development)\n  - [Webpack Configuration](#webpack-configuration)\n  - [Custom Rails environments](#custom-rails-environments)\n  - [Upgrading](#upgrading)\n- [Paths](#paths)\n  - [Resolved](#resolved)\n  - [Watched](#watched)\n- [Deployment](#deployment)\n- [Docs](#docs)\n- [Contributing](#contributing)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Prerequisites\n\n- Ruby 2.4+\n- Rails 5.2+\n- Node.js 10.22.1+ || 12+ || 14+\n- Yarn 1.x+\n\n## Features\n\n- [webpack 5.x.x](https://webpack.js.org/)\n- ES6 with [babel](https://babeljs.io/)\n- Automatic code splitting using multiple entry points\n- Asset compression, source-maps, and minification\n- CDN support\n- Rails view helpers\n- Extensible and configurable\n\n  ### Optional support\\*\n\n  _requires extra packages to be installed_\n\n  - Stylesheets - SASS, LESS and CSS, PostCSS\n  - Coffeescript\n  - Typescript\n  - React\n\n## Installation\n\nYou can either add Webpacker during setup of a new Rails 5.1+ application\nusing new `--webpack` option:\n\n```bash\n# Available Rails 5.1+\nrails new myapp --webpack\n```\n\nOr add it to your `Gemfile`:\n\n```ruby\n# Gemfile\ngem 'webpacker', '~> 6.x'\n\n# OR if you prefer to use master\ngem 'webpacker', git: 'https://github.com/rails/webpacker.git'\nyarn add https://github.com/rails/webpacker.git\n```\n\nFinally, run the following to install Webpacker:\n\n```bash\nbundle\nbundle exec rails webpacker:install\n\n# OR (on rails version < 5.0)\nbundle exec rake webpacker:install\n```\n\nOptional: To fix [\"unmet peer dependency\" warnings](https://github.com/rails/webpacker/issues/1078),\n\n```bash\nyarn upgrade\n```\n\nWhen `package.json` and/or `yarn.lock` changes, such as when pulling down changes to your local environment in a team settings, be sure to keep your NPM packages up-to-date:\n\n```bash\nyarn install\n```\n\n### Usage\n\nOnce installed, you can start writing modern ES6-flavored JavaScript apps right away:\n\n```yml\napp/javascript:\n  ├── packs:\n  │   # only webpack entry files here\n  │   └── application.js\n  │   └── application.css\n  └── src:\n  │   └── my_component.js\n  └── stylesheets:\n  │   └── my_styles.css\n  └── images:\n      └── logo.svg\n```\n\nYou can then link the JavaScript pack in Rails views using the `javascript_packs_with_chunks_tag` helper. If you have styles imported in your pack file, you can link them by using `stylesheet_packs_with_chunks_tag`:\n\n```erb\n<%= javascript_packs_with_chunks_tag 'application' %>\n<%= stylesheet_packs_with_chunks_tag 'application' %>\n```\n\nIf you want to link a static asset for `<link rel=\"prefetch\">` or `<img />` tag, you\ncan use the `asset_pack_path` helper:\n\n```erb\n<link rel=\"prefetch\" href=\"<%= asset_pack_path 'application.css' %>\" />\n<img src=\"<%= asset_pack_path 'images/logo.svg' %>\" />\n```\n\n**Note:** In order for your styles or static assets files to be available in your view,\nyou would need to link them in your \"pack\" or entry file.\n\n### Development\n\nWebpacker ships with two binstubs: `./bin/webpack` and `./bin/webpack-dev-server`.\nBoth are thin wrappers around the standard `webpack.js` and `webpack-dev-server.js`\nexecutables to ensure that the right configuration files and environmental variables\nare loaded based on your environment.\n\nIn development, Webpacker compiles on demand rather than upfront by default. This\nhappens when you refer to any of the pack assets using the Webpacker helper methods.\nThis means that you don't have to run any separate processes. Compilation errors are logged\nto the standard Rails log.\n\nIf you want to use live code reloading, or you have enough JavaScript that on-demand compilation is too slow, you'll need to run `./bin/webpack-dev-server` or `ruby ./bin/webpack-dev-server`. Windows users will need to run these commands\nin a terminal separate from `bundle exec rails s`. This process will watch for changes\nin the `app/javascript/packs/*.js` files and automatically reload the browser to match.\n\n```bash\n# webpack dev server\n./bin/webpack-dev-server\n\n# watcher\n./bin/webpack --watch --colors --progress\n\n# standalone build\n./bin/webpack\n```\n\nOnce you start this development server, Webpacker will automatically start proxying all\nwebpack asset requests to this server. When you stop the server, it'll revert back to\non-demand compilation.\n\nYou can use environment variables as options supported by\n[webpack-dev-server](https://webpack.js.org/configuration/dev-server/) in the\nform `WEBPACKER_DEV_SERVER_<OPTION>`. Please note that these environmental\nvariables will always take precedence over the ones already set in the\nconfiguration file, and that the _same_ environmental variables must\nbe available to the `rails server` process.\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=example.com WEBPACKER_DEV_SERVER_INLINE=true WEBPACKER_DEV_SERVER_HOT=false ./bin/webpack-dev-server\n```\n\nBy default, the webpack dev server listens on `localhost` in development for security purposes.\nHowever, if you want your app to be available over local LAN IP or a VM instance like vagrant,\nyou can set the `host` when running `./bin/webpack-dev-server` binstub:\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=0.0.0.0 ./bin/webpack-dev-server\n```\n\n**Note:** You need to allow webpack-dev-server host as an allowed origin for `connect-src` if you are running your application in a restrict CSP environment (like Rails 5.2+). This can be done in Rails 5.2+ in the CSP initializer `config/initializers/content_security_policy.rb` with a snippet like this:\n\n```ruby\n  Rails.application.config.content_security_policy do |policy|\n    policy.connect_src :self, :https, 'http://localhost:3035', 'ws://localhost:3035' if Rails.env.development?\n  end\n```\n\n**Note:** Don't forget to prefix `ruby` when running these binstubs on Windows\n\n### Webpack Configuration\n\nWebpacker gives you a default set of configuration files for test, development and\nproduction environments in `config/webpack/*.js`. You can configure each individual\nenvironment in their respective files or configure them all in the base\n`config/webpack/environment.js` file.\n\nBy default, you don't need to make any changes to `config/webpack/*.js`\nfiles since it's all standard production-ready configuration. However,\nif you do need to customize or add a new loader, this is where you would go.\n\nHere is how you can modify webpack configuration:\n\nYou might add separate files to keep your code more organized.\n\n```js\n// config/webpack/custom.js\nmodule.exports = {\n  resolve: {\n    alias: {\n      jquery: 'jquery/src/jquery',\n      vue: 'vue/dist/vue.js',\n      React: 'react',\n      ReactDOM: 'react-dom',\n      vue_resource: 'vue-resource/dist/vue-resource'\n    }\n  }\n}\n```\n\nThen `require` this file in your `config/webpack/base.js`:\n\n```js\n// config/webpack/base.js\nconst { webpackConfig, merge } = require('@rails/webpacker')\nconst customConfig = require('./custom')\n\nmodule.exports = merge(webpackConfig, customConfig)\n```\n\nIf you need access to configs within Webpacker's configuration,\nyou can import them like so:\n\n```js\n// config/webpack/base.js\nconst { webpackConfig } = require('@rails/webpacker')\n\nconsole.log(webpackConfig.output_path)\nconsole.log(webpackConfig.source_path)\n```\n\n### Integrations\n\nWebpacker out of the box supports JS and static assets (fonts, images etc.)\ncompilation. To enable support for Coffeescript or Typescript install\nrelevant packages,\n\n**Coffeescript**\n\n```\nyarn add coffeescript coffee-loader\n```\n\n**Typescript**\n\n```\nyarn add typescript @babel/preset-typescript\n```\n\nAdd tsconfig.json\n\n```json\n{\n  \"compilerOptions\": {\n    \"declaration\": false,\n    \"emitDecoratorMetadata\": true,\n    \"experimentalDecorators\": true,\n    \"lib\": [\"es6\", \"dom\"],\n    \"module\": \"es6\",\n    \"moduleResolution\": \"node\",\n    \"baseUrl\": \".\",\n    \"paths\": {\n      \"*\": [\"node_modules/*\", \"app/javascript/*\"]\n    },\n    \"sourceMap\": true,\n    \"target\": \"es5\",\n    \"noEmit\": true\n  },\n  \"exclude\": [\"**/*.spec.ts\", \"node_modules\", \"vendor\", \"public\"],\n  \"compileOnSave\": false\n}\n```\n\n#### CSS\n\nTo enable CSS support in your application, add following packages,\n\n```\nyarn add css-loader mini-css-extract-plugin css-minimizer-webpack-plugin\n```\n\noptionally, add css extension to webpack config for easy resolution\n\n```js\n// config/webpack/base.js\nconst { webpackConfig, merge } = require('@rails/webpacker')\nconst customConfig = {\n  resolve: {\n    extensions: ['.css']\n  }\n}\n\nmodule.exports = merge(webpackConfig, customConfig)\n```\n\nTo enable postcss, sass or less support, add css support first and\nthen add the relevant pre-processors:\n\n#### Postcss\n\n```\nyarn add postcss-loader\n```\n\n#### Sass\n\n```\nyarn add sass sass-loader\n```\n\n#### Less\n\n```\nyarn add less less-loader\n```\n\n#### Less\n\n```\nyarn add stylus stylus-loader\n```\n\n#### React\n\nReact is supported and you just need to add relevant packages,\n\n```\nyarn add react react-dom @babel/preset-react\n```\n\nif you are using typescript, update your `tsconfig.json`\n\n```json\n{\n  \"compilerOptions\": {\n    \"declaration\": false,\n    \"emitDecoratorMetadata\": true,\n    \"experimentalDecorators\": true,\n    \"lib\": [\"es6\", \"dom\"],\n    \"module\": \"es6\",\n    \"moduleResolution\": \"node\",\n    \"sourceMap\": true,\n    \"target\": \"es5\",\n    \"jsx\": \"react\",\n    \"noEmit\": true\n  },\n  \"exclude\": [\"**/*.spec.ts\", \"node_modules\", \"vendor\", \"public\"],\n  \"compileOnSave\": false\n}\n```\n\n#### Other frameworks\n\nPlease follow webpack integration guide for relevant framework or library,\n\n1. Svelte - https://github.com/sveltejs/svelte-loader#install\n2. Angular - https://v2.angular.io/docs/ts/latest/guide/webpack.html#!#configure-webpack\n3. Vue - https://vue-loader.vuejs.org/guide/\n\nFor example to add Vue support,\n\n```js\n// config/webpack/rules/vue.js\nconst VueLoaderPlugin = require('vue-loader/lib/plugin')\n\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: /\\.vue$/,\n        loader: 'vue-loader'\n      }\n    ]\n  },\n  plugins: [new VueLoaderPlugin()]\n}\n\n// config/webpack/base.js\nconst { webpackConfig, merge } = require('@rails/webpacker')\nconst vueConfig = require('./rules/vue')\n\nmodule.exports = merge(webpackConfig, vueConfig)\n```\n\n### Custom Rails environments\n\nOut of the box Webpacker ships with - development, test and production environments in `config/webpacker.yml` however, in most production apps extra environments are needed as part of deployment workflow. Webpacker supports this out of the box from version 3.4.0+ onwards.\n\nYou can choose to define additional environment configurations in webpacker.yml,\n\n```yml\nstaging:\n  <<: *default\n\n  # Production depends on precompilation of packs prior to booting for performance.\n  compile: false\n\n  # Cache manifest.json for performance\n  cache_manifest: true\n\n  # Compile staging packs to a separate directory\n  public_output_path: packs-staging\n```\n\nor, Webpacker will use production environment as a fallback environment for loading configurations. Please note, `NODE_ENV` can either be set to `production`, `development` or `test`.\nThis means you don't need to create additional environment files inside `config/webpacker/*` and instead use webpacker.yml to load different configurations using `RAILS_ENV`.\n\nFor example, the below command will compile assets in production mode but will use staging configurations from `config/webpacker.yml` if available or use fallback production environment configuration:\n\n```bash\nRAILS_ENV=staging bundle exec rails assets:precompile\n```\n\nAnd, this will compile in development mode and load configuration for cucumber environment\nif defined in webpacker.yml or fallback to production configuration\n\n```bash\nRAILS_ENV=cucumber NODE_ENV=development bundle exec rails assets:precompile\n```\n\nPlease note, binstubs compiles in development mode however rake tasks\ncompiles in production mode.\n\n```bash\n# Compiles in development mode unless NODE_ENV is specified\n./bin/webpack\n./bin/webpack-dev-server\n\n# compiles in production mode by default unless NODE_ENV is specified\nbundle exec rails assets:precompile\nbundle exec rails webpacker:compile\n```\n\n### Upgrading\n\nYou can run following commands to upgrade Webpacker to the latest stable version. This process involves upgrading the gem and related JavaScript packages:\n\n```bash\nbundle update webpacker\nrails webpacker:install\nyarn upgrade @rails/webpacker --latest\nyarn upgrade webpack-dev-server --latest\n\n# Or to install the latest release (including pre-releases)\nyarn add @rails/webpacker@next\n```\n\n## Paths\n\nBy default, Webpacker ships with simple conventions for where the JavaScript\napp files and compiled webpack bundles will go in your Rails app.\nAll these options are configurable from `config/webpacker.yml` file.\n\nThe configuration for what webpack is supposed to compile by default rests\non the convention that every file in `app/javascript/packs/*`**(default)**\nor whatever path you set for `source_entry_path` in the `webpacker.yml` configuration\nis turned into their own output files (or entry points, as webpack calls it). Therefore you don't want to put anything inside `packs` directory that you do not want to be\nan entry file. As a rule of thumb, put all files you want to link in your views inside\n\"packs\" directory and keep everything else under `app/javascript`.\n\nSuppose you want to change the source directory from `app/javascript`\nto `frontend` and output to `assets/packs`. This is how you would do it:\n\n```yml\n# config/webpacker.yml\nsource_path: frontend\nsource_entry_path: packs\npublic_output_path: assets/packs # outputs to => public/assets/packs\n```\n\nSimilarly you can also control and configure `webpack-dev-server` settings from `config/webpacker.yml` file:\n\n```yml\n# config/webpacker.yml\ndevelopment:\n  dev_server:\n    host: localhost\n    port: 3035\n```\n\nIf you have `hmr` turned to true, then the `stylesheet_pack_tag` generates no output, as you will want to configure your styles to be inlined in your JavaScript for hot reloading. During production and testing, the `stylesheet_pack_tag` will create the appropriate HTML tags.\n\n### Additional paths\n\nIf you are adding Webpacker to an existing app that has most of the assets inside\n`app/assets` or inside an engine, and you want to share that\nwith webpack modules, you can use the `additional_paths`\noption available in `config/webpacker.yml`. This lets you\nadd additional paths that webpack should lookup when resolving modules:\n\n```yml\nadditional_paths: ['app/assets/**/*', 'vendor/assets/**/*.css', 'Gemfile']\n```\n\nYou can then import these items inside your modules like so:\n\n```js\n// Note it's relative to parent directory i.e. app/assets\nimport 'stylesheets/main'\nimport 'images/rails.png'\n```\n\n**Note:** Please be careful when adding paths here otherwise it\nwill make the compilation slow, consider adding specific paths instead of\nwhole parent directory if you just need to reference one or two modules\n\n## Deployment\n\nWebpacker hooks up a new `webpacker:compile` task to `assets:precompile`, which gets run whenever you run `assets:precompile`. If you are not using Sprockets, `webpacker:compile` is automatically aliased to `assets:precompile`. Similar to sprockets both rake tasks will compile packs in production mode but will use `RAILS_ENV` to load configuration from `config/webpacker.yml` (if available).\n\nWhen compiling assets for production on a remote server, such as a continuous integration environment, it's recommended to use `yarn install --frozen-lockfile` to install NPM packages on the remote host to ensure that the installed packages match the `yarn.lock` file.\n\n## Contributing\n\n[![Code Helpers](https://www.codetriage.com/rails/webpacker/badges/users.svg)](https://www.codetriage.com/rails/webpacker)\n\nWe encourage you to contribute to Webpacker! See [CONTRIBUTING](CONTRIBUTING.md) for guidelines about how to proceed.\n\n## License\n\nWebpacker is released under the [MIT License](https://opensource.org/licenses/MIT).\n","engines":{"node":">=10.22.1 || ^12 || >=14","yarn":">=1 <3"},"gitHead":"b03eddf02bbda6d7ff044c2d830b94eeaa3e992d","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.14.6","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"10.22.1","dependencies":{"glob":"^7.1.6","core-js":"^3.8.0","js-yaml":"^3.14.0","webpack":"^5.11.0","@babel/core":"^7.12.9","webpack-cli":"^4.2.0","babel-loader":"^8.2.2","webpack-merge":"^5.7.2","@babel/runtime":"^7.12.5","webpack-sources":"^2.2.0","@babel/preset-env":"^7.12.11","pnp-webpack-plugin":"^1.6.4","babel-plugin-macros":"^3.0.1","regenerator-runtime":"^0.13.7","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^5.0.3","webpack-assets-manifest":"^5.0.0","compression-webpack-plugin":"^7.1.0","@babel/plugin-transform-runtime":"^7.12.1","case-sensitive-paths-webpack-plugin":"^2.3.0","@babel/plugin-proposal-class-properties":"^7.12.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.5.3","eslint":"^7.16.0","eslint-plugin-react":"^7.21.4","eslint-config-airbnb":"^18.2.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.1.0","eslint-plugin-jsx-a11y":"^6.3.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_6.0.0-beta.2_1608803496370_0.49976992708723933","host":"s3://npm-registry-packages"}},"6.0.0-beta.3":{"name":"@rails/webpacker","version":"6.0.0-beta.3","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@6.0.0-beta.3","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"7c6b767878c1100a956d449725bdd7d161ab53db","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-6.0.0-beta.3.tgz","fileCount":35,"integrity":"sha512-3njZ/kGUyqyiaDhoFlGl+sysWESz5Tlgnd5SCEWfRw3ViRWMKs8qz93k4DecU6C3TFtglf9eTL4s6vbZ+VuNFA==","signatures":[{"sig":"MEYCIQCiyWMzxguMi3aSl+CkyGFYBHDk+f42XGRBSg+BF12+FwIhALg3cSeCdFhS7n98eNL8+h4dD60bNfnEtjdNVyugjHpy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":84749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCU0VCRA9TVsSAnZWagAA3ZEP/19zTiuY3XzJ8Ld2TUpe\nP1HVZSgil85X5fjmq4Lr6gx0KVsCp09EdvKlDg4C7eUb+4KpnJGUG6mdoVHQ\nKjldpQWlXaFcNwOlmrfoZNNm95ajcJ78eawQJte977I7GUFn388oM4NJ3vVZ\nLCq4fp7DaqSBLidjF6ncIDWBRB+CGP6FqLz044AW26H/ULyHTJUArDWI/Sd8\n6u7WjZr7kxOWVs8LkaG9CBgW/cpy6uVY6lsZF1YwTklSeP5+9Of/eYFZlChP\nUztRWrUmNsvnRURl5/qZrPu5OyhrN6oLcRJeCq60+EUDo6SJjbqiu+8r5jd7\n3JONrFmgfEjH1HWvlkJLsOnloekj6V6SDYYqvxB1kAmqWI44FACrGlX5a3hy\nnX6Sbj0OgZEzktwzcmei3A5l5qkJGTogsdDiTuXhdUDss/A3ZLovkCUc91/q\nEKdYYukwzThCHYafUdaHUBfAisQxZ3+DIP9E5y+M1HK/+EEamzo7KxpY8SmF\nYELbVc8agrDqnJRlR2BfyT5dtIbP0usiiXxWT0Mdu9cWGcbivhmdeedLXxaI\nHpEFtg/V++GcRUYKkEmsD4glF6is75JRXpkdp/N/N3xsoJa6X4rVyLxk3OPG\nEwp3cxsU/2uExFtvMCccn61W9REx5o8RhgRj5zqafts22DjpBQNZlTbRNjrL\n2KNb\r\n=Eaza\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=10.22.1 || ^12 || >=14","yarn":">=1 <3"},"gitHead":"744deb639173ea885fa55c0fa0b7c9337fbcf14c","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.14.6","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"10.22.1","dependencies":{"glob":"^7.1.6","core-js":"^3.8.0","js-yaml":"^3.14.0","webpack":"^5.11.0","@babel/core":"^7.12.9","webpack-cli":"^4.2.0","babel-loader":"^8.2.2","webpack-merge":"^5.7.2","@babel/runtime":"^7.12.5","webpack-sources":"^2.2.0","@babel/preset-env":"^7.12.11","pnp-webpack-plugin":"^1.6.4","babel-plugin-macros":"^3.0.1","regenerator-runtime":"^0.13.7","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^5.0.3","webpack-assets-manifest":"^5.0.0","compression-webpack-plugin":"^7.1.0","@babel/plugin-transform-runtime":"^7.12.1","case-sensitive-paths-webpack-plugin":"^2.3.0","@babel/plugin-proposal-class-properties":"^7.12.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.5.3","eslint":"^7.16.0","eslint-plugin-react":"^7.21.4","eslint-config-airbnb":"^18.2.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.1.0","eslint-plugin-jsx-a11y":"^6.3.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_6.0.0-beta.3_1611222292678_0.4384634878482754","host":"s3://npm-registry-packages"}},"6.0.0-beta.4":{"name":"@rails/webpacker","version":"6.0.0-beta.4","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@6.0.0-beta.4","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@loudthinking.com"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"22085c6daa91e050649997dc061ea65a4985966d","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-6.0.0-beta.4.tgz","fileCount":35,"integrity":"sha512-b3gN6EVh7GyvG6dfkTyIbFGZqbrTnxRmkJ+g94zHh9gVX//e2F7Gi6W9nsd4wPJDupkInlKZfV7nIPIEeeY1hA==","signatures":[{"sig":"MEUCIAqoBzMFEwiomTnuHoL3fDSbwRf3MugkHTZODbAT6aCtAiEAimlP8hpZQzuhspkuMRDBQEXGHUumGHJJaKSr/o7q208=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":84749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgDA5nCRA9TVsSAnZWagAAC34P+wSXUaAwFCXQNRKqlEIR\nZ92UV6FgrUkmw511LBehdGSwjgcRN7wyeMDwLBUh82tf0Hh3VqtxoA8Hneg3\nOaf76/BhFmfUhNpImJ2viWFwTcwNCo5ms32MxhX2bJW/mtlIuvN2Y1D2NQj0\nTaUiH3J2pgHMMoCYYLbdOsMjb9W5ea9XuTmcVR6JJyYYj9zCL6C0WUmQOgON\nrRHZX/r3CfLMrGXPv43vsNZDrFoInMkUJbezClDZCOhMsttf/e6NSNAsYNny\nEAMkvkynQAH9NAoItJvVlu23gvWP2ntawsXXIiUusmOcBq3YAQ4szXyN05/S\nRNPRZmv4V49haUTi6f9ugdMCam5RVxZ/ejp5b9jQmnxoR3oAPyeDpcyWppTT\n+dHK1UCnrfHEQsCxDiWoP7bZ2zjiAqqzbfJ5ZgKyk4UGx+03v8EpKI3Lj9H8\nnFKIl7uhqoFTwKEvG16vXfE3zabyo2mXmX1QZJeHi7THYoTb+Unfsv6rJbVm\ngWEcujspjq96gOCwRk0CqdoGNVpSu/9lf0ZZBzOx8ebzx7YaeXMpQrmbFbcI\nCU/NE4myTyYhbavqkTiXUqKnp8emvbHWypV7hrBG59uyrBpDDsUl9jETILw6\nMGuV7ljAuVIlRDrtfk0e4lhte79xoq9VlqOcKAt6wJ3wyTWTd1gsgD8f553S\n5sk9\r\n=uY/5\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=10.22.1 || ^12 || >=14","yarn":">=1 <3"},"gitHead":"f40fa08ea6bf2cf49e1ff1417690f38b491c47be","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.14.6","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"10.22.1","dependencies":{"glob":"^7.1.6","core-js":"^3.8.0","js-yaml":"^3.14.0","webpack":"^5.11.0","@babel/core":"^7.12.9","webpack-cli":"^4.2.0","babel-loader":"^8.2.2","webpack-merge":"^5.7.2","@babel/runtime":"^7.12.5","webpack-sources":"^2.2.0","@babel/preset-env":"^7.12.11","pnp-webpack-plugin":"^1.6.4","babel-plugin-macros":"^3.0.1","regenerator-runtime":"^0.13.7","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^5.0.3","webpack-assets-manifest":"^5.0.0","compression-webpack-plugin":"^7.1.0","@babel/plugin-transform-runtime":"^7.12.1","case-sensitive-paths-webpack-plugin":"^2.3.0","@babel/plugin-proposal-class-properties":"^7.12.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.5.3","eslint":"^7.16.0","eslint-plugin-react":"^7.21.4","eslint-config-airbnb":"^18.2.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.1.0","eslint-plugin-jsx-a11y":"^6.3.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_6.0.0-beta.4_1611402854680_0.9321778897361048","host":"s3://npm-registry-packages"}},"6.0.0-beta.5":{"name":"@rails/webpacker","version":"6.0.0-beta.5","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@6.0.0-beta.5","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"85576645d016b5c25a481e69a5bb74056f8a297c","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-6.0.0-beta.5.tgz","fileCount":35,"integrity":"sha512-jIrQU1CMCh3tFTzMqIMDCIl9aVk50k8yYac+cOsiGYgdFIkuw6oC6nOJr1JvpBx4gXljWqXbHdLLN91EKHJfFA==","signatures":[{"sig":"MEUCIGGsTJwR7tNLAKf4qZ8bBDx5brs1/+1HdTV0I9+W64+nAiEAojoX2dIrTgqGiM4+fO0aQG0aTLG2ERcRjstJYw7v9K0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGvFoCRA9TVsSAnZWagAAFegP/AipPCkbBxAKtBW0cJRg\nWRTKCbVJ37AR/D9gmOs9UJYUVwUhFo/zfeawBgG026aKDT8qW3LpZ1/j0tth\nSMy1vsi3uhLey/1Gbj3RfQiiYp23LURat4e/IU+yYaWHq1Z1ZkkuSkQkXbHx\nLT968pnZtBL8N6G0B/K65oKMhVB1+6I65YBdkhc/EGiWUoMnVItFpOXOXri5\n/jsjuRkk/8Fsz40woi1l1DNnS5ZLcHZi6kZEvwZYRDUQ3QqC3bnxa6TDHaCp\nFiCcg3CNEEw/OeBrbwVc0eAnLIA3tbXw5nCYziwg5LGLPoi6KqJnQDmvbEQi\nOJHeHoZyjQNwVg+5EhiPmcCBxPT39/I79NVevuzNXs+fXV8UN2OBCB1+S186\n2cR1PnaeLYom6fUzLoBQzww1BEmDFxi8O9PTORRKXylb19kMKaJKJyITF7nP\nys4Y5z8vX8VPNY9JRhQx3lENjfq+Q2OOL3zlMKMkzf7dZjI9VSxJ4Q7+6ItU\nNU5EAe1U6qATid1H9r4Kdy9+/oKx8Jh4RqQzvuWLnxpXHEV0MPx41R94VKOf\nwgVx0Y4DuXkhxssSeb8ZIQMoQNGsqJEzuAIzLEy9z2kw5l94mO92JLLLJb62\nwtkqOqtOHLyRtd8D3+Yithf9kdjIkwSUrOeNjgv8wvNwaR11ZZcsc/nQzGEH\naFsE\r\n=ovjl\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=10.22.1 || ^12 || >=14","yarn":">=1 <3"},"gitHead":"d31f3d436aa7f140e6bb3e30726d3c7f9e81e60f","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.14.6","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"10.22.1","dependencies":{"glob":"^7.1.6","core-js":"^3.8.0","js-yaml":"^3.14.0","webpack":"^5.11.0","@babel/core":"^7.12.9","webpack-cli":"^4.2.0","babel-loader":"^8.2.2","webpack-merge":"^5.7.2","@babel/runtime":"^7.12.5","webpack-sources":"^2.2.0","@babel/preset-env":"^7.12.11","pnp-webpack-plugin":"^1.6.4","babel-plugin-macros":"^3.0.1","regenerator-runtime":"^0.13.7","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^5.0.3","webpack-assets-manifest":"^5.0.0","compression-webpack-plugin":"^7.1.0","@babel/plugin-transform-runtime":"^7.12.1","case-sensitive-paths-webpack-plugin":"^2.3.0","@babel/plugin-proposal-class-properties":"^7.12.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.5.3","eslint":"^7.16.0","eslint-plugin-react":"^7.21.4","eslint-config-airbnb":"^18.2.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.1.0","eslint-plugin-jsx-a11y":"^6.3.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_6.0.0-beta.5_1612378472344_0.844995231581618","host":"s3://npm-registry-packages"}},"6.0.0-beta.6":{"name":"@rails/webpacker","version":"6.0.0-beta.6","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@6.0.0-beta.6","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"180d3297d466168b15a0bc089f5de8c4977a00c3","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-6.0.0-beta.6.tgz","fileCount":35,"integrity":"sha512-rM99yqoBwSZtH4KgWtG1mIZaNQFAPYR/eI+8/COXkbA0taEd0vmAZ70TkLT+gxFenrjLHW32v0/42HEKICzO/w==","signatures":[{"sig":"MEUCIGANqcmI28B1UOvi7AqAdmxl3NijwD/3Jng6YRzkH3bFAiEAiJ8CWsblDzrnmcyDZluMB4HutdFU7Gdksk2kXG8zA1Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOfxuCRA9TVsSAnZWagAAgckP/1BWEJuF7amAeU9oqGCJ\n5cLOYvA+uJwDkMJn3mNXdp/y2Fu7FNdHK0IliORFpfzBK07DoXW7kiqqR7He\na77jmUKd7Wfi3OIZcQ4SqQeI1gXbrf6UCqZTYJjLHblAWcureA0T8mJUZD1q\noNpDQJfrcqpFuDttHd1oYLu0x1rldKDZVwiZDTqmjB2g5my4Y3EYFZixICBU\nrHPy7pdv6gace6kCyqOT7ZP0JEi8ThqA7nnCZuQNaArA/qzvW6waFly8zYAT\naZrneK07BeSCn01V18EI843+sbAE4YVRKFKEPuBitLA/1A3kzBh0jheC3Udv\nwFyRcZbhdD3EQPpvn8+VYMFv0hg+1RIFj7TAS6WNJwf0iR2IbqsSwCgPHpJm\nkpX4CnmYjgZt4dpLi13zeGJfy/QP5yiWHsHo+Tl6HUNd17jHq/PLWFxDckTw\nAB5ZXFQFlRxwIi9BqD/UZCxFdbI6NZ3d8iqiDpVfnalD4/KYnFSeQcXfzfvC\nGnbzfWgItWKFfYzcx7COMHrdyXICYborPNaugdm7hUw+Xks1iapGCXajDICR\n5WbL3uhQ5uVPlt873nxOMH+T7r+K8+BO2/tuZdcqWrLa61XT9WI1oz2caBUr\nqKtYS2PAEjQMkeMHFp06EYYs4onoYzXf+I+npCK8PtnpzfCJ+yD/VzWTLc15\nmhzk\r\n=ZZci\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=10.22.1 || ^12 || >=14","yarn":">=1 <3"},"gitHead":"da362b8c96a4be5a4af8f8ad886f5dd8451f457f","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.14.6","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"10.22.1","dependencies":{"glob":"^7.1.6","core-js":"^3.8.0","js-yaml":"^3.14.0","webpack":"^5.11.0","@babel/core":"^7.12.9","webpack-cli":"^4.2.0","babel-loader":"^8.2.2","webpack-merge":"^5.7.2","@babel/runtime":"^7.12.5","webpack-sources":"^2.2.0","@babel/preset-env":"^7.12.11","pnp-webpack-plugin":"^1.6.4","babel-plugin-macros":"^3.0.1","regenerator-runtime":"^0.13.7","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^5.0.3","webpack-assets-manifest":"^5.0.0","compression-webpack-plugin":"^7.1.0","@babel/plugin-transform-runtime":"^7.12.1","case-sensitive-paths-webpack-plugin":"^2.3.0","@babel/plugin-proposal-class-properties":"^7.12.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.5.3","eslint":"^7.16.0","eslint-plugin-react":"^7.21.4","eslint-config-airbnb":"^18.2.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.1.0","eslint-plugin-jsx-a11y":"^6.3.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_6.0.0-beta.6_1614412909942_0.5404225283213437","host":"s3://npm-registry-packages"}},"6.0.0-beta.7":{"name":"@rails/webpacker","version":"6.0.0-beta.7","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@6.0.0-beta.7","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"5deaadc5bf962c5e031e6d038bbb5d4a591c07a6","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-6.0.0-beta.7.tgz","fileCount":35,"integrity":"sha512-ZnKSixM+XKKTjRBL5mR5b2ZZVtqYGdPP5MAn4d8aehTApu51w8DIFV+9dC4WI59mIjAOsc2411rNvkX/eLX5XQ==","signatures":[{"sig":"MEUCIHSiNj+5rvZ30K5bJ1NkspaZqc8S2jUlR3otuKbzPR8rAiEAn1+hklreAQUtXVDYIEfzywC3gDODlI59AbhnqM6jcK4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87551,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggVzkCRA9TVsSAnZWagAAAGgP/1gMXtDuWctZf+cwO1ln\nTcYNG90C96fsLPIC2D3y71RPo8NkB60V9XOR6/MhLTyTjQC5pHajeCwfUK6u\n0EXgB4lGTGPQYsXKV2EtfXtNoIFfndNdQCjbK/gRvdnVTXQLOVwAreSujFB3\n/cgQQXUhutzq8elGSP9vXyY8z2CwZxGgIxJo0cyWZVNz+CIWbr3PM/XY7vXa\nv6jvPSECS/QSzshCasAUnORp3E3ByFZbL/AcoHI9mgK4iJxCej6Kn/3fYY6d\nEL9dcCjL3QxFE4yHp7v3pzDRH4Bf8HlCXAoT4sK4d21+Xnak7wDfR60eh3eP\nsiI7cpxXaZtrmfa8EA8n5r2o3HIuOKpPDiKL13aSk+MFL15Kjg3VBQVB2AO6\nPPO9hvOEtTHkHXAKO9ReVTRV1sIsOlokfnH62sX1cN+U2Xq5bC420Iw4DHPI\nSt4bTo1/EXCADUuM/1qgHHbfMq9nq7X6cUywxmHLvD+Qwcy8b1ydk4RbZaZ0\nXF3tpRBt6iGTKON+KqiSo1aLj7Tstg5p9Y3Bc2Ls6fvAhdhoAW01b3uaqdfV\nwIYp3viPZ7BJ57wNjartIvKlrOvRCgGiMGvsNl49vxcj5raiZjWbL1qQj54q\nwxdnphlKQe16rg76QOa7OWsR+noTj9nEOjfivM9H7+WzUmdt0YNNdXj2/E4i\nwj3S\r\n=BB2u\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","readme":"# Webpacker\n\n[![Ruby specs](https://github.com/rails/webpacker/workflows/Ruby%20specs/badge.svg)](https://github.com/rails/webpacker/actions)\n[![Jest specs](https://github.com/rails/webpacker/workflows/Jest%20specs/badge.svg)](https://github.com/rails/webpacker/actions)\n[![Rubocop](https://github.com/rails/webpacker/workflows/Rubocop/badge.svg)](https://github.com/rails/webpacker/actions)\n[![JS lint](https://github.com/rails/webpacker/workflows/JS%20lint/badge.svg)](https://github.com/rails/webpacker/actions)\n\n[![node.js](https://img.shields.io/badge/node-%3E%3D%2010.17.0-brightgreen.svg)](https://www.npmjs.com/package/@rails/webpacker)\n[![Gem](https://img.shields.io/gem/v/webpacker.svg)](https://rubygems.org/gems/webpacker)\n\nWebpacker makes it easy to use the JavaScript pre-processor and bundler\n[Webpack v5](https://webpack.js.org/)\nto manage application-like JavaScript in Rails. It coexists with the asset pipeline,\nas the primary purpose for webpack is app-like JavaScript, not images, CSS, or\neven JavaScript Sprinkles (that all continues to live in app/assets).\n\nHowever, it is possible to use Webpacker for CSS, images and fonts assets as well,\nin which case you may not even need the asset pipeline. This is mostly relevant when exclusively using component-based JavaScript frameworks.\n\n**NOTE:** The master branch now hosts the code for v6.x.x. Please refer to [5-x-stable](https://github.com/rails/webpacker/tree/5-x-stable) branch for 5.x documentation.\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n- [Features](#features)\n- [Installation](#installation)\n  - [Usage](#usage)\n  - [Development](#development)\n  - [Webpack Configuration](#webpack-configuration)\n  - [Custom Rails environments](#custom-rails-environments)\n  - [Upgrading](#upgrading)\n- [Paths](#paths)\n  - [Resolved](#resolved)\n  - [Watched](#watched)\n- [Deployment](#deployment)\n- [Contributing](#contributing)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Prerequisites\n\n- Ruby 2.4+\n- Rails 5.2+\n- Node.js 10.22.1+ || 12+ || 14+\n- Yarn 1.x+ || 2.x+\n\n## Features\n\n- [Webpack v5](https://webpack.js.org/)\n- ES6 with [babel](https://babeljs.io/)\n- Automatic code splitting using multiple entry points\n- Asset compression, source-maps, and minification\n- CDN support\n- Rails view helpers\n- Extensible and configurable\n\n### Optional support\n\n  _requires extra packages to be installed_\n\n  - Stylesheets - Sass, Less, Stylus and Css, PostCSS\n  - CoffeeScript\n  - TypeScript\n  - React\n\n## Installation\n\nYou can either add Webpacker during setup of a new Rails 5.1+ application\nusing new `--webpack` option:\n\n```bash\n# Available Rails 5.1+\nrails new myapp --webpack\n```\n\nOr add it to your `Gemfile`:\n\n```ruby\n# Gemfile\ngem 'webpacker', '~> 6.x'\n\n# OR if you prefer to use master\ngem 'webpacker', git: 'https://github.com/rails/webpacker.git'\nyarn add https://github.com/rails/webpacker.git\n```\n\nFinally, run the following to install Webpacker:\n\n```bash\nbundle\nbundle exec rails webpacker:install\n\n# OR (on rails version < 5.0)\nbundle exec rake webpacker:install\n```\n\nOptional: To fix [\"unmet peer dependency\" warnings](https://github.com/rails/webpacker/issues/1078),\n\n```bash\nyarn upgrade\n```\n\nWhen `package.json` and/or `yarn.lock` changes, such as when pulling down changes to your local environment in a team settings, be sure to keep your NPM packages up-to-date:\n\n```bash\nyarn install\n```\n\n### Usage\n\nOnce installed, you can start writing modern ES6-flavored JavaScript apps right away:\n\n```yml\napp/packs:\n  ├── entrypoints:\n  │   # Only Webpack entry files here\n  │   └── application.js\n  │   └── application.css\n  └── src:\n  │   └── my_component.js\n  └── stylesheets:\n  │   └── my_styles.css\n  └── images:\n      └── logo.svg\n```\n\nYou can then link the JavaScript pack in Rails views using the `javascript_pack_tag` helper. If you have styles imported in your pack file, you can link them by using `stylesheet_pack_tag`:\n\n```erb\n<%= javascript_pack_tag 'application' %>\n<%= stylesheet_pack_tag 'application' %>\n```\n\nIf you want to link a static asset for `<img />` tag, you can use the `asset_pack_path` helper:\n```erb\n<img src=\"<%= asset_pack_path 'images/logo.svg' %>\" />\n```\n\nOr use the dedicated helper:\n```erb\n<%= image_pack_tag 'application.png', size: '16x10', alt: 'Edit Entry' %>\n<%= image_pack_tag 'picture.png', srcset: { 'picture-2x.png' => '2x' } %>\n```\n\nIf you want to create a favicon:\n```erb\n<%= favicon_pack_tag 'mb-icon.png', rel: 'apple-touch-icon', type: 'image/png' %>\n```\n\nIf you want to preload a static asset in your `<head>`, you can use the `preload_pack_asset` helper:\n```erb\n<%= preload_pack_asset 'fonts/fa-regular-400.woff2' %>\n```\n\nIf you want to use images in your stylesheets:\n\n```css\n.foo {\n  background-image: url('../images/logo.svg')\n}\n```\n\nNote, if you are using server-side rendering of JavaScript with dynamic code-spliting,\nas is often done with extensions to Webpacker, like [React on Rails](https://github.com/shakacode/react_on_rails)\nyour JavaScript should create the link prefetch HTML tags that you will use, so you won't\nneed to use to `asset_pack_path` in those circumstances.\n\n**Note:** In order for your styles or static assets files to be available in your view,\nyou would need to link them in your \"pack\" or entry file. Otherwise, Webpack won't know\nto package up those files.\n\n### Development\n\nWebpacker ships with two binstubs: `./bin/webpack` and `./bin/webpack-dev-server`.\nBoth are thin wrappers around the standard `webpack.js` and `webpack-dev-server.js`\nexecutables to ensure that the right configuration files and environmental variables\nare loaded based on your environment.\n\nIn development, Webpacker compiles on demand rather than upfront by default. This\nhappens when you refer to any of the pack assets using the Webpacker helper methods.\nThis means that you don't have to run any separate processes. Compilation errors are logged\nto the standard Rails log. However, this auto-compilation happens when a web request\nis made that requires an updated webpack build, not when files change. Thus, that can\nbe painfully slow for front-end development in this default way. Instead, you should either\nrun the `bin/webpack --watch` or run `./bin/webpack-dev-server`\n\nIf you want to use live code reloading, or you have enough JavaScript that on-demand compilation is too slow, you'll need to run `./bin/webpack-dev-server` or `ruby ./bin/webpack-dev-server`.\nWindows users will need to run these commands in a terminal separate from `bundle exec rails s`.\nThis process will watch for changes in the `app/packs/entrypoints/*.js` files and automatically\nreload the browser to match. This feature is also known as\n[Hot Module Replacement](https://webpack.js.org/concepts/hot-module-replacement/).\n\nHMR is only the first step to running \"Fast Refresh\" with React. For more information\non how to configure rails/webpacker for Fast Refresh with React, see article\n[HMR and React Hot Reloading](https://github.com/shakacode/react_on_rails/blob/master/docs/rails-webpacker-react-integration-options.md#hmr-and-react-hot-reloading).\n\n```bash\n# webpack dev server\n./bin/webpack-dev-server\n\n# watcher\n./bin/webpack --watch --colors --progress\n\n# standalone build\n./bin/webpack\n```\n\nOnce you start this webpack development server, Webpacker will automatically start proxying all\nwebpack asset requests to this server. When you stop this server, Rails will detect\nthat it's not running and Rails will revert back to on-demand compilation _if_ you have\nthe `compile` option set to true in your `config/webpacker.yml`\n\nYou can use environment variables as options supported by\n[webpack-dev-server](https://webpack.js.org/configuration/dev-server/) in the\nform `WEBPACKER_DEV_SERVER_<OPTION>`. Please note that these environmental\nvariables will always take precedence over the ones already set in the\nconfiguration file, and that the _same_ environmental variables must\nbe available to the `rails server` process.\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=example.com WEBPACKER_DEV_SERVER_INLINE=true WEBPACKER_DEV_SERVER_HOT=false ./bin/webpack-dev-server\n```\n\nBy default, the webpack dev server listens on `localhost` in development for security purposes.\nHowever, if you want your app to be available over local LAN IP or a VM instance like vagrant,\nyou can set the `host` when running `./bin/webpack-dev-server` binstub:\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=0.0.0.0 ./bin/webpack-dev-server\n```\n\n**Note:** You need to allow webpack-dev-server host as an allowed origin for `connect-src` if you are running your application in a restrict CSP environment (like Rails 5.2+). This can be done in Rails 5.2+ in the CSP initializer `config/initializers/content_security_policy.rb` with a snippet like this:\n\n```ruby\n  Rails.application.config.content_security_policy do |policy|\n    policy.connect_src :self, :https, 'http://localhost:3035', 'ws://localhost:3035' if Rails.env.development?\n  end\n```\n\n**Note:** Don't forget to prefix `ruby` when running these binstubs on Windows\n\n### Webpack Configuration\n\nWebpacker gives you a default set of configuration files for test, development and\nproduction environments in `config/webpack/*.js`. You can configure each individual\nenvironment in their respective files or configure them all in the base\n`config/webpack/base.js` file.\n\nBy default, you don't need to make any changes to `config/webpack/*.js`\nfiles since it's all standard production-ready configuration. However,\nif you do need to customize or add a new loader, this is where you would go.\n\nHere is how you can modify webpack configuration:\n\nYou might add separate files to keep your code more organized.\n\n```js\n// config/webpack/custom.js\nmodule.exports = {\n  resolve: {\n    alias: {\n      jquery: 'jquery/src/jquery',\n      vue: 'vue/dist/vue.js',\n      React: 'react',\n      ReactDOM: 'react-dom',\n      vue_resource: 'vue-resource/dist/vue-resource'\n    }\n  }\n}\n```\n\nThen `require` this file in your `config/webpack/base.js`:\n\n```js\n// config/webpack/base.js\nconst { webpackConfig, merge } = require('@rails/webpacker')\nconst customConfig = require('./custom')\n\nmodule.exports = merge(webpackConfig, customConfig)\n```\n\nIf you need access to configs within Webpacker's configuration,\nyou can import them like so:\n\n```js\n// config/webpack/base.js\nconst { webpackConfig } = require('@rails/webpacker')\n\nconsole.log(webpackConfig.output_path)\nconsole.log(webpackConfig.source_path)\n\n// Or to print out your whole webpack configuration\nconsole.log(JSON.stringify(webpackConfig, undefined, 2))\n```\n\n### Integrations\n\nWebpacker out of the box supports JS and static assets (fonts, images etc.)\ncompilation. To enable support for CoffeeScript or TypeScript install\nrelevant packages:\n\n#### CoffeeScript\n\n```bash\nyarn add coffeescript coffee-loader\n```\n\n#### TypeScript\n\n```bash\nyarn add typescript @babel/preset-typescript\n```\n\nAdd tsconfig.json\n\n```json\n{\n  \"compilerOptions\": {\n    \"declaration\": false,\n    \"emitDecoratorMetadata\": true,\n    \"experimentalDecorators\": true,\n    \"lib\": [\"es6\", \"dom\"],\n    \"module\": \"es6\",\n    \"moduleResolution\": \"node\",\n    \"baseUrl\": \".\",\n    \"paths\": {\n      \"*\": [\"node_modules/*\", \"app/packs/*\"]\n    },\n    \"sourceMap\": true,\n    \"target\": \"es5\",\n    \"noEmit\": true\n  },\n  \"exclude\": [\"**/*.spec.ts\", \"node_modules\", \"vendor\", \"public\"],\n  \"compileOnSave\": false\n}\n```\n\nBabel won’t perform any type-checking on TypeScript code. To optionally use type-checking run:\n\n```bash\nyarn add fork-ts-checker-webpack-plugin\n```\n\nThen modify the webpack config to use it as a plugin:\n\n```js\n// config/webpack/base.js\nconst { webpackConfig, merge } = require(\"@rails/webpacker\");\nconst ForkTSCheckerWebpackPlugin = require(\"fork-ts-checker-webpack-plugin\");\n\nmodule.exports = merge(webpackConfig, {\n  plugins: [new ForkTSCheckerWebpackPlugin()],\n});\n```\n\n#### CSS\n\nTo enable CSS support in your application, add following packages:\n\n```bash\nyarn add css-loader mini-css-extract-plugin css-minimizer-webpack-plugin\n```\n\noptionally, add the css extension to webpack config for easy resolution.\n\n```js\n// config/webpack/base.js\nconst { webpackConfig, merge } = require('@rails/webpacker')\nconst customConfig = {\n  resolve: {\n    extensions: ['.css']\n  }\n}\n\nmodule.exports = merge(webpackConfig, customConfig)\n```\n\nTo enable postcss, sass or less support, add css support first and\nthen add the relevant pre-processors:\n\n#### Postcss\n\n```bash\nyarn add postcss-loader\n```\n\n#### Sass\n\n```bash\nyarn add sass sass-loader\n```\n\n#### Less\n\n```bash\nyarn add less less-loader\n```\n\n#### Stylus\n\n```bash\nyarn add stylus stylus-loader\n```\n\n#### React\n\nReact is supported and you just need to add relevant packages,\n\n```bash\nyarn add react react-dom @babel/preset-react\n```\n\nif you are using typescript, update your `tsconfig.json`\n\n```json\n{\n  \"compilerOptions\": {\n    \"declaration\": false,\n    \"emitDecoratorMetadata\": true,\n    \"experimentalDecorators\": true,\n    \"lib\": [\"es6\", \"dom\"],\n    \"module\": \"es6\",\n    \"moduleResolution\": \"node\",\n    \"sourceMap\": true,\n    \"target\": \"es5\",\n    \"jsx\": \"react\",\n    \"noEmit\": true\n  },\n  \"exclude\": [\"**/*.spec.ts\", \"node_modules\", \"vendor\", \"public\"],\n  \"compileOnSave\": false\n}\n```\n\nFor more information on React props hydration and Server-Side Rendering (SSR), see the article\n[Rails/Webpacker React Integration Options](https://github.com/shakacode/react_on_rails/blob/master/docs/rails-webpacker-react-integration-options.md)\nin the [ShakaCode/react_on_rails](https://github.com/shakacode/react_on_rails) repo.\n\n#### Other frameworks\n\nPlease follow webpack integration guide for relevant framework or library,\n\n1. [Svelte](https://github.com/sveltejs/svelte-loader#install)\n2. [Angular](https://v2.angular.io/docs/ts/latest/guide/webpack.html#!#configure-webpack)\n3. [Vue](https://vue-loader.vuejs.org/guide/)\n\nFor example to add Vue support:\n```js\n// config/webpack/rules/vue.js\nconst VueLoaderPlugin = require('vue-loader/lib/plugin')\n\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: /\\.vue$/,\n        loader: 'vue-loader'\n      }\n    ]\n  },\n  plugins: [new VueLoaderPlugin()]\n}\n```\n\n```js\n// config/webpack/base.js\nconst { webpackConfig, merge } = require('@rails/webpacker')\nconst vueConfig = require('./rules/vue')\n\nmodule.exports = merge(webpackConfig, vueConfig)\n```\n\n### Custom Rails environments\n\nOut of the box Webpacker ships with - development, test and production environments in `config/webpacker.yml` however, in most production apps extra environments are needed as part of deployment workflow. Webpacker supports this out of the box from version 3.4.0+ onwards.\n\nYou can choose to define additional environment configurations in webpacker.yml,\n\n```yml\nstaging:\n  <<: *default\n\n  # Production depends on precompilation of packs prior to booting for performance.\n  compile: false\n\n  # Cache manifest.json for performance\n  cache_manifest: true\n\n  # Compile staging packs to a separate directory\n  public_output_path: packs-staging\n```\n\nor, Webpacker will use production environment as a fallback environment for loading configurations. Please note, `NODE_ENV` can either be set to `production`, `development` or `test`.\nThis means you don't need to create additional environment files inside `config/webpacker/*` and instead use webpacker.yml to load different configurations using `RAILS_ENV`.\n\nFor example, the below command will compile assets in production mode but will use staging configurations from `config/webpacker.yml` if available or use fallback production environment configuration:\n\n```bash\nRAILS_ENV=staging bundle exec rails assets:precompile\n```\n\nAnd, this will compile in development mode and load configuration for cucumber environment\nif defined in webpacker.yml or fallback to production configuration\n\n```bash\nRAILS_ENV=cucumber NODE_ENV=development bundle exec rails assets:precompile\n```\n\nPlease note, binstubs compiles in development mode however rake tasks\ncompiles in production mode.\n\n```bash\n# Compiles in development mode unless NODE_ENV is specified, per the binstub source\n./bin/webpack\n./bin/webpack-dev-server\n\n# Compiles in production mode by default unless NODE_ENV is specified, per `lib/tasks/webpacker/compile.rake`\nbundle exec rails assets:precompile\nbundle exec rails webpacker:compile\n```\n\n### Upgrading\n\nYou can run following commands to upgrade Webpacker to the latest stable version. This process involves upgrading the gem and related JavaScript packages:\n\n```bash\n# check your Gemfile for version restrictions\nbundle update webpacker\n\n# overwrite your changes to the default install files and revert any unwanted changes from the install\nrails webpacker:install\n\nyarn upgrade @rails/webpacker --latest\nyarn upgrade webpack-dev-server --latest\n\n# Or to install the latest release (including pre-releases)\nyarn add @rails/webpacker@next\n```\n\nAlso, consult the [CHANGELOG](./CHANGELOG.md) for additional upgrade links.\n\n## Paths\n\nBy default, Webpacker ships with simple conventions for where the JavaScript\napp files and compiled webpack bundles will go in your Rails app.\nAll these options are configurable from `config/webpacker.yml` file.\n\nThe configuration for what webpack is supposed to compile by default rests\non the convention that every file in `app/packs/entrypoints/*`**(default)**\nor whatever path you set for `source_entry_path` in the `webpacker.yml` configuration\nis turned into their own output files (or entry points, as webpack calls it). Therefore you don't want to put anything inside `packs` directory that you do not want to be\nan entry file. As a rule of thumb, put all files you want to link in your views inside\n\"packs\" directory and keep everything else under `app/packs`.\n\nSuppose you want to change the source directory from `app/packs`\nto `frontend` and output to `assets/packs`. This is how you would do it:\n\n```yml\n# config/webpacker.yml\nsource_path: frontend # packs are in frontend/packs\npublic_output_path: assets/packs # outputs to => public/assets/packs\n```\n\nSimilarly you can also control and configure `webpack-dev-server` settings from `config/webpacker.yml` file:\n\n```yml\n# config/webpacker.yml\ndevelopment:\n  dev_server:\n    host: localhost\n    port: 3035\n```\n\nIf you have `hmr` turned to true, then the `stylesheet_pack_tag` generates no output,\nas you will want to configure your styles to be inlined in your JavaScript for hot reloading.\nDuring production and testing, the `stylesheet_pack_tag` will create the appropriate HTML tags.\n\n### Additional paths\n\nIf you are adding Webpacker to an existing app that has most of the assets inside\n`app/assets` or inside an engine, and you want to share that\nwith webpack modules, you can use the `additional_paths`\noption available in `config/webpacker.yml`. This lets you\nadd additional paths that webpack should look up when resolving modules:\n\n```yml\nadditional_paths: ['app/assets', 'vendor/assets']\n```\n\nYou can then import these items inside your modules like so:\n\n```js\n// Note it's relative to parent directory i.e. app/assets\nimport 'stylesheets/main'\nimport 'images/rails.png'\n```\n\n**Note:** Please be careful when adding paths here otherwise it\nwill make the compilation slow, consider adding specific paths instead of\nwhole parent directory if you just need to reference one or two modules\n\n## Deployment\n\nWebpacker hooks up a new `webpacker:compile` task to `assets:precompile`, which gets run whenever you run `assets:precompile`. If you are not using Sprockets, `webpacker:compile` is automatically aliased to `assets:precompile`. Similar to sprockets both rake tasks will compile packs in production mode but will use `RAILS_ENV` to load configuration from `config/webpacker.yml` (if available).\n\nWhen compiling assets for production on a remote server, such as a continuous integration environment, it's recommended to use `yarn install --frozen-lockfile` to install NPM packages on the remote host to ensure that the installed packages match the `yarn.lock` file.\n\nIf you are using a CDN setup, webpacker will use the configured [asset host](https://guides.rubyonrails.org/configuring.html#rails-general-configuration) value to prefix URLs for images or font icons which are included inside JS code or CSS. It is possible to override this value during asset compilation by setting the `WEBPACKER_ASSET_HOST` environment variable.\n\n## Troubleshooting\n\nSee the doc page for [Troubleshooting](./docs/troubleshooting.md).\n\n## Contributing\n\n[![Code Helpers](https://www.codetriage.com/rails/webpacker/badges/users.svg)](https://www.codetriage.com/rails/webpacker)\n\nWe encourage you to contribute to Webpacker! See [CONTRIBUTING](CONTRIBUTING.md) for guidelines about how to proceed.\n\n## License\n\nWebpacker is released under the [MIT License](https://opensource.org/licenses/MIT).\n","engines":{"node":">=10.22.1 || ^12 || >=14","yarn":">=1 <3"},"gitHead":"863e07bb875cb4f1cba2f0fba51d34dd49a5822d","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.14.6","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"10.22.1","dependencies":{"glob":"^7.1.6","core-js":"^3.8.0","js-yaml":"^3.14.0","webpack":"^5.11.0","@babel/core":"^7.12.9","webpack-cli":"^4.2.0","babel-loader":"^8.2.2","webpack-merge":"^5.7.2","@babel/runtime":"^7.12.5","webpack-sources":"^2.2.0","@babel/preset-env":"^7.12.11","pnp-webpack-plugin":"^1.6.4","babel-plugin-macros":"^3.0.1","regenerator-runtime":"^0.13.7","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^5.0.3","webpack-assets-manifest":"^5.0.0","compression-webpack-plugin":"^7.1.0","@babel/plugin-transform-runtime":"^7.12.1","case-sensitive-paths-webpack-plugin":"^2.3.0","@babel/plugin-proposal-class-properties":"^7.12.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.5.3","eslint":"^7.16.0","eslint-plugin-react":"^7.21.4","eslint-config-airbnb":"^18.2.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.1.0","eslint-plugin-jsx-a11y":"^6.3.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_6.0.0-beta.7_1619090659633_0.14260917372921988","host":"s3://npm-registry-packages"}},"5.2.2":{"name":"@rails/webpacker","version":"5.2.2","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@5.2.2","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"ad2491300631e9df1d8dd8df4d7cdd1b7866f3d9","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-5.2.2.tgz","fileCount":43,"integrity":"sha512-ZRzS8mm4rYlpjZrAvj5bKJ9KAEadcHQTDNSBxKaQPeYCiG8X4LmSJvNNkg4AZRPSmBC5P83kn5pgD9dC2XdhUA==","signatures":[{"sig":"MEQCIG1n5LdYMrG4WQwUbM83bn5ywDcaYBVIIpmY1Gd1Nd9aAiBg3ObkzNlO7tpcYhpRMtehHJqk7QyoA9gu3dsVY4x56Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":95371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgh/QKCRA9TVsSAnZWagAAC9gP/2UAcVYmhdCogYNcTeRF\nFM1pLRxWhVCYyCeRkgy7oVVcutpb3zJgrBGdWcQ7EkSj/NuuiwjgUBJtZuZY\nUlE7MT/cyIMicqvXgrrpxpFyDmUeuJzVn0/5KE5ZQBSQ+YWVY4+U81gRb54F\n5X8B+JSm4+pRnjhOge2QTAfnyzlsnt4DGWdyrlut2qpR5GHcLmVnDYO/c6bX\npRlvlnxrFYkqrJ3ayBhkyjzEPK0naW+6+bDd3MD7T68BWMVK8U/DyT6Ltua5\nG7xciat9GXU+5qAY7C06FYWclgD/G+UK8q3Z3EsyHaWFXGihhGT88ZKiyiBR\nLeSgcS0mqp/SJwa3PNmHNVx7R8w+jSXm54953AlO/bOlmfqp7OHus/oADWHw\nXFdigu0pHspJ1xzpmRXbT9rmzzjMtAGyK5U0/0YUcp/Iic89qa01vAcIsRN7\nH41OI7oa6OTtQDxITYWnmlBFgDEp1NFNL/vJiJC1chJZ9mRZLPR7eWG0mlLo\nBnBF8jI5dlTICaslQ1do0+QYFfv32j4UnU3NglIl7vQIM6jY8+ar2x+9z3X2\n3Vg5peNPhHdfe0ugQ48QGlBPEBj8xLl1TTRPp8s60wx2YbNvU3U0/n1ZPkB4\n/sl4tdGvwFeKeTp+vbSgMF5geOZqBYTWFs0PaqMRAv84EV95LAXnp7rjXzaP\n5kOy\r\n=YBxJ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=10.17.0","yarn":">=1 <3"},"gitHead":"745837a99198e4461a95e0984589ba48f7f713fa","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.11.3","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"10.17.0","dependencies":{"glob":"^7.1.6","sass":"^1.32.11","core-js":"^3.11.0","flatted":"^3.1.1","js-yaml":"^3.14.1","webpack":"^4.46.0","css-loader":"^3.6.0","@babel/core":"^7.13.16","file-loader":"^6.2.0","sass-loader":"10.1.1","webpack-cli":"^3.3.12","babel-loader":"^8.2.2","style-loader":"^1.3.0","@babel/runtime":"^7.13.17","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.4.3","@babel/preset-env":"^7.13.15","pnp-webpack-plugin":"^1.6.4","postcss-preset-env":"^6.7.0","babel-plugin-macros":"^2.8.0","postcss-safe-parser":"^4.0.2","regenerator-runtime":"^0.13.7","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^4.2.3","postcss-flexbugs-fixes":"^4.2.1","mini-css-extract-plugin":"^0.9.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^4.0.1","@babel/plugin-transform-runtime":"^7.13.15","babel-plugin-dynamic-import-node":"^2.3.3","optimize-css-assets-webpack-plugin":"^5.0.4","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-regenerator":"^7.13.15","case-sensitive-paths-webpack-plugin":"^2.4.0","@babel/plugin-transform-destructuring":"^7.13.17","@babel/plugin-proposal-class-properties":"^7.13.0","@babel/plugin-proposal-object-rest-spread":"^7.13.8"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","eslint":"^7.25.0","eslint-plugin-react":"^7.23.2","eslint-config-airbnb":"^18.2.1","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_5.2.2_1619522570279_0.2680685453113454","host":"s3://npm-registry-packages"}},"5.3.0":{"name":"@rails/webpacker","version":"5.3.0","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@5.3.0","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"9d7a615735f850572b9c5e2ad4c57f4af70d70fd","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-5.3.0.tgz","fileCount":43,"integrity":"sha512-cpzrtrsMVi6WgRUzL63bMF+oa98DiL8cKXUZzDFLeElRu7qArG+cxU8grmaPbTmFqQEqVGsbJT0c6fubbFtwVA==","signatures":[{"sig":"MEYCIQDDXpi3EAYt5JhJeBupT8LubBLm7+P4qZ+vuABN3ozFowIhAPIsNGdU12NQtVywKUci3GBU9xz29FZizi/w64DE5i+k","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":95464,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgh/e5CRA9TVsSAnZWagAAgc8P/ROdCz5hiUKbiNO8HWsM\nZh91SN6KoyJGEUpWUPiBUkzNWT1EL+MbXcMaZuruJVoSr0XNh+8wPG0SydXN\nePBZxSAftqdWZkjE+cU/T+e07J4uKZqLX28PQOqiNpGhYL6HINDuJQ39RPST\npFvhxtEWYEHzRMyY6BsngiDDmYQWig8Gp1I8OyvXw7s3BWno+lmjazc6Qmte\nv3Cq+QYWD8QiGl2q24nCWleDfIgU4BbKeZX8k2dFOfAff5SeShqgvWP8LrZn\noUB29vqv7SLlZaS8eRD9dhIQavc9tbiYA4y+VUv8lehJPETHWfWJHZsejdZt\nEZ5XgBrXW8iiCURH7SBwptYtJoWg2LM5DmAeKT3pG7jkxrQKIksy4K6fv9NH\nvvmmXp6YWEQ6gTpg9mHxEtRQ2z0thL7fJNfKawYdPpGsCQ6i3uisB7hWVgqM\nITu7PDkXfdSF9KUJeNuR1/jwtAd7Pt5Os1ISAhEvCltg1GZRInajF30jZJM4\nhRIZMF2+JDXUYzdBZe4mFZ4ze7a6KsFIOuQaLErQI0iVJZ4B9HGarFZT5omM\nps4LDfl8Vmod8IOwWaqN0YE7iDPt0+B2fHZigqeXOj4ae2wc0ASLedLbS0xq\nKymCcxOtsvD7H4wO6Z416X5lkryphwzo1x5O+fDy4iBwbPPIc9ikrXNDrsFg\nS59T\r\n=gWC9\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=10.17.0","yarn":">=1 <3"},"gitHead":"34c02ffb411fe307f15a644362e5fda36f868388","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.11.3","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"10.17.0","dependencies":{"glob":"^7.1.6","sass":"^1.32.11","core-js":"^3.11.0","flatted":"^3.1.1","js-yaml":"^3.14.1","webpack":"^4.46.0","css-loader":"^3.6.0","@babel/core":"^7.13.16","file-loader":"^6.2.0","sass-loader":"10.1.1","webpack-cli":"^3.3.12","babel-loader":"^8.2.2","style-loader":"^1.3.0","@babel/runtime":"^7.13.17","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.4.3","@babel/preset-env":"^7.13.15","pnp-webpack-plugin":"^1.6.4","postcss-preset-env":"^6.7.0","babel-plugin-macros":"^2.8.0","postcss-safe-parser":"^4.0.2","regenerator-runtime":"^0.13.7","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^4.2.3","postcss-flexbugs-fixes":"^4.2.1","mini-css-extract-plugin":"^0.9.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^4.0.1","@babel/plugin-transform-runtime":"^7.13.15","babel-plugin-dynamic-import-node":"^2.3.3","optimize-css-assets-webpack-plugin":"^5.0.4","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-regenerator":"^7.13.15","case-sensitive-paths-webpack-plugin":"^2.4.0","@babel/plugin-transform-destructuring":"^7.13.17","@babel/plugin-proposal-class-properties":"^7.13.0","@babel/plugin-proposal-object-rest-spread":"^7.13.8"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","eslint":"^7.25.0","eslint-plugin-react":"^7.23.2","eslint-config-airbnb":"^18.2.1","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_5.3.0_1619523513447_0.4558241224079458","host":"s3://npm-registry-packages"}},"5.4.0":{"name":"@rails/webpacker","version":"5.4.0","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@5.4.0","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"2c64a9ea7e85d2a33e50e86319fe6751df0c47e8","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-5.4.0.tgz","fileCount":43,"integrity":"sha512-J973mzTUJbkbBu+sMwKgWRahoSfwdp5uHT80iDWr6hi8YAC7kj47HapQnn2SGPmv/onTT8WC3jFM62Hkh213yQ==","signatures":[{"sig":"MEUCIGV4K9Lj0j9bxzjmghQPAFB+NdLVZ3JLYcoIx0KoXNiVAiEAs082m4VQfCnojHOQfYzlNmNxQoijGvC8fHNMycFRrHg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":95582,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgo5bRCRA9TVsSAnZWagAAjckP/2Zu4wKqVZ27gF9rg6nQ\ndQgAip6VV8biIQSm6vLgse8qvihBhhgS6kPNkTpdwhMmZ5ZaGptrE2AQietA\n3Ex0OJze9Nvitq1eDvv6yIZYpF6L0vhtNF/OvKGa427ubO8IC7OvWCEub5df\n4b3CgGoBlVEQl2U31kDrMhKR0NYwFlIiscGDItzu1ZfUYXg1qMPQeppg3Hs7\nMaOdwhLigbCq+UUyiuOEgXJhyyMb18l/L2QfyCuzb/9pVcwsTrxeejwmCg7u\nnxKP2DM5dbdIa/jmZqdFVGYH0vi1G6xM/hysw8HfnjYQVTvJQQjYBrOAHbk1\n6xPqsQNQMiSi0NAQOheZN6xmgpw9PpstA5tcZ/4URocY55JasuT5KTH/U7V1\nwpFXx9PgpEBh78cZJbgerBq3WTk8q8MunvTheFfuaUrYSCbAAYSjntsspUFO\n+Ei3N0Qy+6PnYV///CAK1t5fmyjq5JZ+BsVkrVfWXXzp+xDyVqD+4FX9Sibk\nYbifSz6+FWU3eRz/mrhmEEsJvYm5NWhRpaIFIvZbTfnzoV2L+BVdRj44t3px\nGMwxlxl2x/uGvHQO5bRC1zjDvcv/a4Ijx1DF8nZJV61nFGrfpvKn77jv1w/q\ncxvR6LRlto2pPsWkkyYV8kRjk39H7a066fEDELZ0aeuiGNfz+g0iKivJ2sFZ\njjop\r\n=HAP4\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=10.17.0","yarn":">=1 <3"},"gitHead":"272762d670786cf4c7ee0e26b2f20ab12dfd37a9","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"6.11.3","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"10.17.0","dependencies":{"glob":"^7.1.7","sass":"^1.32.13","core-js":"^3.12.1","flatted":"^3.1.1","js-yaml":"^3.14.1","webpack":"^4.46.0","css-loader":"^3.6.0","@babel/core":"^7.14.3","file-loader":"^6.2.0","sass-loader":"10.1.1","webpack-cli":"^3.3.12","babel-loader":"^8.2.2","style-loader":"^1.3.0","@babel/runtime":"^7.14.0","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.4.3","@babel/preset-env":"^7.14.2","pnp-webpack-plugin":"^1.6.4","postcss-preset-env":"^6.7.0","babel-plugin-macros":"^2.8.0","postcss-safe-parser":"^4.0.2","regenerator-runtime":"^0.13.7","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^4.2.3","postcss-flexbugs-fixes":"^4.2.1","mini-css-extract-plugin":"^0.9.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^4.0.1","@babel/plugin-transform-runtime":"^7.14.3","babel-plugin-dynamic-import-node":"^2.3.3","optimize-css-assets-webpack-plugin":"^5.0.6","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-regenerator":"^7.13.15","case-sensitive-paths-webpack-plugin":"^2.4.0","@babel/plugin-transform-destructuring":"^7.13.17","@babel/plugin-proposal-class-properties":"^7.13.0","@babel/plugin-proposal-object-rest-spread":"^7.14.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","eslint":"^7.26.0","eslint-plugin-react":"^7.23.2","eslint-config-airbnb":"^18.2.1","eslint-plugin-import":"^2.23.2","eslint-plugin-jsx-a11y":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_5.4.0_1621333712912_0.1447099435562902","host":"s3://npm-registry-packages"}},"6.0.0-rc.1":{"name":"@rails/webpacker","version":"6.0.0-rc.1","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@6.0.0-rc.1","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kasper@hey.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"marcelolx","email":"marcelolauxen16@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"158a10e0b14b55de95b84aa439c61295e2272cf6","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-6.0.0-rc.1.tgz","fileCount":35,"integrity":"sha512-GTQmHoYVqyrPrRiyWEv/wN4CiKDHuukI5QRfZUiFW1jJThGDXVisriuT5GmDbEMZT9O6GMCLYv7BK8GahFHiRw==","signatures":[{"sig":"MEUCIAzngJi0N6HUqlGI91QtSTo/sS7rald83SQNYPQBbo38AiEA7xYBwBMexWky9mysOx2OFs0MSXdB6P2Ak5dA7JQcwfw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55363,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHQBwCRA9TVsSAnZWagAAY8cQAJGKg7/HOXEVmongKamq\n+GmUttHI7MaXkJYClOb1c+G9ykOUvbhdrkcXbBNZcxHzZE/XFyY5ypOtt3gm\nJvQyzwW4bnT+vddjoF8wt1575XYFfRN7QhoRZQcbxisSDgfeXME4eXDrKcCK\n9y8tDZKV2OPKnCjJJj+gijWbuW2qRoqVwsi0QeyKrD0uLI7nIJV6eLTYo9Xs\nO3FZMrmQ58uK/+bg73s+6l27lApyW7CxlWfa0aZlQK7iOQiwx+G3EQsUgzRp\napfrUvUh+GwTAbC7s5JoUtsVrxG86JIRLdW4Ko+zasylbcS9d2eUCQOY3X+q\n8qWhHPnc0kkmvbS6JTcUxcDVPAfGE38v+FMnepNmVFRpXU6Q/obnkL8rjWYh\nFpf3Z+Q46RnC1Q1MAsrUqo+ay5+ZSjwNY19Y2Tmu0xHrlpjF0pXZ6+O6jH76\nuV/GZZAbS6UHnu4O9hV2a0iMY31sn1yXu4iNiYYPoAYSHBZ6vRSecfq6w/3g\nIuuxpPYZe1krSQ5/kpPtPGnt7VR98ldxG6wxoD9Kq6CHJmNJQ6Sjty0i4BF1\nB9U7piuOXYvRxdO0UNeeBVgPNgqAY+azahNC40aVvL7HXJEAK7jC1RnTpvi7\n9SyyA79AvTjNIBdhz354J5kyuu1m3guaixxqcNcQD7NmmsJSqHeEu5ah+wMd\n2Q+e\r\n=rWmD\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":"^12 || >=14","yarn":">=1 <4"},"gitHead":"5a388fda12e7b26af58c9b1e0ebd6344b748bd93","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"dhh","email":"david@hey.com"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"7.20.3","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"16.7.0","dependencies":{"glob":"^7.1.7","js-yaml":"^3.14.1","webpack":"^5.50.0","@babel/core":"^7.15.0","webpack-cli":"^4.8.0","babel-loader":"^8.2.2","webpack-merge":"^5.8.0","@babel/runtime":"^7.15.3","webpack-sources":"^3.2.0","@babel/preset-env":"^7.15.0","pnp-webpack-plugin":"^1.7.0","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^5.1.4","webpack-assets-manifest":"^5.0.6","compression-webpack-plugin":"^7.1.2","@babel/plugin-transform-runtime":"^7.15.0","@babel/plugin-proposal-class-properties":"^7.14.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","eslint":"^7.32.0","eslint-plugin-react":"^7.24.0","eslint-config-airbnb":"^18.2.1","eslint-plugin-import":"^2.24.0","eslint-config-prettier":"^7.2.0","eslint-plugin-jsx-a11y":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_6.0.0-rc.1_1629290607973_0.042553983721765","host":"s3://npm-registry-packages"}},"5.4.1":{"name":"@rails/webpacker","version":"5.4.1","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@5.4.1","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kasper@hey.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"marcelolx","email":"marcelolauxen16@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"a98fef84f25f05d048fd93fe1ee2f196e2fe9bf7","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-5.4.1.tgz","fileCount":42,"integrity":"sha512-nK5j1CqR2ZNLRCEl2y5MhG8SOAVzN9AIEbyPC2OYfAc7SrfPxWoiLapo2sm1Cqhz6+oUtI9VfkD/KyDiS6qrXA==","signatures":[{"sig":"MEYCIQD91F6WyA+EoW0nd1DiyMwIS4lOd0rwR1DwMxJ/CKZ82gIhAPT5ShMtmVYpxH98pxpzvz3L6wxF+mVnZvI8hgxWVx+4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61320,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhH2eeCRA9TVsSAnZWagAA/RsP/jEHLEdalbGoxu8Zaf8u\nzm3f9w5EPdGM6QML3BdEDMkdhkewSrLkKTQpa5IcvgjsibMy/MhEgBWprZmU\nGtl+AGe3rZH+6xwXIh0fDY/xW2AWeRPanhuClHEhz+H/J7X3sgadl00T7PJA\ntR/rVXbLm8/lWO4ZzzxJc6RRoRY0TfDo9nfsuaBjHR/NjWWgokAFIFiZrJ3A\nMQxHgMovhzcu1B63a7Fn02mWW1q1/JVG97sUfDZP72LsV/J4yuUd5r/LlPOJ\n3R5zZb6FFXMiV8b9moR15iFIagNrjqTkAIAYlaT8UIp6vEY8J3lQ0sXLW5Wp\ne5rrUpwX/Raq1jIqCB4e516mhkPaJ3ytdfbSVpvPUhfn02PKW+dK4tVQXjr8\n39oHrP1JwI/ORwPVjmVxIhJuf7VKDyqSFFNxQV3C5NdlnRs7IdQS2cD+Yab2\nHPRjxIC0e0cEMKDV0miV/4br8CMq4l1M57+iaeB0lVqzr273fZpKpytyWX4K\nE2UXUDJVM0d1aKZyiPmU+c+bQFjVhmX26Ozp1JA/XxH/I+OU10zR8zb+zHys\n8pYkiRe7Iv2ZtqHJy6+01I3q/c1F8pUFYb1ydp9E7GjFsA/97JpieRtD+fDe\nS+0fgcB4qZKqQ6051OfjJGePFCYyzf40/nucTSKgI1sxOJH0IWXIreFKI3RR\nbTNH\r\n=AXMQ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=10.17.0","yarn":">=1 <4"},"gitHead":"0a810f0d5f48325c203950d932513b7750c26ac0","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"dhh","email":"david@hey.com"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"7.13.0","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"16.2.0","dependencies":{"glob":"^7.1.7","sass":"^1.38.0","core-js":"^3.16.2","flatted":"^3.2.2","js-yaml":"^3.14.1","webpack":"^4.46.0","css-loader":"^3.6.0","@babel/core":"^7.15.0","file-loader":"^6.2.0","sass-loader":"10.1.1","webpack-cli":"^3.3.12","babel-loader":"^8.2.2","style-loader":"^1.3.0","@babel/runtime":"^7.15.3","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.4.3","@babel/preset-env":"^7.15.0","pnp-webpack-plugin":"^1.7.0","postcss-preset-env":"^6.7.0","babel-plugin-macros":"^2.8.0","postcss-safe-parser":"^4.0.2","regenerator-runtime":"^0.13.9","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^4.2.3","postcss-flexbugs-fixes":"^4.2.1","mini-css-extract-plugin":"^0.9.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^4.0.1","@babel/plugin-transform-runtime":"^7.15.0","babel-plugin-dynamic-import-node":"^2.3.3","optimize-css-assets-webpack-plugin":"^5.0.8","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-regenerator":"^7.14.5","case-sensitive-paths-webpack-plugin":"^2.4.0","@babel/plugin-transform-destructuring":"^7.14.7","@babel/plugin-proposal-class-properties":"^7.14.5","@babel/plugin-proposal-object-rest-spread":"^7.14.7"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","eslint":"^7.32.0","eslint-plugin-react":"^7.24.0","eslint-config-airbnb":"^18.2.1","eslint-plugin-import":"^2.24.0","eslint-plugin-jsx-a11y":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_5.4.1_1629448093868_0.4074329361408413","host":"s3://npm-registry-packages"}},"5.4.2":{"name":"@rails/webpacker","version":"5.4.2","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@5.4.2","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kasper@hey.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"marcelolx","email":"marcelolauxen16@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"efc94f7ff396529411bb02a9da964e269ff2edb0","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-5.4.2.tgz","fileCount":42,"integrity":"sha512-35qQWK2HCHGx2TT0UH0vuo5PyXQaahB2KJeGWOVl0jDPfwbvC4yvTq3+0/lhD5uOJx2eraGLRaIN4umwFCsksw==","signatures":[{"sig":"MEYCIQDKe/E8fDuszoe/mQ+0Nogpq4OFccS0ozCy96Ebs4OKZwIhAOkYTY9Vy5eAmm7kh/kRmZ3NEHNbMlrJmrvVuumYTgHh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61320,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhH3C2CRA9TVsSAnZWagAA21YP/RZWF5zLskjmjFqtJJyE\n1ASMQhTy7qrnnQ51/Nbi5Yulkjl2i/cs4TvCxZpJ19KIjL2vqpYDGmG6cx69\nbPmFnfWn0YRLuI6/v3WQhAJxZ0kJuBMSec17sNY8efyMBfXKTX85furbp++U\n86LCaDmjGZcwFD8ww96X2QHiI7PgpAeYKuWJ7Nnz0yd+Cstt2ckt36oHpPY6\nVPmD4DiMNzrReVa07YujiY1rzEFOwLrEkjkRi5tXtH82+vFSZ5hK1hx/zR3B\n6YB7bp+rEshaTd8IgWLxWIb6nm3yadK0lk4f5FoszvHeT/RSqfFwMA9dHAMP\nZHR+U+KIjihgByHewpe/8DDgYGySpzTNglt0d1xqu3XNpOw7pdJsPqsoQGtX\nj/FYTVpTLUO1m8SxQ4iZA8mOWc7v+S1I2HxElgaJ6JbQ/8EoJV5MUzEanL0v\nZJ3hlNKAH367buNwz1BzC2YWg9lhPn8cWyfr8MIN8pWwPAWdsVbx0Rq9WxOF\nzQTFRI/i1IQvLg43FZM3qm1K7mvAjDh8umq/S4nKsRrPY5X2AhoVSUo0hLbS\nbJAIFm55mej7kbLI6a3vjh7JnStOh9B89L58eTPpy4BaqOOrMSokQ06AHp4P\nU9kvdP43c3wIc6Qnz9vVyX/ibmh+WLrW7zP/4dERFEv+jqBlOOVTDhjZXbXz\nI+MF\r\n=qZ6p\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=10.17.0","yarn":">=1 <4"},"gitHead":"c43f55faf81e8e2b6a5e3604bf8e5d0bc9c39160","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"dhh","email":"david@hey.com"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"7.13.0","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"16.2.0","dependencies":{"glob":"^7.1.7","sass":"^1.38.0","core-js":"^3.16.2","flatted":"^3.2.2","js-yaml":"^3.14.1","webpack":"^4.46.0","css-loader":"^3.6.0","@babel/core":"^7.15.0","file-loader":"^6.2.0","sass-loader":"10.1.1","webpack-cli":"^3.3.12","babel-loader":"^8.2.2","style-loader":"^1.3.0","@babel/runtime":"^7.15.3","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.4.3","@babel/preset-env":"^7.15.0","pnp-webpack-plugin":"^1.7.0","postcss-preset-env":"^6.7.0","babel-plugin-macros":"^2.8.0","postcss-safe-parser":"^4.0.2","regenerator-runtime":"^0.13.9","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^4.2.3","postcss-flexbugs-fixes":"^4.2.1","mini-css-extract-plugin":"^0.9.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^4.0.1","@babel/plugin-transform-runtime":"^7.15.0","babel-plugin-dynamic-import-node":"^2.3.3","optimize-css-assets-webpack-plugin":"^5.0.8","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-regenerator":"^7.14.5","case-sensitive-paths-webpack-plugin":"^2.4.0","@babel/plugin-transform-destructuring":"^7.14.7","@babel/plugin-proposal-class-properties":"^7.14.5","@babel/plugin-proposal-object-rest-spread":"^7.14.7"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","eslint":"^7.32.0","eslint-plugin-react":"^7.24.0","eslint-config-airbnb":"^18.2.1","eslint-plugin-import":"^2.24.0","eslint-plugin-jsx-a11y":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_5.4.2_1629450422385_0.8165451544835858","host":"s3://npm-registry-packages"}},"6.0.0-rc.2":{"name":"@rails/webpacker","version":"6.0.0-rc.2","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@6.0.0-rc.2","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kasper@hey.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"marcelolx","email":"marcelolauxen16@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"44a3305849a3c236c2030fb00274bebdcb4ae447","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-6.0.0-rc.2.tgz","fileCount":35,"integrity":"sha512-wv+TegB7MncMZ7Lp9bEPYV7YZtuC+Qr7RMW6m78cbFsn5Gc8bCiy0CyfjhSOVfh1BAxSrz2S/Hw7UChIX87xSg==","signatures":[{"sig":"MEYCIQDBKK6hbmckuJ9tdPArOlCxqhwH6hKSErTXJK6WQ0a3WgIhAPHELtvvpO5TUd04Fv2YSLmSVo3v7ca4t3TjsOAM1rcf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJky9CRA9TVsSAnZWagAAaWsP/iFF8u2swEfKBWdd7uFv\nBqr6V7OEVZaZQlPycdNtGb5sdoPGrfF/2Dq200Y+wsNBhd+oUZvbCoo1OAcB\namuorLqaRFnGPOZm80GFcrYOco/5UddqNYig39Gk6lZDxGtiCWr9b/99kkd9\nFBuVtavQlrGnx1s1WUkZzSpfzfdOTfKn5LYMzWjKffK79D8eMxaJ0ykrDLnB\njxeX+JlT732hKu9jriVAIBX8gGJ072fTUq6gSR80WfOKZKv6eVfUOo0Ppmcb\n6nFjfzDd70jhZXqEGtNUhYtYXEuT9niGRJgI0PgNIAs4CXRze7VLUq9DqwFJ\nVhTORXZDtjKfZqZ4ESAxw8y4RCxiINpGtWGS6SCDThiNHT3WUyPU9gCcb2Rp\nBzs2Pnp78omdUXZu3/n8pNm8ohzByZ7Nd1KXX94M8RWdpZu0oWOuRNrlGJ3r\nozDZkCk/mifeUEYmHK2PfIDp9+Q3FKUr74f5uhHzI7+zp+6VD1L6P1nOGRuC\nbECS1WK9AjDzBPs+Ry2//Ux1M83eFGbZwtip9SBzOHNa/BeirwvT3ICVWfSM\nxVKwFppl+pwniBphap7T8CKi5OfZCSruWc491kEvg/lBJ6JDLBvtWO+TQXz9\nzkvtirkbZUboQlgqOnT21Ey63YaXu7lYzp5gsxV8a+qqyYLBIQFE6HsaguWq\n3UIm\r\n=a8wu\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":"^12 || >=14","yarn":">=1 <4"},"gitHead":"cb079f55837e10ce7b09383172dcb64d15a8d459","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"dhh","email":"david@hey.com"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"7.20.3","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"16.7.0","dependencies":{"glob":"^7.1.7","js-yaml":"^3.14.1","webpack":"^5.50.0","@babel/core":"^7.15.0","webpack-cli":"^4.8.0","babel-loader":"^8.2.2","webpack-merge":"^5.8.0","@babel/runtime":"^7.15.3","webpack-sources":"^3.2.0","@babel/preset-env":"^7.15.0","pnp-webpack-plugin":"^1.7.0","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^5.1.4","webpack-assets-manifest":"^5.0.6","compression-webpack-plugin":"^7.1.2","@babel/plugin-transform-runtime":"^7.15.0","@babel/plugin-proposal-class-properties":"^7.14.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","eslint":"^7.32.0","eslint-plugin-react":"^7.24.0","eslint-config-airbnb":"^18.2.1","eslint-plugin-import":"^2.24.0","eslint-config-prettier":"^7.2.0","eslint-plugin-jsx-a11y":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_6.0.0-rc.2_1629899964989_0.8466530142536906","host":"s3://npm-registry-packages"}},"6.0.0-rc.3":{"name":"@rails/webpacker","version":"6.0.0-rc.3","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@6.0.0-rc.3","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kasper@hey.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"marcelolx","email":"marcelolauxen16@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"c730847bdfb5aa65a75fbf9417b5217f3f397e88","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-6.0.0-rc.3.tgz","fileCount":35,"integrity":"sha512-wcqterUYarwbnOHbpo7ZOeerJg4tMyPLGfC8O1LiewrmCnxKlH2/9cz4cuaS8S9hiNcE5BOtyve8toKjUrBOiQ==","signatures":[{"sig":"MEUCICvG2zURjRM4Expaa4Z5/scrqfCzGdzY3J1ijJy4wOYJAiEA9i5b/9+Ac32MqIRoM3dXnSpFMohI1bcSitWnO82CMl8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJmn4CRA9TVsSAnZWagAACdEP/08+RZuMZTvPrNfuO5VL\nRlR+ZryFIP6eFihXqloz2W4/jtyfeQVZZGl1Lhzn8+nYdnS8g16/wk6t6Hi1\nEE67Z/7qk1k4eEOnyO2KQwj3U9QnYnlbPrQE6Mjj5IP6nFbGLeokbIIdSsPM\n2vuYWLIWogLn1Oxfx3oYF+mphfYFM5tiG/5YgofH77kF4OP/1COy2ev9juVj\nbB70oxshVbMDZLKZQH8KPfhc8+jgmziBCxPTadNO8Por1rOKaTF+qn50a6wK\n2hAS8VplkDzPW3iHwdI55nbiinDrM4b8suoWRtvqK20JxgkxGVgXORg+SLht\nko24orR8qMQeNvHdq6yNCfbYFy0cskoUfmvtRJd47lmCWEZNAoK3QNAYboRG\nPxZUUo+njiHAfeVvBpAdBjr+vo358F2C78nMaGliBp7lw5Fwyi/Eaa5tio0W\nFTrMYHZ4f6y7UYzpvfavw1iSJUx5DvCYABb+LtvwQPa5ons5C7Mj6PO7HsUp\n2KUhBXnRwAycOTXzeeO/N3pypZxtK+5g1LM/67OwJNdXqzODv5wOyQ+m3Hks\nwuehj6a7bQTa4y4/gOgg/SnwgJVw5I9mb8MoMaQFa1ZfDBBSwEK4DzZAlm1/\nNh7OLBVnjujg6K4zGtgGU+vZn0G7GL2QbQw1XcRYLhE6/RKErKiaBfOPM68g\n6LyD\r\n=0ojL\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">= 12.13.0 || >=14","yarn":">=1 <4"},"gitHead":"c2495056849828aa4bc44d5096f1963ec6501507","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"dhh","email":"david@hey.com"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"7.20.3","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"16.7.0","dependencies":{"glob":"^7.1.7","js-yaml":"^4.1.0","webpack":"^5.51.1","@babel/core":"^7.15.0","webpack-cli":"^4.8.0","babel-loader":"^8.2.2","webpack-merge":"^5.8.0","@babel/runtime":"^7.15.3","webpack-sources":"^3.2.0","@babel/preset-env":"^7.15.0","pnp-webpack-plugin":"^1.7.0","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^5.1.4","webpack-assets-manifest":"^5.0.6","compression-webpack-plugin":"^8.0.1","@babel/plugin-transform-runtime":"^7.15.0","@babel/plugin-proposal-class-properties":"^7.14.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","eslint":"^7.32.0","eslint-plugin-react":"^7.24.0","eslint-config-airbnb":"^18.2.1","eslint-plugin-import":"^2.24.1","eslint-config-prettier":"^8.3.0","eslint-plugin-jsx-a11y":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_6.0.0-rc.3_1629907448268_0.22466954585961219","host":"s3://npm-registry-packages"}},"6.0.0-rc.4":{"name":"@rails/webpacker","version":"6.0.0-rc.4","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@6.0.0-rc.4","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kasper@hey.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"marcelolx","email":"marcelolauxen16@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"940dc00e81a7e6b73e63d99f1427235d33748ff1","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-6.0.0-rc.4.tgz","fileCount":35,"integrity":"sha512-0IIr/Bf7050/TXiwikKfMHGfHIxGm1gvHlPN3Oplm6x08dkrhPXxigjWFHZb8Em57MGIzX9LVa79GKkQT/Yp9w==","signatures":[{"sig":"MEYCIQDLoHJwNzQCJK7cafnAk5L3XyrZdiAxnd8+iiONdP+gyQIhANdKbPE0jKrsvNzztkUJnCgZac3q9UMx6FZKypPqw342","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJnQoCRA9TVsSAnZWagAAMjcP/2NMZRc8W1DfAJn+h1pr\ndYp8Wq51G2I5q/FL25EEg/ZluhFSOJhYCPdm5jzcaQ09SIcAH3i0oBeqSBIN\nmt2kXWDkLo02w3+k4L4ji9JBUngc+PX7Z48cRpkKU/Lx465mFq6l7xWeYiWm\nkk7+nGP3nX3hDYpj9rqYEkaUJax+T0kvM+SzK5ZLJSje/6L7OBg1OvTfqTjd\nnHzQFFh5tIr6p3u4lATP+4cF8T9HxwKnM4VojmJkaZWdn+JDedrtRaPrRbcZ\nIMRsFz4MfjuuLnIIWRvLdnRC891hHjmP8KSZYMpr0q78w3FUY6ap1lEQgvea\nswXTHRS6tVrWEwamd7x3urvO1AYVCdbm8yraph/7ksPNJx+5MWBJzi8mHBWI\n7THiyicwKnr/pJe3LAD+VOpjxcDwvckByYM7J9EHo6T+tlp+LmmBLABC3UAP\nKL3TcclBYzKIvnZ02A2Oyz0wQ0tdO5JNVyiaQ6nZguFT1u5MzpjA2XAE3330\nezdzo0O+X0Rr7YHcsBmkq1hhtqRlgv/gLda8ORKcHPkQBMHjW97CQ6WeloZh\nT47tIzPa1mY419Es/tSOib/fIg7A8Z4jVIOGzJuSv01jUVd2+m0oJeUxWiWH\nq2l+Ya2pphGaKlqiBZ1f6bbj6gs94aQk1OSVRYzNVVfrebAB7SC4ZyLR4LJ+\nmRre\r\n=KaRe\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">= 12.13.0 || >=14","yarn":">=1 <4"},"gitHead":"aa43e71a3180f45885e17dd825487674a01a8176","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"dhh","email":"david@hey.com"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"7.20.3","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"16.7.0","dependencies":{"glob":"^7.1.7","js-yaml":"^4.1.0","webpack":"^5.51.1","@babel/core":"^7.15.0","webpack-cli":"^4.8.0","babel-loader":"^8.2.2","webpack-merge":"^5.8.0","@babel/runtime":"^7.15.3","webpack-sources":"^3.2.0","@babel/preset-env":"^7.15.0","pnp-webpack-plugin":"^1.7.0","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^5.1.4","webpack-assets-manifest":"^5.0.6","compression-webpack-plugin":"^8.0.1","@babel/plugin-transform-runtime":"^7.15.0","@babel/plugin-proposal-class-properties":"^7.14.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","eslint":"^7.32.0","eslint-plugin-react":"^7.24.0","eslint-config-airbnb":"^18.2.1","eslint-plugin-import":"^2.24.1","eslint-config-prettier":"^8.3.0","eslint-plugin-jsx-a11y":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_6.0.0-rc.4_1629910055942_0.1775053644398239","host":"s3://npm-registry-packages"}},"6.0.0-rc.5":{"name":"@rails/webpacker","version":"6.0.0-rc.5","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@6.0.0-rc.5","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kasper@hey.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"marcelolx","email":"marcelolauxen16@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"496466b331f3673cf73149d1e3bbc39dce3e1020","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-6.0.0-rc.5.tgz","fileCount":35,"integrity":"sha512-GOEhRs+mRRVZIiZbnLQ1WTxRCuu687rO4cvUVP7WMJ+z5uFr3EQkCaLq5VOtonWHzYbZIBEWH4rCWv0uZnrywQ==","signatures":[{"sig":"MEUCIQCLgKCeZ6AXp6Z5x/BTc5mYqMsB6eYXXT/9trh1y8pBpwIgISRtK7mh4GmHC6hfWX+PHKKIeMmyHXT17ipL5eQmXQ4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54285,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJoAfCRA9TVsSAnZWagAAE3sP/jHccl2urGyrfBDNDnPJ\nVYl6JjMk+rAJ8vBVxvPPty/qgJcIRkmilSIqGaAYVD7kIrypIeSKSTi52wzD\nAbXyOP08hmoyceqfMVMXEH2ljI1UYdQ5qmwY+/UQV4xAgb5CNVzfqT/EbxBb\nd68rNI4MezjebO14v12yrqzzzzu0BiO4H3KIjivwT3pw5qPj9xuqh83vrpRa\nMGqscGuv225kw+ycI6Kw1HnZ/2hc0H0ftkHFEbSHNizbTjRr6fs37/rshxlZ\ngSJOTNtx16mkjSeMZo908m2QCZpZ8bn2hBAZqwFjqgVJ5l4LiT98dIhsRizU\n/HgiZmscVN5H39879TVkujrl7rlQtCcY1XUK54lQSKlTxiHmN+b8mMJ6Avso\nzn43Hh/tgIQFmAt5H33GT1WVJ+CBFzWSTBN0WqPG8djHGQYDgXW3Y1e+gU+/\nq43tAz3LAPvZPt2Uoz/5QDXULz7JWT4P8q+/F4MUG2vY732//emu33kvn2gI\nuoYjUGJuL+8CzgXHn/JlEa3fV/q334HZEvT6lvH8qt1rTXJxAv0UKdFBZEmL\nRa/pGDk9J2XSTE0i0ZysVRYozwEj5WO86ZBMUG38anmC+9tz9DX9jxI3KOjs\nbZEJ7wNxXQpL+Zr3sw3zEQvlqrpVFz8L7ppvFtKG/uoaYFusWby2tom5hMN5\npqfD\r\n=VEgl\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">= 12.13.0 || >=14","yarn":">=1 <4"},"gitHead":"156a88d7553cd6e83f10216dcae819ec98c8b68d","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"dhh","email":"david@hey.com"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"7.20.3","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"16.7.0","dependencies":{"glob":"^7.1.7","js-yaml":"^4.1.0","webpack":"^5.51.1","@babel/core":"^7.15.0","webpack-cli":"^4.8.0","babel-loader":"^8.2.2","webpack-merge":"^5.8.0","@babel/runtime":"^7.15.3","webpack-sources":"^3.2.0","@babel/preset-env":"^7.15.0","pnp-webpack-plugin":"^1.7.0","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^5.1.4","webpack-assets-manifest":"^5.0.6","compression-webpack-plugin":"^8.0.1","@babel/plugin-transform-runtime":"^7.15.0","@babel/plugin-proposal-class-properties":"^7.14.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","eslint":"^7.32.0","eslint-plugin-react":"^7.24.0","eslint-config-airbnb":"^18.2.1","eslint-plugin-import":"^2.24.1","eslint-config-prettier":"^8.3.0","eslint-plugin-jsx-a11y":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_6.0.0-rc.5_1629913119727_0.3293588099122393","host":"s3://npm-registry-packages"}},"5.4.3":{"name":"@rails/webpacker","version":"5.4.3","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@5.4.3","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kasper@hey.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"marcelolx","email":"marcelolauxen16@gmail.com"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"cfe2d8faffe7db5001bad50a1534408b4f2efb2f","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-5.4.3.tgz","fileCount":42,"integrity":"sha512-tEM8tpUtfx6FxKwcuQ9+v6pzgqM5LeAdhT6IJ4Te3BPKFO1xrGrXugqeRuZ+gE8ASDZRTOK6yuQkapOpuX5JdA==","signatures":[{"sig":"MEYCIQCok2SujUzseE8bY3p7poLIr6+GeQrrOdjqpR/IfVqgWwIhAMAPZjmZ9hwQQPJRGgCadrxPxbY8QHfMivfuvX1IGFBc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61320,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2X5+CRA9TVsSAnZWagAAm7wP/jn2zRLMVwn3ozPhXIXM\n1WBQTorE5Mq6BIpYP54lENEqg4OVRIOU9gcJED3gE9xh/xwZtrgbVhSVAUGp\nN/ecbm9xmpuIWD0Fy0R2UIC7gfuUjG0pnD4QsWa3fPUV9AR6jWYR6XGQThOD\ni1YIw4Q6nGVl7EygJntS1uumVHygwKC/g2Ac9oJzXA5e1Si6Q+p7PS0G7jYQ\nC0uRFbE7A+e8mMzRiyskKcgEvNzHmXXitlGXuCllKK005o4talr+6VU4gGVB\ncov5jsZBC7X4wGdkqqOUOYibar8MZOvVNSVrOjSxFm7Lfko2q9swOJhhdh5v\nRboPo6goUSyvl3K4q+t3CZbhj3EfHDZQYraff0nmn8OECakGGTV419O9cpws\nLNYqyAqZwJ6sb6wHQp7huWByyh8x9yNpWJYoMVzfgIo0mz73eA/5y0jWkw1g\nfIiVTL2Yo124WWJ9b7mxX0G0e67J2gBLg9ezcuhefXBhz2u/DGsEHJAWoama\n6JyFIDtYFbYwy8NppwJ478aXb48GknyG8P7IWBILUXIBA82GxvJ9Mhzv5u1N\nenr0CxpMlNbAGio82c9Haf6pYMnc61inPYJ25DGPMh6hlHzQrGQrrS0c/imO\n1flXYXIDb1cjrBFXej42xL0f4iDDBY+QCKKTBusg29RNS5mayojF8I9TtJJR\nDFRc\r\n=qaPR\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=10.17.0","yarn":">=1 <4"},"gitHead":"e5ebf860f72619845ab0371e9fd1fff60cbd9292","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"dhh","email":"david@hey.com"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"7.20.3","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"16.7.0","dependencies":{"glob":"^7.1.7","sass":"^1.38.0","core-js":"^3.16.2","flatted":"^3.2.2","js-yaml":"^3.14.1","webpack":"^4.46.0","css-loader":"^3.6.0","@babel/core":"^7.15.0","file-loader":"^6.2.0","sass-loader":"10.1.1","webpack-cli":"^3.3.12","babel-loader":"^8.2.2","style-loader":"^1.3.0","@babel/runtime":"^7.15.3","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.4.3","@babel/preset-env":"^7.15.0","pnp-webpack-plugin":"^1.7.0","postcss-preset-env":"^6.7.0","babel-plugin-macros":"^2.8.0","postcss-safe-parser":"^4.0.2","regenerator-runtime":"^0.13.9","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^4.2.3","postcss-flexbugs-fixes":"^4.2.1","mini-css-extract-plugin":"^0.9.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^4.0.1","@babel/plugin-transform-runtime":"^7.15.0","babel-plugin-dynamic-import-node":"^2.3.3","optimize-css-assets-webpack-plugin":"^5.0.8","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-regenerator":"^7.14.5","case-sensitive-paths-webpack-plugin":"^2.4.0","@babel/plugin-transform-destructuring":"^7.14.7","@babel/plugin-proposal-class-properties":"^7.14.5","@babel/plugin-proposal-object-rest-spread":"^7.14.7"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","eslint":"^7.32.0","eslint-plugin-react":"^7.24.0","eslint-config-airbnb":"^18.2.1","eslint-plugin-import":"^2.24.0","eslint-plugin-jsx-a11y":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_5.4.3_1631648199497_0.6235788857161195","host":"s3://npm-registry-packages"}},"6.0.0-rc.6":{"name":"@rails/webpacker","version":"6.0.0-rc.6","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@6.0.0-rc.6","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kasper@hey.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"04af15dc33697e09aa492da54d2093cdd15573ff","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-6.0.0-rc.6.tgz","fileCount":35,"integrity":"sha512-nbDxn3KsSoLeJgVpU3J81wiXLg4vErEahWdi08BJx5EO9aS6+mXWhOXHKyQogCxLkBMvLZqOafUnJMcK9O+9sA==","signatures":[{"sig":"MEYCIQCswy3WPC5ehGJL0pPVqE2XE5K3bRHQGoY4rsEFfA5ySQIhAPOej/E3P+6OkgWg8wcuiIT5i2YTCRtvAPu8449DOROY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54755},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","readme":"# Webpacker\n\n[![Ruby specs](https://github.com/rails/webpacker/workflows/Ruby%20specs/badge.svg)](https://github.com/rails/webpacker/actions)\n[![Jest specs](https://github.com/rails/webpacker/workflows/Jest%20specs/badge.svg)](https://github.com/rails/webpacker/actions)\n[![Rubocop](https://github.com/rails/webpacker/workflows/Rubocop/badge.svg)](https://github.com/rails/webpacker/actions)\n[![JS lint](https://github.com/rails/webpacker/workflows/JS%20lint/badge.svg)](https://github.com/rails/webpacker/actions)\n\n[![node.js](https://img.shields.io/badge/node-%3E%3D%2012.0.0-brightgreen.svg)](https://www.npmjs.com/package/@rails/webpacker)\n[![Gem](https://img.shields.io/gem/v/webpacker.svg)](https://rubygems.org/gems/webpacker)\n\nWebpacker makes it easy to use the JavaScript pre-processor and bundler\n[Webpack v5](https://webpack.js.org/)\nto manage application-like JavaScript in Rails. It can coexist with the asset pipeline,\nleaving Webpack responsible solely for app-like JavaScript, or it can be used exclusively, making it also responsible for images, fonts, and CSS.\n\n**NOTE:** The master branch now hosts the code for v6.x.x. Please refer to [5-x-stable](https://github.com/rails/webpacker/tree/5-x-stable) branch for 5.x documentation.\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n- [Features](#features)\n  - [Optional support](#optional-support)\n- [Installation](#installation)\n  - [Usage](#usage)\n    - [Server-Side Rendering (SSR)](#server-side-rendering-ssr)\n  - [Development](#development)\n  - [Webpack Configuration](#webpack-configuration)\n  - [Babel Configuration](#babel-configuration)\n  - [Integrations](#integrations)\n    - [React](#react)\n    - [CoffeeScript](#coffeescript)\n    - [TypeScript](#typescript)\n    - [CSS](#css)\n    - [Postcss](#postcss)\n    - [Sass](#sass)\n    - [Less](#less)\n    - [Stylus](#stylus)\n    - [Other frameworks](#other-frameworks)\n  - [Custom Rails environments](#custom-rails-environments)\n  - [Upgrading](#upgrading)\n- [Paths](#paths)\n  - [Additional paths](#additional-paths)\n- [Deployment](#deployment)\n- [Troubleshooting](#troubleshooting)\n- [Contributing](#contributing)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Prerequisites\n\n- Ruby 2.4+\n- Rails 5.2+\n- Node.js 12.13.0+ || 14+\n- Yarn\n\n## Features\n\n- [Webpack v5](https://webpack.js.org/)\n- ES6 with [babel](https://babeljs.io/)\n- Automatic code splitting using multiple entry points\n- Asset compression, source-maps, and minification\n- CDN support\n- Rails view helpers\n- Extensible and configurable\n\n### Optional support\n\n  _requires extra packages to be installed_\n\n  - Stylesheets - Sass, Less, Stylus and Css, PostCSS\n  - CoffeeScript\n  - TypeScript\n  - React\n\n## Installation\n\nYou can configure a new Rails application with Webpacker right from the start using the `-j webpack` option:\n\n```bash\nrails new myapp -j webpack\n```\n\nOr you can add it later by changing your `Gemfile`:\n\n```ruby\n# Gemfile\ngem 'webpacker', '~> 6.0'\n\n# OR if you prefer to use master\ngem 'webpacker', git: 'https://github.com/rails/webpacker.git'\nyarn add https://github.com/rails/webpacker.git\n```\n\nThen running the following to install Webpacker:\n\n```bash\n./bin/bundle install\n./bin/rails webpacker:install\n```\n\nWhen `package.json` and/or `yarn.lock` changes, such as when pulling down changes to your local environment in a team settings, be sure to keep your NPM packages up-to-date:\n\n```bash\nyarn install\n```\n\n### Usage\n\nOnce installed, you can start writing modern ES6-flavored JavaScript apps right away:\n\n```yml\napp/javascript:\n  # Only Webpack entry files here\n  └── application.js\n  └── application.css\n  └── src:\n  │   └── my_component.js\n  └── stylesheets:\n  │   └── my_styles.css\n  └── images:\n      └── logo.svg\n```\n\nYou can then link the JavaScript pack in Rails views using the `javascript_pack_tag` helper. If you have styles imported in your pack file, you can link them by using `stylesheet_pack_tag`:\n\n```erb\n<%= javascript_pack_tag 'application' %>\n<%= stylesheet_pack_tag 'application' %>\n```\n\nThe `javascript_pack_tag` and `stylesheet_pack_tag` helpers will include all the transpiled\npacks with the chunks in your view, which creates html tags for all the chunks.\n\nThe result looks like this:\n\n```erb\n<%= javascript_pack_tag 'calendar', 'map', 'data-turbolinks-track': 'reload' %>\n\n<script src=\"/packs/vendor-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\" defer></script>\n<script src=\"/packs/calendar~runtime-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\" defer></script>\n<script src=\"/packs/calendar-1016838bab065ae1e314.js\" data-turbolinks-track=\"reload\" defer\"></script>\n<script src=\"/packs/map~runtime-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\" defer></script>\n<script src=\"/packs/map-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\" defer></script>\n```\n\n**Important:** Pass all your pack names as multiple arguments, not multiple calls, when using `javascript_pack_tag` and the **`stylesheet_pack_tag`. Otherwise, you will get duplicated chunks on the page. Be especially careful if you might be calling these view helpers from your view, partials, and the layout for a page. You will need some logic to ensure you call the helpers only once with multiple arguments.\n\n```erb\n<%# DO %>\n<%= javascript_pack_tag 'calendar', 'map' %>\n<%= stylesheet_pack_tag 'calendar', 'map' %>\n\n<%# DON'T %>\n<%= javascript_pack_tag 'calendar' %>\n<%= javascript_pack_tag 'map' %>\n<%= stylesheet_pack_tag 'calendar' %>\n<%= stylesheet_pack_tag 'map' %>\n```\n\nIf you want to link a static asset for `<img />` tag, you can use the `asset_pack_path` helper:\n```erb\n<img src=\"<%= asset_pack_path 'images/logo.svg' %>\" />\n```\n\nOr use the dedicated helper:\n```erb\n<%= image_pack_tag 'application.png', size: '16x10', alt: 'Edit Entry' %>\n<%= image_pack_tag 'picture.png', srcset: { 'picture-2x.png' => '2x' } %>\n```\n\nIf you want to create a favicon:\n```erb\n<%= favicon_pack_tag 'mb-icon.png', rel: 'apple-touch-icon', type: 'image/png' %>\n```\n\nIf you want to preload a static asset in your `<head>`, you can use the `preload_pack_asset` helper:\n```erb\n<%= preload_pack_asset 'fonts/fa-regular-400.woff2' %>\n```\n\nIf you want to use images in your stylesheets:\n\n```css\n.foo {\n  background-image: url('../images/logo.svg')\n}\n```\n##### Defer for `javascript_pack_tag`\nNote, the default of \"defer\" for the `javascript_pack_tag`. You can override that to `false`. If you expose jquery globally with `expose-loader,` by using `import $ from \"expose-loader?exposes=$,jQuery!jquery\"` in your `app/packs/entrypoints/application.js`, pass the option `defer: false` to your `javascript_pack_tag`.\n\n#### Server-Side Rendering (SSR)\n\nNote, if you are using server-side rendering of JavaScript with dynamic code-splitting, as is often done with extensions to Webpacker, like [React on Rails](https://github.com/shakacode/react_on_rails), your JavaScript should create the link prefetch HTML tags that you will use, so you won't need to use to `asset_pack_path` in those circumstances.\n\n**Note:** In order for your styles or static assets files to be available in your view, you would need to link them in your \"pack\" or entry file. Otherwise, Webpack won't know to package up those files.\n\n### Development\n\nWebpacker ships with two binstubs: `./bin/webpack` and `./bin/webpack-dev-server`. Both are thin wrappers around the standard `webpack.js` and `webpack-dev-server.js` executables to ensure that the right configuration files and environmental variables are loaded based on your environment.\n\nIn development, Webpacker compiles on demand rather than upfront by default. This happens when you refer to any of the pack assets using the Webpacker helper methods. This means that you don't have to run any separate processes. Compilation errors are logged to the standard Rails log. However, this auto-compilation happens when a web request is made that requires an updated webpack build, not when files change. Thus, that can be painfully slow for front-end development in this default way. Instead, you should either run the `bin/webpack --watch` or run `./bin/webpack-dev-server`\n\nIf you want to use live code reloading, or you have enough JavaScript that on-demand compilation is too slow, you'll need to run `./bin/webpack-dev-server` or `ruby ./bin/webpack-dev-server`. Windows users will need to run these commands in a terminal separate from `bundle exec rails s`. This process will watch for changes in the relevant files, defined by `webpacker.yml` configuration settings for `source_path`, `source_entry_path`, and `additional_paths`, and it will then automatically reload the browser to match. This feature is also known as [Hot Module Replacement](https://webpack.js.org/concepts/hot-module-replacement/).\n\n```bash\n# webpack dev server\n./bin/webpack-dev-server\n\n# watcher\n./bin/webpack --watch --progress\n\n# standalone build\n./bin/webpack --progress\n\n# Help\n./bin/webpack help\n\n# Version\n./bin/webpack version\n\n# Info\n./bin/webpack info\n```\n\nOnce you start this webpack development server, Webpacker will automatically start proxying all webpack asset requests to this server. When you stop this server, Rails will detect that it's not running and Rails will revert back to on-demand compilation _if_ you have the `compile` option set to true in your `config/webpacker.yml`\n\nYou can use environment variables as options supported by [webpack-dev-server](https://webpack.js.org/configuration/dev-server/) in the form `WEBPACKER_DEV_SERVER_<OPTION>`. Please note that these environmental variables will always take precedence over the ones already set in the configuration file, and that the _same_ environmental variables must be available to the `rails server` process.\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=example.com WEBPACKER_DEV_SERVER_INLINE=true WEBPACKER_DEV_SERVER_HOT=false ./bin/webpack-dev-server\n```\n\nBy default, the webpack dev server listens on `localhost` in development for security purposes. However, if you want your app to be available over local LAN IP or a VM instance like vagrant, you can set the `host` when running `./bin/webpack-dev-server` binstub:\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=0.0.0.0 ./bin/webpack-dev-server\n```\n\n**Note:** You need to allow webpack-dev-server host as an allowed origin for `connect-src` if you are running your application in a restrict CSP environment (like Rails 5.2+). This can be done in Rails 5.2+ in the CSP initializer `config/initializers/content_security_policy.rb` with a snippet like this:\n\n```ruby\nRails.application.config.content_security_policy do |policy|\n  policy.connect_src :self, :https, 'http://localhost:3035', 'ws://localhost:3035' if Rails.env.development?\nend\n```\n\n**Note:** Don't forget to prefix `ruby` when running these binstubs on Windows\n\n\n### Webpack Configuration\n\nWebpacker gives you a default set of configuration files for test, development and production environments in `config/webpack/*.js`. You can configure each individual environment in their respective files or configure them all in the base\n`config/webpack/base.js` file.\n\nBy default, you don't need to make any changes to `config/webpack/*.js` files since it's all standard production-ready configuration. However, if you do need to customize or add a new loader, this is where you would go.\n\nHere is how you can modify webpack configuration:\n\nYou might add separate files to keep your code more organized.\n\n```js\n// config/webpack/custom.js\nmodule.exports = {\n  resolve: {\n    alias: {\n      jquery: 'jquery/src/jquery',\n      vue: 'vue/dist/vue.js',\n      React: 'react',\n      ReactDOM: 'react-dom',\n      vue_resource: 'vue-resource/dist/vue-resource'\n    }\n  }\n}\n```\n\nThen `require` this file in your `config/webpack/base.js`:\n\n```js\n// config/webpack/base.js\nconst { webpackConfig, merge } = require('@rails/webpacker')\nconst customConfig = require('./custom')\n\nmodule.exports = merge(webpackConfig, customConfig)\n```\n\nIf you need access to configs within Webpacker's configuration, you can import them like so:\n\n```js\n// config/webpack/base.js\nconst { webpackConfig } = require('@rails/webpacker')\n\nconsole.log(webpackConfig.output_path)\nconsole.log(webpackConfig.source_path)\n\n// Or to print out your whole webpack configuration\nconsole.log(JSON.stringify(webpackConfig, undefined, 2))\n```\n\n### Babel configuration\n\nBy default, you will find the Webpacker preset in your `package.json`.\n\n```json\n\"babel\": {\n  \"presets\": [\n    \"./node_modules/@rails/webpacker/package/babel/preset.js\"\n  ]\n},\n```\n\nOptionally, you can change your Babel configuration by removing these lines in your `package.json` and add [a Babel configuration file](https://babeljs.io/docs/en/config-files) in your project.\n\n\n### Integrations\n\nWebpacker out of the box supports JS and static assets (fonts, images etc.) compilation. To enable support for CoffeeScript or TypeScript install relevant packages:\n\n#### React\n\n```bash\nyarn add react react-dom @babel/preset-react\n```\n\n...if you are using typescript, update your `tsconfig.json`\n\n```json\n{\n  \"compilerOptions\": {\n    \"declaration\": false,\n    \"emitDecoratorMetadata\": true,\n    \"experimentalDecorators\": true,\n    \"lib\": [\"es6\", \"dom\"],\n    \"module\": \"es6\",\n    \"moduleResolution\": \"node\",\n    \"sourceMap\": true,\n    \"target\": \"es5\",\n    \"jsx\": \"react\",\n    \"noEmit\": true\n  },\n  \"exclude\": [\"**/*.spec.ts\", \"node_modules\", \"vendor\", \"public\"],\n  \"compileOnSave\": false\n}\n```\n\n#### CoffeeScript\n\n```bash\nyarn add coffeescript coffee-loader\n```\n\n#### TypeScript\n\n```bash\nyarn add typescript @babel/preset-typescript\n```\n\nBabel won’t perform any type-checking on TypeScript code. To optionally use type-checking run:\n\n```bash\nyarn add fork-ts-checker-webpack-plugin\n```\n\nAdd tsconfig.json\n\n```json\n{\n  \"compilerOptions\": {\n    \"declaration\": false,\n    \"emitDecoratorMetadata\": true,\n    \"experimentalDecorators\": true,\n    \"lib\": [\"es6\", \"dom\"],\n    \"module\": \"es6\",\n    \"moduleResolution\": \"node\",\n    \"baseUrl\": \".\",\n    \"paths\": {\n      \"*\": [\"node_modules/*\", \"app/packs/*\"]\n    },\n    \"sourceMap\": true,\n    \"target\": \"es5\",\n    \"noEmit\": true\n  },\n  \"exclude\": [\"**/*.spec.ts\", \"node_modules\", \"vendor\", \"public\"],\n  \"compileOnSave\": false\n}\n```\n\nThen modify the webpack config to use it as a plugin:\n\n```js\n// config/webpack/base.js\nconst { webpackConfig, merge } = require(\"@rails/webpacker\");\nconst ForkTSCheckerWebpackPlugin = require(\"fork-ts-checker-webpack-plugin\");\n\nmodule.exports = merge(webpackConfig, {\n  plugins: [new ForkTSCheckerWebpackPlugin()],\n});\n```\n\n#### CSS\n\nTo enable CSS support in your application, add following packages:\n\n```bash\nyarn add css-loader style-loader mini-css-extract-plugin css-minimizer-webpack-plugin\n```\n\nOptionally, add the `CSS` extension to webpack config for easy resolution.\n\n```js\n// config/webpack/base.js\nconst { webpackConfig, merge } = require('@rails/webpacker')\nconst customConfig = {\n  resolve: {\n    extensions: ['.css']\n  }\n}\n\nmodule.exports = merge(webpackConfig, customConfig)\n```\n\nTo enable `PostCSS`, `Sass` or `Less` support, add `CSS` support first and\nthen add the relevant pre-processors:\n\n#### Postcss\n\n```bash\nyarn add postcss postcss-loader\n```\n\nOptionally add these two plugins if they are required in your `postcss.config.js`:\n```bash\nyarn add postcss-preset-env postcss-flexbugs-fixes\n```\n\n#### Sass\n\n```bash\nyarn add sass sass-loader\n```\n\n#### Less\n\n```bash\nyarn add less less-loader\n```\n\n#### Stylus\n\n```bash\nyarn add stylus stylus-loader\n```\n\n#### Other frameworks\n\nPlease follow webpack integration guide for relevant framework or library,\n\n1. [Svelte](https://github.com/sveltejs/svelte-loader#install)\n2. [Angular](https://v2.angular.io/docs/ts/latest/guide/webpack.html#!#configure-webpack)\n3. [Vue](https://vue-loader.vuejs.org/guide/)\n\nFor example to add Vue support:\n```js\n// config/webpack/rules/vue.js\nconst { VueLoaderPlugin } = require('vue-loader')\n\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: /\\.vue$/,\n        loader: 'vue-loader'\n      }\n    ]\n  },\n  plugins: [new VueLoaderPlugin()],\n  resolve: {\n    extensions: ['.vue']\n  }\n}\n```\n\n```js\n// config/webpack/base.js\nconst { webpackConfig, merge } = require('@rails/webpacker')\nconst vueConfig = require('./rules/vue')\n\nmodule.exports = merge(vueConfig, webpackConfig)\n```\n\n\n### Custom Rails environments\n\nOut of the box Webpacker ships with - development, test and production environments in `config/webpacker.yml` however, in most production apps extra environments are needed as part of deployment workflow. Webpacker supports this out of the box from version 3.4.0+ onwards.\n\nYou can choose to define additional environment configurations in webpacker.yml,\n\n```yml\nstaging:\n  <<: *default\n\n  # Production depends on precompilation of packs prior to booting for performance.\n  compile: false\n\n  # Cache manifest.json for performance\n  cache_manifest: true\n\n  # Compile staging packs to a separate directory\n  public_output_path: packs-staging\n```\n\nOtherwise Webpacker will use production environment as a fallback environment for loading configurations. Please note, `NODE_ENV` can either be set to `production`, `development` or `test`. This means you don't need to create additional environment files inside `config/webpacker/*` and instead use webpacker.yml to load different configurations using `RAILS_ENV`.\n\nFor example, the below command will compile assets in production mode but will use staging configurations from `config/webpacker.yml` if available or use fallback production environment configuration:\n\n```bash\nRAILS_ENV=staging bundle exec rails assets:precompile\n```\n\nAnd, this will compile in development mode and load configuration for cucumber environment if defined in webpacker.yml or fallback to production configuration\n\n```bash\nRAILS_ENV=cucumber NODE_ENV=development bundle exec rails assets:precompile\n```\n\nPlease note, binstubs compiles in development mode however rake tasks compiles in production mode.\n\n```bash\n# Compiles in development mode unless NODE_ENV is specified, per the binstub source\n./bin/webpack\n./bin/webpack-dev-server\n\n# Compiles in production mode by default unless NODE_ENV is specified, per `lib/tasks/webpacker/compile.rake`\nbundle exec rails assets:precompile\nbundle exec rails webpacker:compile\n```\n\n### Upgrading\n\nYou can run following commands to upgrade Webpacker to the latest stable version. This process involves upgrading the gem and related JavaScript packages:\n\n```bash\n# check your Gemfile for version restrictions\nbundle update webpacker\n\n# overwrite your changes to the default install files and revert any unwanted changes from the install\nrails webpacker:install\n\n# yarn 1 instructions\nyarn upgrade @rails/webpacker --latest\nyarn upgrade webpack-dev-server --latest\n\n# yarn 2 instructions\nyarn up @rails/webpacker@latest\nyarn up webpack-dev-server@latest\n\n# Or to install the latest release (including pre-releases)\nyarn add @rails/webpacker@next\n```\n\nAlso, consult the [CHANGELOG](./CHANGELOG.md) for additional upgrade links.\n\n## Paths\n\nBy default, Webpacker ships with simple conventions for where the JavaScript app files and compiled webpack bundles will go in your Rails app. All these options are configurable from `config/webpacker.yml` file.\n\nThe configuration for what webpack is supposed to compile by default rests on the convention that every file in `app/packs/entrypoints/*`**(default)** or whatever path you set for `source_entry_path` in the `webpacker.yml` configuration is turned into their own output files (or entry points, as webpack calls it). Therefore you don't want to put anything inside `packs` directory that you do not want to be an entry file. As a rule of thumb, put all files you want to link in your views inside \"packs\" directory and keep everything else under `app/packs`.\n\nSuppose you want to change the source directory from `app/packs` to `frontend` and output to `assets/packs`. This is how you would do it:\n\n```yml\n# config/webpacker.yml\nsource_path: frontend # packs are in frontend/packs\npublic_output_path: assets/packs # outputs to => public/assets/packs\n```\n\nSimilarly you can also control and configure `webpack-dev-server` settings from `config/webpacker.yml` file:\n\n```yml\n# config/webpacker.yml\ndevelopment:\n  dev_server:\n    host: localhost\n    port: 3035\n```\n\nIf you have `hmr` turned to true, then the `stylesheet_pack_tag` generates no output, as you will want to configure your styles to be inlined in your JavaScript for hot reloading. During production and testing, the `stylesheet_pack_tag` will create the appropriate HTML tags.\n\n### Additional paths\n\nIf you are adding Webpacker to an existing app that has most of the assets inside `app/assets` or inside an engine, and you want to share that with webpack modules, you can use the `additional_paths` option available in `config/webpacker.yml`. This lets you\nadd additional paths that webpack should look up when resolving modules:\n\n```yml\nadditional_paths: ['app/assets', 'vendor/assets']\n```\n\nYou can then import these items inside your modules like so:\n\n```js\n// Note it's relative to parent directory i.e. app/assets\nimport 'stylesheets/main'\nimport 'images/rails.png'\n```\n\n**Note:** Please be careful when adding paths here otherwise it will make the compilation slow, consider adding specific paths instead of whole parent directory if you just need to reference one or two modules\n\n**Also note:** While importing assets living outside your `source_path` defined in webpacker.yml (like, for instance, assets under `app/assets`) from within your packs using _relative_ paths like `import '../../assets/javascripts/file.js'` will work in development, Webpacker won't recompile the bundle in production unless a file that lives in one of it's watched paths has changed (check out `Webpacker::Compiler#watched_files_digest`). That's why you'd need to add `app/assets` to the additional_paths as stated above and use `import 'javascripts/file.js'` instead.\n\n\n## Deployment\n\nWebpacker hooks up a new `webpacker:compile` task to `assets:precompile`, which gets run whenever you run `assets:precompile`. If you are not using Sprockets, `webpacker:compile` is automatically aliased to `assets:precompile`. Similar to sprockets both rake tasks will compile packs in production mode but will use `RAILS_ENV` to load configuration from `config/webpacker.yml` (if available).\n\nWhen compiling assets for production on a remote server, such as a continuous integration environment, it's recommended to use `yarn install --frozen-lockfile` to install NPM packages on the remote host to ensure that the installed packages match the `yarn.lock` file.\n\nIf you are using a CDN setup, webpacker will use the configured [asset host](https://guides.rubyonrails.org/configuring.html#rails-general-configuration) value to prefix URLs for images or font icons which are included inside JS code or CSS. It is possible to override this value during asset compilation by setting the `WEBPACKER_ASSET_HOST` environment variable.\n\n\n## Troubleshooting\n\nSee the doc page for [Troubleshooting](./docs/troubleshooting.md).\n\n\n## Contributing\n\n[![Code Helpers](https://www.codetriage.com/rails/webpacker/badges/users.svg)](https://www.codetriage.com/rails/webpacker)\n\nWe encourage you to contribute to Webpacker! See [CONTRIBUTING](CONTRIBUTING.md) for guidelines about how to proceed.\n\n\n## License\n\nWebpacker is released under the [MIT License](https://opensource.org/licenses/MIT).\n","engines":{"node":">= 12.13.0 || >=14","yarn":">=1 <4"},"gitHead":"a51bf1ff469f3b88a794b0f00732364d5dd506e6","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"dhh","email":"david@hey.com"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"7.20.3","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"16.7.0","dependencies":{"glob":"^7.2.0","js-yaml":"^4.1.0","webpack":"^5.53.0","@babel/core":"^7.15.5","webpack-cli":"^4.8.0","babel-loader":"^8.2.2","webpack-merge":"^5.8.0","@babel/runtime":"^7.15.4","webpack-sources":"^3.2.1","@babel/preset-env":"^7.15.6","pnp-webpack-plugin":"^1.7.0","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^5.2.4","webpack-assets-manifest":"^5.0.6","compression-webpack-plugin":"^9.0.0","@babel/plugin-transform-runtime":"^7.15.0","@babel/plugin-proposal-class-properties":"^7.14.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.2.1","eslint":"^7.32.0","eslint-plugin-react":"^7.26.0","eslint-config-airbnb":"^18.2.1","eslint-plugin-import":"^2.24.2","eslint-config-prettier":"^8.3.0","eslint-plugin-jsx-a11y":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_6.0.0-rc.6_1636108182717_0.1636812615614538","host":"s3://npm-registry-packages"}},"5.4.4":{"name":"@rails/webpacker","version":"5.4.4","author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","_id":"@rails/webpacker@5.4.4","maintainers":[{"name":"jhawthorn","email":"john@hawthorn.email"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafael@franca.dev"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"}],"homepage":"https://github.com/rails/webpacker","bugs":{"url":"https://github.com/rails/webpacker/issues"},"dist":{"shasum":"971a41b987c096c908ce4088accd57c1a9a7e2f7","tarball":"https://registry.npmjs.org/@rails/webpacker/-/webpacker-5.4.4.tgz","fileCount":42,"integrity":"sha512-hp9myb2MChYFPfE5Fd/3gF4q2m4wpxC+WWCkxcg6My3HYCptWuqMVXRwrBZ5EJHYiL/WRyMLvVNWwlFV47xhUw==","signatures":[{"sig":"MEYCIQCHHDAwtPmF70n4LxvM9W0ReHysDwlv82UCjocMhSG2ewIhAJh4nxf3ASuULuDrZYi/etAd/HUkPWv2dMiEG3mUt3TF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61709,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6nT4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmosaQ//cxuB4cB/NRG2W+fbG+CoMrGab9SxNkkBKdXonGmTZT8Mmyis\r\nilJ1fjJTwaS5/ynNXz6U3VNaN2FkXdhHT4jHqfRcRfmBcloLOF/fV4iSyOS8\r\nN5J6FBIgmcSaeaLosnPValNl7Rk8BHCs5OGxjsFTaIaI7Jtsv0P3r+1hnPyu\r\nfgGyxzUU+W1dk584CykJUo3ZDksZsQZaoSXy0iOQpiiI6TIRZVXB3jYJ5Ns5\r\nMLtfq8jVXZ1+tNjPpxSI0jAv58q152U1xhz2g2L2bqci2mRUwZqD9cfF5Vc4\r\nLZv907Vtyxq1bCa4WZi6b1RWQVXuqG9rm/d6ltHZlk0Eb8CLr42d16VObEOY\r\nYHJLAx8ozkB1e0ZyKYMDgIK6xGeufUqT5+VDxNVdz0CpF/Zgtu2ScfeY5PQo\r\nQXTem/XvsiRH0LBeee6hJ4I4lqYv/l+EzzBKldDrcYbEegD733n0IWQIe/TA\r\nz0UMxmkMNm4YaFLvxloj4n3veEpLwC8Y/kBD9hSXb+tgACm0wAReL4oTepG7\r\nD6DsYWx2TzaiOqNC/+ZuDWRCwF/H4jQQ2Ix+a7edR4i4O0HUWh4/t2e4dL0y\r\nlK4prWCT/WhktAtQHK+D5dhB/lPRMJjBLoKhIceU/vEQ1oa+OMS1NKhZ6zGv\r\nftklx0Iv/wniISsET1haBJ7GoulvgYZyOxM=\r\n=nqGA\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"roots":["<rootDir>/package"],"testRegex":"(/__tests__/.*|(\\.|/))\\.jsx?$"},"main":"package/index.js","engines":{"node":">=10.17.0","yarn":">=1 <4"},"gitHead":"1cec8408d9c30e458c9f83b0c50ef53a255a4352","scripts":{"lint":"eslint package/","test":"jest"},"_npmUser":{"name":"dhh","email":"david@hey.com"},"repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"_npmVersion":"7.20.3","description":"Use webpack to manage app-like JavaScript modules in Rails","directories":{},"_nodeVersion":"16.7.0","dependencies":{"glob":"^7.1.7","sass":"^1.38.0","core-js":"^3.16.2","flatted":"^3.2.2","js-yaml":"^3.14.1","webpack":"^4.46.0","css-loader":"^3.6.0","@babel/core":"^7.15.0","file-loader":"^6.2.0","sass-loader":"10.1.1","webpack-cli":"^3.3.12","babel-loader":"^8.2.2","style-loader":"^1.3.0","@babel/runtime":"^7.15.3","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","webpack-sources":"^1.4.3","@babel/preset-env":"^7.15.0","pnp-webpack-plugin":"^1.7.0","postcss-preset-env":"^6.7.0","babel-plugin-macros":"^2.8.0","postcss-safe-parser":"^4.0.2","regenerator-runtime":"^0.13.9","path-complete-extname":"^1.0.0","terser-webpack-plugin":"^4.2.3","postcss-flexbugs-fixes":"^4.2.1","mini-css-extract-plugin":"^0.9.0","webpack-assets-manifest":"^3.1.1","compression-webpack-plugin":"^4.0.1","@babel/plugin-transform-runtime":"^7.15.0","babel-plugin-dynamic-import-node":"^2.3.3","optimize-css-assets-webpack-plugin":"^5.0.8","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-regenerator":"^7.14.5","case-sensitive-paths-webpack-plugin":"^2.4.0","@babel/plugin-transform-destructuring":"^7.14.7","@babel/plugin-proposal-class-properties":"^7.14.5","@babel/plugin-proposal-object-rest-spread":"^7.14.7"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","eslint":"^7.32.0","eslint-plugin-react":"^7.24.0","eslint-config-airbnb":"^18.2.1","eslint-plugin-import":"^2.24.0","eslint-plugin-jsx-a11y":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/webpacker_5.4.4_1676309751960_0.5259063683482395","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-08-30T13:56:42.653Z","modified":"2024-07-11T15:39:40.390Z","3.0.0-beta.0":"2017-08-30T13:56:42.653Z","3.0.0":"2017-08-30T19:50:30.046Z","3.0.1":"2017-09-01T17:23:22.318Z","3.0.2":"2017-10-04T15:28:49.402Z","3.1.0":"2017-12-11T11:55:08.624Z","3.1.1":"2017-12-11T12:14:41.471Z","3.2.0":"2017-12-16T13:10:26.575Z","3.2.1":"2018-01-21T18:05:30.339Z","3.2.2":"2018-02-11T20:41:49.127Z","3.3.0":"2018-03-03T17:28:43.365Z","3.3.1":"2018-03-12T23:50:30.601Z","3.4.0":"2018-03-23T16:59:43.005Z","3.4.1":"2018-03-24T14:08:52.007Z","4.0.0-pre.1":"2018-04-02T22:10:28.170Z","4.0.0-pre.2":"2018-04-02T22:31:57.084Z","3.4.2":"2018-04-03T12:06:44.094Z","3.4.3":"2018-04-03T12:16:13.948Z","3.5.0":"2018-04-29T18:53:37.493Z","3.5.1":"2018-04-29T20:51:45.784Z","3.5.2":"2018-04-29T20:56:16.604Z","3.5.3":"2018-05-03T15:40:55.725Z","3.5.4":"2018-07-09T11:38:11.733Z","3.5.5":"2018-07-09T11:48:13.515Z","4.0.0-pre.3":"2018-10-01T07:52:18.946Z","4.0.0-rc.1":"2018-12-14T21:11:48.362Z","4.0.0-rc.2":"2018-12-15T13:02:43.398Z","4.0.0-rc.3":"2019-01-17T22:00:26.716Z","4.0.0-rc.4":"2019-01-21T12:02:43.286Z","4.0.0-rc.5":"2019-01-21T12:38:14.882Z","4.0.0-rc.6":"2019-01-25T10:05:40.309Z","4.0.0-rc.7":"2019-01-25T10:10:13.458Z","4.0.0-rc.8":"2019-03-03T21:17:03.471Z","4.0.0":"2019-03-04T17:57:02.348Z","4.0.1":"2019-03-04T20:32:28.411Z","3.6.0":"2019-03-06T11:59:20.298Z","4.0.2":"2019-03-06T12:06:35.575Z","4.0.3":"2019-05-28T14:57:21.311Z","4.0.4":"2019-05-28T17:15:42.934Z","4.0.5":"2019-05-30T18:42:46.043Z","4.0.6":"2019-05-31T08:06:15.827Z","4.0.7":"2019-06-03T16:45:01.194Z","4.1.0":"2019-11-12T08:12:00.440Z","4.2.0":"2019-11-12T12:27:08.464Z","4.2.1":"2019-12-09T09:27:18.783Z","4.2.2":"2019-12-09T11:56:13.516Z","5.0.0":"2020-03-22T16:23:13.108Z","5.0.1":"2020-03-24T15:10:53.712Z","5.1.0":"2020-04-19T18:53:03.601Z","5.1.1":"2020-04-20T11:48:37.300Z","5.2.0":"2020-08-16T16:59:49.860Z","4.3.0":"2020-08-16T17:40:15.367Z","5.2.1":"2020-08-17T11:07:22.441Z","6.0.0-pre.1":"2020-12-20T17:47:59.891Z","6.0.0-pre.2":"2020-12-20T17:52:52.507Z","6.0.0-beta":"2020-12-23T14:38:06.040Z","6.0.0-beta.1":"2020-12-23T17:28:34.754Z","6.0.0-beta.2":"2020-12-24T09:51:36.567Z","6.0.0-beta.3":"2021-01-21T09:44:52.782Z","6.0.0-beta.4":"2021-01-23T11:54:14.873Z","6.0.0-beta.5":"2021-02-03T18:54:32.480Z","6.0.0-beta.6":"2021-02-27T08:01:50.060Z","6.0.0-beta.7":"2021-04-22T11:24:19.835Z","5.2.2":"2021-04-27T11:22:50.459Z","5.3.0":"2021-04-27T11:38:33.623Z","5.4.0":"2021-05-18T10:28:33.192Z","6.0.0-rc.1":"2021-08-18T12:43:28.186Z","5.4.1":"2021-08-20T08:28:14.017Z","5.4.2":"2021-08-20T09:07:02.556Z","6.0.0-rc.2":"2021-08-25T13:59:25.150Z","6.0.0-rc.3":"2021-08-25T16:04:08.404Z","6.0.0-rc.4":"2021-08-25T16:47:36.120Z","6.0.0-rc.5":"2021-08-25T17:38:39.904Z","5.4.3":"2021-09-14T19:36:39.684Z","6.0.0-rc.6":"2021-11-05T10:29:42.885Z","5.4.4":"2023-02-13T17:35:52.151Z"},"bugs":{"url":"https://github.com/rails/webpacker/issues"},"author":{"name":"David Heinemeier Hansson","email":"david@basecamp.com"},"license":"MIT","homepage":"https://github.com/rails/webpacker","repository":{"url":"git+https://github.com/rails/webpacker.git","type":"git"},"description":"Use webpack to manage app-like JavaScript modules in Rails","maintainers":[{"email":"jean.boussier@gmail.com","name":"byroot"},{"email":"john@hawthorn.email","name":"jhawthorn"},{"email":"matthew@trebex.net","name":"matthewd"},{"email":"rafael@franca.dev","name":"rafaelfranca"},{"email":"aaron.patterson@gmail.com","name":"tenderlove"},{"email":"jeremydaer@gmail.com","name":"bitsweat"},{"email":"eileencodes@gmail.com","name":"eileencodes"},{"email":"david@hey.com","name":"dhh"},{"email":"gaurav@gauravtiwari.co.uk","name":"gauravtiwari"}],"readme":"# Webpacker\n\n[![Ruby specs](https://github.com/rails/webpacker/workflows/Ruby%20specs/badge.svg)](https://github.com/rails/webpacker/actions)\n[![Jest specs](https://github.com/rails/webpacker/workflows/Jest%20specs/badge.svg)](https://github.com/rails/webpacker/actions)\n[![Rubocop](https://github.com/rails/webpacker/workflows/Rubocop/badge.svg)](https://github.com/rails/webpacker/actions)\n[![JS lint](https://github.com/rails/webpacker/workflows/JS%20lint/badge.svg)](https://github.com/rails/webpacker/actions)\n\n[![node.js](https://img.shields.io/badge/node-%3E%3D%2010.17.0-brightgreen.svg)](https://www.npmjs.com/package/@rails/webpacker)\n[![Gem](https://img.shields.io/gem/v/webpacker.svg)](https://rubygems.org/gems/webpacker)\n\nWebpacker makes it easy to use the JavaScript pre-processor and bundler\n[webpack 4.x.x+](https://webpack.js.org/)\nto manage application-like JavaScript in Rails. It coexists with the asset pipeline,\nas the primary purpose for webpack is app-like JavaScript, not images, CSS, or\neven JavaScript Sprinkles (that all continues to live in app/assets).\n\nHowever, it is possible to use Webpacker for CSS, images and fonts assets as well,\nin which case you may not even need the asset pipeline. This is mostly relevant when exclusively using component-based JavaScript frameworks.\n\n**NOTE:** The master branch now hosts the code for v5.x.x. Please refer to [4-x-stable](https://github.com/rails/webpacker/tree/4-x-stable) branch for 4.x documentation.\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n- [Features](#features)\n- [Installation](#installation)\n  - [Usage](#usage)\n  - [Development](#development)\n  - [Webpack Configuration](#webpack-configuration)\n  - [Custom Rails environments](#custom-rails-environments)\n  - [Upgrading](#upgrading)\n- [Integrations](#integrations)\n  - [React](./docs/integrations.md#react)\n  - [Angular with TypeScript](./docs/integrations.md#angular-with-typescript)\n  - [Vue](./docs/integrations.md#vue)\n  - [Elm](./docs/integrations.md#elm)\n  - [Stimulus](./docs/integrations.md#stimulus)\n  - [Svelte](./docs/integrations.md#svelte)\n  - [Typescript](./docs/typescript.md)\n  - [CoffeeScript](./docs/integrations.md#coffeescript)\n  - [Erb](./docs/integrations.md#erb)\n- [Paths](#paths)\n  - [Resolved](#resolved)\n  - [Watched](#watched)\n- [Deployment](#deployment)\n- [Docs](#docs)\n- [Contributing](#contributing)\n- [License](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Prerequisites\n\n- Ruby 2.4+\n- Rails 5.2+\n- Node.js 10.17.0+\n- Yarn 1.x+\n\n## Features\n\n- [webpack 4.x.x](https://webpack.js.org/)\n- ES6 with [babel](https://babeljs.io/)\n- Automatic code splitting using multiple entry points\n- Stylesheets - Sass and CSS\n- Images and fonts\n- PostCSS - Auto-Prefixer\n- Asset compression, source-maps, and minification\n- CDN support\n- React, Angular, Elm and Vue support out-of-the-box\n- Rails view helpers\n- Extensible and configurable\n\n## Installation\n\nYou can either add Webpacker during setup of a new Rails 5.1+ application\nusing new `--webpack` option:\n\n```bash\n# Available Rails 5.1+\nrails new myapp --webpack\n```\n\nOr add it to your `Gemfile`:\n\n```ruby\n# Gemfile\ngem 'webpacker', '~> 5.x'\n\n# OR if you prefer to use master\ngem 'webpacker', git: 'https://github.com/rails/webpacker.git'\nyarn add https://github.com/rails/webpacker.git\nyarn add core-js regenerator-runtime\n```\n\nFinally, run the following to install Webpacker:\n\n```bash\nbundle\nbundle exec rails webpacker:install\n\n# OR (on rails version < 5.0)\nbundle exec rake webpacker:install\n```\n\nOptional: To fix [\"unmet peer dependency\" warnings](https://github.com/rails/webpacker/issues/1078),\n\n```bash\nyarn upgrade\n```\n\nWhen `package.json` and/or `yarn.lock` changes, such as when pulling down changes to your local environment in a team settings, be sure to keep your NPM packages up-to-date:\n\n```bash\nyarn install\n```\n\n### Usage\n\nOnce installed, you can start writing modern ES6-flavored JavaScript apps right away:\n\n```yml\napp/javascript:\n  ├── packs:\n  │   # only webpack entry files here\n  │   └── application.js\n  │   └── application.css\n  └── src:\n  │   └── my_component.js\n  └── stylesheets:\n  │   └── my_styles.css\n  └── images:\n      └── logo.svg\n```\n\nIn `/packs/application.js`, include this at the top of the file:\n\n```js\nimport 'core-js/stable'\nimport 'regenerator-runtime/runtime'\n```\n\nYou can then link the JavaScript pack in Rails views using the `javascript_pack_tag` helper.\nIf you have styles imported in your pack file, you can link them by using `stylesheet_pack_tag`:\n\n```erb\n<%= javascript_pack_tag 'application' %>\n<%= stylesheet_pack_tag 'application' %>\n```\n\nIf you want to link a static asset for `<link rel=\"prefetch\">` or `<img />` tag, you\ncan use the `asset_pack_path` helper:\n\n```erb\n<link rel=\"prefetch\" href=\"<%= asset_pack_path 'application.css' %>\" />\n<img src=\"<%= asset_pack_path 'images/logo.svg' %>\" />\n```\n\nIf you are using new webpack 4 split chunks API, then consider using `javascript_packs_with_chunks_tag` helper, which creates html\ntags for a pack and all the dependent chunks.\n\n```erb\n<%= javascript_packs_with_chunks_tag 'calendar', 'map', 'data-turbolinks-track': 'reload' %>\n\n<script src=\"/packs/vendor-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/calendar~runtime-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/calendar-1016838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/map~runtime-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n<script src=\"/packs/map-16838bab065ae1e314.js\" data-turbolinks-track=\"reload\"></script>\n```\n\n**Important:** Pass all your pack names when using `javascript_packs_with_chunks_tag`\nhelper otherwise you will get duplicated chunks on the page.\n\n```erb\n<%# DO %>\n<%= javascript_packs_with_chunks_tag 'calendar', 'map' %>\n\n<%# DON'T %>\n<%= javascript_packs_with_chunks_tag 'calendar' %>\n<%= javascript_packs_with_chunks_tag 'map' %>\n```\n\n**Note:** In order for your styles or static assets files to be available in your view,\nyou would need to link them in your \"pack\" or entry file.\n\n### Development\n\nWebpacker ships with two binstubs: `./bin/webpack` and `./bin/webpack-dev-server`.\nBoth are thin wrappers around the standard `webpack.js` and `webpack-dev-server.js`\nexecutables to ensure that the right configuration files and environmental variables\nare loaded based on your environment.\n\nIn development, Webpacker compiles on demand rather than upfront by default. This\nhappens when you refer to any of the pack assets using the Webpacker helper methods.\nThis means that you don't have to run any separate processes. Compilation errors are logged\nto the standard Rails log.\n\nIf you want to use live code reloading, or you have enough JavaScript that on-demand compilation is too slow, you'll need to run `./bin/webpack-dev-server` or `ruby ./bin/webpack-dev-server`. Windows users will need to run these commands\nin a terminal separate from `bundle exec rails s`. This process will watch for changes\nin the `app/javascript/packs/*.js` files and automatically reload the browser to match.\n\n```bash\n# webpack dev server\n./bin/webpack-dev-server\n\n# watcher\n./bin/webpack --watch --colors --progress\n\n# standalone build\n./bin/webpack\n```\n\nOnce you start this development server, Webpacker will automatically start proxying all\nwebpack asset requests to this server. When you stop the server, it'll revert back to\non-demand compilation.\n\nYou can use environment variables as options supported by\n[webpack-dev-server](https://webpack.js.org/configuration/dev-server/) in the\nform `WEBPACKER_DEV_SERVER_<OPTION>`. Please note that these environmental\nvariables will always take precedence over the ones already set in the\nconfiguration file, and that the _same_ environmental variables must\nbe available to the `rails server` process.\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=example.com WEBPACKER_DEV_SERVER_INLINE=true WEBPACKER_DEV_SERVER_HOT=false ./bin/webpack-dev-server\n```\n\nBy default, the webpack dev server listens on `localhost` in development for security purposes.\nHowever, if you want your app to be available over local LAN IP or a VM instance like vagrant,\nyou can set the `host` when running `./bin/webpack-dev-server` binstub:\n\n```bash\nWEBPACKER_DEV_SERVER_HOST=0.0.0.0 ./bin/webpack-dev-server\n```\n\n**Note:** You need to allow webpack-dev-server host as an allowed origin for `connect-src` if you are running your application in a restrict CSP environment (like Rails 5.2+). This can be done in Rails 5.2+ in the CSP initializer `config/initializers/content_security_policy.rb` with a snippet like this:\n\n```ruby\n  Rails.application.config.content_security_policy do |policy|\n    policy.connect_src :self, :https, 'http://localhost:3035', 'ws://localhost:3035' if Rails.env.development?\n  end\n```\n\n**Note:** Don't forget to prefix `ruby` when running these binstubs on Windows\n\n### Webpack Configuration\n\nSee [docs/webpack](docs/webpack.md) for modifying webpack configuration and loaders.\n\n### Custom Rails environments\n\nOut of the box Webpacker ships with - development, test and production environments in `config/webpacker.yml` however, in most production apps extra environments are needed as part of deployment workflow. Webpacker supports this out of the box from version 3.4.0+ onwards.\n\nYou can choose to define additional environment configurations in webpacker.yml,\n\n```yml\nstaging:\n  <<: *default\n\n  # Production depends on precompilation of packs prior to booting for performance.\n  compile: false\n\n  # Cache manifest.json for performance\n  cache_manifest: true\n\n  # Compile staging packs to a separate directory\n  public_output_path: packs-staging\n```\n\nor, Webpacker will use production environment as a fallback environment for loading configurations. Please note, `NODE_ENV` can either be set to `production`, `development` or `test`.\nThis means you don't need to create additional environment files inside `config/webpacker/*` and instead use webpacker.yml to load different configurations using `RAILS_ENV`.\n\nFor example, the below command will compile assets in production mode but will use staging configurations from `config/webpacker.yml` if available or use fallback production environment configuration:\n\n```bash\nRAILS_ENV=staging bundle exec rails assets:precompile\n```\n\nAnd, this will compile in development mode and load configuration for cucumber environment\nif defined in webpacker.yml or fallback to production configuration\n\n```bash\nRAILS_ENV=cucumber NODE_ENV=development bundle exec rails assets:precompile\n```\n\nPlease note, binstubs compiles in development mode however rake tasks\ncompiles in production mode.\n\n```bash\n# Compiles in development mode unless NODE_ENV is specified\n./bin/webpack\n./bin/webpack-dev-server\n\n# compiles in production mode by default unless NODE_ENV is specified\nbundle exec rails assets:precompile\nbundle exec rails webpacker:compile\n```\n\n### Upgrading\n\nYou can run following commands to upgrade Webpacker to the latest stable version. This process involves upgrading the gem and related JavaScript packages:\n\n```bash\nbundle update webpacker\nrails webpacker:binstubs\nyarn upgrade @rails/webpacker --latest\nyarn upgrade webpack-dev-server --latest\n\n# Or to install the latest release (including pre-releases)\nyarn add @rails/webpacker@next\n```\n\n## Integrations\n\nWebpacker ships with basic out-of-the-box integration. You can see a list of available commands/tasks by running `bundle exec rails webpacker`.\n\nIncluded install integrations:\n\n- [React](./docs/integrations.md#React)\n- [Angular with TypeScript](./docs/integrations.md#Angular-with-TypeScript)\n- [Vue](./docs/integrations.md#Vue)\n- [Elm](./docs/integrations.md#Elm)\n- [Svelte](./docs/integrations.md#Svelte)\n- [Stimulus](./docs/integrations.md#Stimulus)\n- [CoffeeScript](./docs/integrations.md#CoffeeScript)\n- [Typescript](./docs/typescript.md)\n- [Erb](./docs/integrations.md#Erb)\n\nSee [Integrations](./docs/integrations.md) for further details.\n\n## Paths\n\nBy default, Webpacker ships with simple conventions for where the JavaScript\napp files and compiled webpack bundles will go in your Rails app.\nAll these options are configurable from `config/webpacker.yml` file.\n\nThe configuration for what webpack is supposed to compile by default rests\non the convention that every file in `app/javascript/packs/*`**(default)**\nor whatever path you set for `source_entry_path` in the `webpacker.yml` configuration\nis turned into their own output files (or entry points, as webpack calls it). Therefore you don't want to put anything inside `packs` directory that you do not want to be\nan entry file. As a rule of thumb, put all files you want to link in your views inside\n\"packs\" directory and keep everything else under `app/javascript`.\n\nSuppose you want to change the source directory from `app/javascript`\nto `frontend` and output to `assets/packs`. This is how you would do it:\n\n```yml\n# config/webpacker.yml\nsource_path: frontend\nsource_entry_path: packs\npublic_output_path: assets/packs # outputs to => public/assets/packs\n```\n\nSimilarly you can also control and configure `webpack-dev-server` settings from `config/webpacker.yml` file:\n\n```yml\n# config/webpacker.yml\ndevelopment:\n  dev_server:\n    host: localhost\n    port: 3035\n```\n\nIf you have `hmr` turned to true, then the `stylesheet_pack_tag` generates no output, as you will want to configure your styles to be inlined in your JavaScript for hot reloading. During production and testing, the `stylesheet_pack_tag` will create the appropriate HTML tags.\n\n### Resolved\n\nIf you are adding Webpacker to an existing app that has most of the assets inside\n`app/assets` or inside an engine, and you want to share that\nwith webpack modules, you can use the `additional_paths`\noption available in `config/webpacker.yml`. This lets you\nadd additional paths that webpack should lookup when resolving modules:\n\n```yml\nadditional_paths: ['app/assets']\n```\n\nYou can then import these items inside your modules like so:\n\n```js\n// Note it's relative to parent directory i.e. app/assets\nimport 'stylesheets/main'\nimport 'images/rails.png'\n```\n\n**Note:** Please be careful when adding paths here otherwise it\nwill make the compilation slow, consider adding specific paths instead of\nwhole parent directory if you just need to reference one or two modules\n\n## Deployment\n\nWebpacker hooks up a new `webpacker:compile` task to `assets:precompile`, which gets run whenever you run `assets:precompile`. If you are not using Sprockets, `webpacker:compile` is automatically aliased to `assets:precompile`. Similar to sprockets both rake tasks will compile packs in production mode but will use `RAILS_ENV` to load configuration from `config/webpacker.yml` (if available).\n\nWhen compiling assets for production on a remote server, such as a continuous integration environment, it's recommended to use `yarn install --frozen-lockfile` to install NPM packages on the remote host to ensure that the installed packages match the `yarn.lock` file.\n\n## Docs\n\n- [Development](https://github.com/rails/webpacker#development)\n  - [Webpack](./docs/webpack.md)\n  - [Webpack-dev-server](./docs/webpack-dev-server.md)\n  - [Environment Variables](./docs/env.md)\n  - [Folder Structure](./docs/folder-structure.md)\n  - [Assets](./docs/assets.md) - [CSS, Sass and SCSS](./docs/css.md) - [ES6](./docs/es6.md), [Target browsers](./docs/target.md)\n    - [Props](./docs/props.md)\n    - [Typescript](./docs/typescript.md)\n  - [Yarn](./docs/yarn.md)\n  - [Misc](./docs/misc.md)\n- [Deployment](./docs/deployment.md)\n  - [Docker](./docs/docker.md)\n  - [Using in Rails engines](./docs/engines.md)\n  - [Webpacker on Cloud9](./docs/cloud9.md)\n- [Testing](./docs/testing.md)\n- [Troubleshooting](./docs/troubleshooting.md)\n- [v3 to v4 Upgrade Guide](./docs/v4-upgrade.md)\n\n## Contributing\n\n[![Code Helpers](https://www.codetriage.com/rails/webpacker/badges/users.svg)](https://www.codetriage.com/rails/webpacker)\n\nWe encourage you to contribute to Webpacker! See [CONTRIBUTING](CONTRIBUTING.md) for guidelines about how to proceed.\n\n## License\n\nWebpacker is released under the [MIT License](https://opensource.org/licenses/MIT).\n","readmeFilename":"README.md","users":{"bogdanvlviv":true}}