{"id":15152711,"url":"https://github.com/infinum/webpack-asset-pipeline","last_synced_at":"2025-09-29T23:32:03.813Z","repository":{"id":57397374,"uuid":"69279285","full_name":"infinum/webpack-asset-pipeline","owner":"infinum","description":"🚀 A missing link for the asset pipeline alternative with Webpack.","archived":true,"fork":false,"pushed_at":"2019-07-21T04:43:38.000Z","size":118,"stargazers_count":30,"open_issues_count":10,"forks_count":5,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-01-11T12:51:50.465Z","etag":null,"topics":["asset-pipeline","assets","manifest","plugin","rails","webpack"],"latest_commit_sha":null,"homepage":"https://infinum.co/the-capsized-eight/squeezing-webpack-into-backend-frameworks","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/infinum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-26T18:20:20.000Z","updated_at":"2023-01-28T17:44:40.000Z","dependencies_parsed_at":"2022-09-13T03:02:00.521Z","dependency_job_id":null,"html_url":"https://github.com/infinum/webpack-asset-pipeline","commit_stats":null,"previous_names":["infinum/webpack-rails-manifest-plugin"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinum%2Fwebpack-asset-pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinum%2Fwebpack-asset-pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinum%2Fwebpack-asset-pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinum%2Fwebpack-asset-pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infinum","download_url":"https://codeload.github.com/infinum/webpack-asset-pipeline/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234673608,"owners_count":18869698,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asset-pipeline","assets","manifest","plugin","rails","webpack"],"created_at":"2024-09-26T16:21:36.303Z","updated_at":"2025-09-29T23:31:58.510Z","avatar_url":"https://github.com/infinum.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"webpack-asset-pipeline\n==============================\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/infinum/webpack-asset-pipeline.svg)](https://greenkeeper.io/)\n\nA missing link for the asset pipeline alternative with Webpack.\n\n[![Build Status](https://semaphoreci.com/api/v1/infinum/webpack-asset-pipeline/branches/master/shields_badge.svg)](https://semaphoreci.com/infinum/webpack-asset-pipeline) [![npm version](https://badge.fury.io/js/webpack-asset-pipeline.svg)](https://badge.fury.io/js/webpack-asset-pipeline)\n\nThis plugin can be used to flush a list of your assets to a `manifest.json` file and replace the asset pipeline.\n\n## Usage\n\nThis is a Webpack plugin that creates a manifest file for your assets. It can output files to Webpack (as emitting) or as a file on the filesystem.\n\n```\nnpm install --save-dev webpack-asset-pipeline\n```\n\nIn your `webpack.config.js` file specify the plugin:\n\n```JavaScript\nconst WebpackAssetPipeline = require('webpack-asset-pipeline');\n\n{\n  plugins: [\n    new WebpackAssetPipeline()\n  ]\n}\n```\n\nYou'll find the `manifest.json` file in your output directory. You can read more about the options [here](documentation/options.md).\n\n## Requiring images\n\nAll images have to be required in the JavaScript in order for webpack to process them, except the ones you require in your scss file (because wepback is processing your scss file adready)\n\nYou can create a new file which will hold all the images, e.g. `files.js`\n\n```JavaScript\nrequire('images/file1.jpg');\nrequire('images/file2.jpg');\nrequire('images/file3.jpg');\n```\n\nAnd then in `application.js` (your entrypoint)\n\n```JavaScript\nrequire('files');\n```\n\nYou can see an example configuration and its documentation [here](example/README.md).\n\n## Output\n\nOnce you set everything up, you should see this in your `manifest.json` file:\n\n```JavaScript\n{\n  \"images/file1.jpg\": \"963eb32907744d9a0d6b98127162808f.jpg\",\n  \"images/file2.jpg\": \"162808f4d9a0963eb3290774127d6b98.jpg\",\n  \"images/file3.jpg\": \"d6b98127162969a0808f3eb32907744d.jpg\"\n}\n```\n\n## Compatibility\n\nThis plugin is compatible with Webpack 1.x and 2.x.\n\n## Integrations\n\n### Ruby on Rails\n\nRequiring assets in Rails will be a bit different and needs some configuration. Read our [Rails helper documentation](documentation/integrations/rails.md).\n\n### Others\n\nWe're open for pull requests that add instructions about how to integrate this plugin with other frameworks.\n\n## License\n\nThe MIT License\n\n![](https://assets.infinum.co/assets/brand-logo-9e079bfa1875e17c8c1f71d1fee49cf0.svg) © 2016 Infinum Inc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinum%2Fwebpack-asset-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfinum%2Fwebpack-asset-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinum%2Fwebpack-asset-pipeline/lists"}