- Add cssbundling-rails and jsbundling-rails gems for improved asset management. - Create a Procfile for development with separate processes for CSS and JS. - Remove unused jQuery and Bootstrap assets from the application. - Update .gitignore to exclude build artifacts and node_modules. These changes streamline the asset pipeline, allowing for better organization and performance in handling CSS and JS files. The removal of unused assets reduces clutter and potential conflicts in the asset management process.
40 lines
799 B
Plaintext
40 lines
799 B
Plaintext
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
|
|
#
|
|
# Temporary files generated by your text editor or operating system
|
|
# belong in git's global ignore instead:
|
|
# `$XDG_CONFIG_HOME/git/ignore` or `~/.config/git/ignore`
|
|
|
|
# Ignore bundler config.
|
|
/.bundle
|
|
|
|
# Ignore all environment files.
|
|
/.env*
|
|
|
|
# Ignore all logfiles and tempfiles.
|
|
/log/*
|
|
/tmp/*
|
|
!/log/.keep
|
|
!/tmp/.keep
|
|
|
|
# Ignore pidfiles, but keep the directory.
|
|
/tmp/pids/*
|
|
!/tmp/pids/
|
|
!/tmp/pids/.keep
|
|
|
|
# Ignore storage (uploaded files in development and any SQLite databases).
|
|
/storage/*
|
|
!/storage/.keep
|
|
/tmp/storage/*
|
|
!/tmp/storage/
|
|
!/tmp/storage/.keep
|
|
|
|
/public/assets
|
|
|
|
# Ignore master key for decrypting credentials and more.
|
|
/config/master.key
|
|
|
|
/app/assets/builds/*
|
|
!/app/assets/builds/.keep
|
|
|
|
/node_modules
|