sprockets
Rack-based asset packaging system
File Explorer
Download Latest Version (.zip)- devcontainer.json
- ci.yml
- isolated.yml
- rubocop.yml
- dependabot.yml
- sprockets
- building_an_asset_processing_framework.md
- end_user_asset_generation.md
- extending_sprockets.md
- how_sprockets_works.md
- source_maps.md
- sprocketstask.rb
- babel.rb
- closure.rb
- coffee_script.rb
- eco.rb
- ejs.rb
- jsminc.rb
- sass.rb
- sassc.rb
- uglifier.rb
- yui.rb
- zopfli.rb
- file_store.rb
- memory_store.rb
- null_store.rb
- base.rb
- file_exporter.rb
- zlib_exporter.rb
- zopfli_exporter.rb
- default_source_map.rb
- gzip.rb
- add_source_map_comment_to_asset_processor.rb
- asset.rb
- autoload.rb
- babel_processor.rb
- base.rb
- bower.rb
- bundle.rb
- cache.rb
- cached_environment.rb
- closure_compressor.rb
- coffee_script_processor.rb
- compressing.rb
- configuration.rb
- context.rb
- dependencies.rb
- digest_utils.rb
- directive_processor.rb
- eco_processor.rb
- ejs_processor.rb
- encoding_utils.rb
- environment.rb
- erb_processor.rb
- errors.rb
- exporting.rb
- file_reader.rb
- http_utils.rb
- jsminc_compressor.rb
- jst_processor.rb
- loader.rb
- manifest.rb
- manifest_utils.rb
- mime.rb
- npm.rb
- path_dependency_utils.rb
- path_digest_utils.rb
- path_utils.rb
- paths.rb
- processing.rb
- processor_utils.rb
- resolve.rb
- sass_cache_store.rb
- sass_compressor.rb
- sass_functions.rb
- sass_importer.rb
- sass_processor.rb
- sassc_compressor.rb
- sassc_processor.rb
- server.rb
- source_map_processor.rb
- source_map_utils.rb
- transformers.rb
- uglifier_compressor.rb
- unloaded_asset.rb
- uri_tar.rb
- uri_utils.rb
- utils.rb
- version.rb
- yui_compressor.rb
- sprockets.rb
- require_nonexistent_path.js
- require_outside_path.js.erb
- a.js
- b.js
- c.js
- a.js
- b.js
- a.js
- b.js
- b.js
- a.js
- b.js
- a.js
- a.js
- b.js
- c.js
- index.js
- file.js
- require.js
- require_tree.js
- d.js
- e.js
- c.js
- c.coffee
- e.js
- b.css
- b.js.erb
- README.md
- a.js
- b.js
- c.js
- application.js
- bar.js
- foo.js
- application.js
- bar.js
- foo.js
- a.js
- require_tree_with_logical_path.js
- require_tree_with_nonexistent_path.js
- a.js
- b.js
- require_tree_without_argument.js
- all_with_require.js
- all_with_require_directory.js
- all_with_require_directory_as_js.js
- all_with_require_tree.js
- asset_uri.css.erb
- require_tree_alpha.js
- require_tree_alpha_as_js.js
- require.js
- require_other_load_path.js
- require_outside_path.js
- bar.js
- index.js
- application.js
- foo.js
- frameworks.js
- jquery-ui.js
- jquery.js
- skip_jquery.js
- d.js
- e.js
- c.js
- c.coffee
- e.js
- b.css
- b.js.erb
- README.md
- a.js
- b.js
- c.js
- application.js
- bar.js
- foo.js
- application.js
- bar.js
- foo.js
- a.js
- require_tree_with_logical_path.js
- require_tree_with_nonexistent_path.js
- a.js
- b.js
- require_tree_without_argument.js
- all_with_require.js
- all_with_require_directory.js
- all_with_require_tree.js
- require_tree_alpha.js
- absolute_dependency_paths.js.erb
- application.css
- application.js
- bar-utf8.css
- blue.png
- charset.css
- coffee_asset.coffee
- default_mime_type.js
- dependency_paths.js.erb
- es6_asset.es6
- filename.js.erb
- foo-utf8.css
- jquery.tmpl.min.js
- log.txt
- mismatch.js
- multi_line_comment.js
- multiple.js
- noengine.js
- noformat.coffee
- one.css
- POW.png
- project.css
- project.js.erb
- require_manifest.js.erb
- require_manifest2.js.erb
- require_self.css
- require_self_twice.css
- required_assets.js
- source.js.map
- sprite.css.erb
- two.css
- unicode.js
- unknown_directives.js
- unknownexts.min.js
- users.js.erb
- css3.scss
- _compass.scss
- foo.css
- foo.js
- foo.mov
- foo.mp3
- foo.svg
- foo.woff
- foo.woff2
- application.bundle.yml
- bar.js
- environment-dep.js.erb
- environment.js.erb
- foo.js
- helpers.css.erb
- POW.png
- properties.js.erb
- properties.with.periods.js.erb
- require_glob.js
- resolve_content_type.js.erb
- sprite.css.embed
- sprite2.css
- svg-embed.css.erb
- svg-embed.svg
- utf8.js.erb
- main.js
- bower.json
- main.js
- foo.coffee
- index.js
- a.erb
- b.txt.erb
- c.js.erb
- d.css.erb
- e.html.erb
- f.yml.erb
- index.js
- package.json
- menu.css
- menu.html
- menu.js
- a.js
- b.js
- c.css
- d.css
- index.css
- index.js
- index.min.js
- main.js
- package.json
- style.css
- main.js
- package.json
- bower.json
- qunit.css
- qunit.js
- bower.json
- rails.coffee
- bower.json
- require.js
- jquery.js
- jquery.js
- jquery.js
- bower.json
- FILEFILE
- mimetype.unknown
- zc.js
- +plus.js
- alias-index-link.js
- application.coffee
- blank.gif
- blue_jpeg.jpeg
- blue_jpg.jpg
- empty
- explore-link.js
- favicon.ico
- future.es6
- gallery-link.js
- gallery.css.erb
- gallery.js
- goodbye.jst.eco
- hello.jst.ejs
- hello.txt
- homepage-links.html.erb
- interpolation.js
- jquery.tmpl.min.js
- logo.svg
- manifest.js.yml
- missing_absolute_depend_on.js
- missing_depend_on.js
- missing_require.js
- nokogiri-html.html.builder
- nokogiri-xml.xml.builder
- noreturn.js
- project.coffee.erb
- rand.js.erb
- README.md
- schneems.js
- symlink
- troll.png
- with_data_uri.css.erb
- code_before_comment
- comment_without_directives
- directive_word_splitting
- directives_after_header
- documentation
- double_slash
- hash
- no_header
- slash_star
- slash_star_single
- space_between_directive_word
- triple_hash
- a.css
- a.css.erb
- link_a.js
- link_directory_manifest.js
- link_same_file_twice.js
- ascii.js
- ascii_utf8.js
- binary.png
- utf16be.html
- utf16be.js
- utf16le-bom-charset.css
- utf16le-charset.css
- utf16le.html
- utf16le.js
- utf32be.html
- utf32be.js
- utf32le.html
- utf32le.js
- utf8-charset.css
- utf8-charset.html
- utf8.js
- utf8_bom.html
- utf8_bom.js
- symlink
- index.js
- index.js.erb
- index.js
- .sprockets-manifest-f4bf345974645583d284686ddfb7625e.json
- .sprockets-manifest-00000000000000000000000000000000.json
- .sprockets-manifest-f4bf345974645583d284686ddfb7625e.json
- octicons.eot
- octicons.scss
- octicons.svg
- octicons.ttf
- octicons.woff
- octicons.woff2
- hot.coffee
- index.coffee
- plain.js
- bower.json
- main.js
- foo.coffee
- index.js
- main.js
- form.js
- index.js
- application.coffee
- application.css
- application.js
- application.js.erb
- application.scss
- empty
- files.erb
- hello.jst.ejs
- jquery-coffee.min.coffee
- jquery-custom.min.js.erb
- jquery.csv.js
- jquery.csv.min.js
- jquery.foo.min.js
- jquery.js
- jquery.js.min
- jquery.min.js
- jquery.tmpl.js
- jquery.tmpl.min.js
- project.coffee.erb
- sprite.css.embed
- store.css.erb
- store.foo
- traceur.es6
- traceur.js.es6
- compiled-digest-0aa2105d29558f3eb790d411d7d8fb66.js
- compiled-digest-1c41eb0cf934a0c76babe875f982f9d1.js
- bar.css
- bar.js
- foo.js
- foo.css
- colors.sass
- relative.scss
- _colors.scss
- _header.scss
- _rounded.scss
- data_url.scss
- error.sass
- import_load_path.scss
- import_nonpartial.scss
- import_partial.sass
- import_partial.scss
- links.scss
- main.scss
- nesting.scss
- paths.scss
- relative.scss
- reset.css
- urls.scss
- variables.sass
- logo.png
- application.js
- bar.js
- esbuild-TQDC3LZV.digested.js
- foo.js
- hello.txt
- prehashed-988881adc9fc3655077dc2d4d757d480b5ea0e11.js
- tree.js
- ζ₯ζ¬θͺ.js
- missing_require.js
- bootstrap.css
- missing_require.css
- main.es6
- main.js
- main.js.map
- main.es6
- main.coffee
- main.js
- main.js.map
- main.coffee
- application.coffee
- file.coffee
- index.js
- main.css
- main.css.map
- main.scss
- _imported.scss
- main.scss
- with-import.scss
- something.js
- a.js
- directory.js
- application.coffee
- child.js
- multi-require.js
- parent.js
- plain.js
- project.coffee
- users.coffee
- symlink
- shared_sass_tests.rb
- sprockets_test.rb
- test_asset.rb
- test_babel_processor.rb
- test_bundle.rb
- test_cache_store.rb
- test_caching.rb
- test_closure_compressor.rb
- test_coffee_script_processor.rb
- test_context.rb
- test_dependency.rb
- test_digest_utils.rb
- test_eco_processor.rb
- test_ejs_processor.rb
- test_encoding.rb
- test_encoding_utils.rb
- test_environment.rb
- test_erb_processor.rb
- test_exporting.rb
- test_http_utils.rb
- test_jsminc_compressor.rb
- test_jst_processor.rb
- test_loader.rb
- test_manifest.rb
- test_manifest_utils.rb
- test_path_dependency_utils.rb
- test_path_digest_utils.rb
- test_path_utils.rb
- test_performance.rb
- test_processor_utils.rb
- test_rake_task.rb
- test_require.rb
- test_resolve.rb
- test_sass.rb
- test_sassc.rb
- test_server.rb
- test_source_map_utils.rb
- test_source_maps.rb
- test_sprocketize.rb
- test_transformers.rb
- test_uglifier_compressor.rb
- test_uri_tar.rb
- test_uri_utils.rb
- test_utils.rb
- test_yui_compressor.rb
- .gitattributes
- .gitignore
- .rubocop.yml
- appveyor.yml
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- Gemfile
- ISSUE_TEMPLATE.md
- MIT-LICENSE
- Rakefile
- README.md
- sprockets.gemspec
- UPGRADING.md
π Installation Guide
1. Get the code
git clone https://github.com/rails/sprockets
Downloads the entire project code from GitHub to your computer.
cd sprockets
Moves into the project folder you just downloaded.
2. Ruby
Easy RecommendedPrerequisites
appear in the bundle only once.
Type this command into your terminal and run it.
including it in the bundle. This is useful when you need to expire an
Type this command into your terminal and run it.
including them in the bundle. This is useful when you need to expire an
Type this command into your terminal and run it.
`stub` *path* excludes that asset and its dependencies from the asset bundle.
Type this command into your terminal and run it.
of the bundle. `stub` should only be used at the top level bundle, not
Type this command into your terminal and run it.
If bundle install finishes without errors, continue with the run command from the README (e.g. rails server).
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
