Wordpress/.gitignore
Andrew Ozz b2d243fbe6 Build Tools:
- Update the DependencyExtractionWebpackPlugin to 2.3.0 and set it to output a single assets file.
- Grunt: copy the assets file to both `SOURCE_DIR` and `BUILD_DIR` as `wp-includes/assets/script-loader-packages.php`.
- "Unignore" the `wp-includes/assets` directory. Its content will be committed similarly to `wp-includes/blocks`.
- Update `wp_default_packages_scripts()` to use the above file. This also removes the hard-coded lists of packages and packages with translations.

Props gziolo, pbearne, johnbillion, isabel_brison, ocean90, azaozz.
Fixes #48154.

git-svn-id: https://develop.svn.wordpress.org/trunk@47352 602fd350-edb4-49c9-b593-d223f7449a82
2020-02-24 21:20:49 +00:00

79 lines
1.9 KiB
Plaintext

# gitignore file for WordPress Core
# Configuration files with possibly sensitive information
wp-config.php
wp-tests-config.php
.htaccess
# Files and folders related to build/test tools
/phpunit.xml
/.phpcs.xml
/phpcs.xml
/tests/phpunit/data/plugins/wordpress-importer
/tests/phpunit/data/.trac-ticket-cache*
/tests/qunit/compiled.html
/src/.wp-tests-version
/node_modules
/npm-debug.log
/build
/tests/phpunit/build
/wp-cli.local.yml
/jsdoc
/vendor
/src/wp-admin/css/*.min.css
/src/wp-admin/css/*-rtl.css
/src/wp-admin/css/colors/*/*.css
/src/wp-admin/js
/src/wp-includes/js
/src/wp-includes/css/dist
/src/wp-includes/css/*.min.css
/src/wp-includes/css/*-rtl.css
# Files and folders that get created in wp-content
/src/wp-content/blogs.dir
/src/wp-content/languages
/src/wp-content/mu-plugins
/src/wp-content/plugins
/src/wp-content/themes/*
!/src/wp-content/themes/twentyten
!/src/wp-content/themes/twentyeleven
!/src/wp-content/themes/twentytwelve
!/src/wp-content/themes/twentythirteen
!/src/wp-content/themes/twentyfourteen
!/src/wp-content/themes/twentyfifteen
!/src/wp-content/themes/twentysixteen
!/src/wp-content/themes/twentyseventeen
!/src/wp-content/themes/twentynineteen
/src/wp-content/upgrade
/src/wp-content/uploads
/src/wp-content/advanced-cache.php
/src/wp-content/blog-deleted.php
/src/wp-content/blog-inactive.php
/src/wp-content/blog-suspended.php
/src/wp-content/db.php
/src/wp-content/db-error.php
/src/wp-content/debug.log
/src/wp-content/fatal-error-handler.php
/src/wp-content/install.php
/src/wp-content/maintenance.php
/src/wp-content/object-cache.php
/src/wp-content/php-error.php
/src/wp-content/sunrise.php
# Operating system specific files
.DS_Store
# Ignore other .gitignore files to allow for personal customizations
.gitignore
# Files related to applying patches
*.rej
*.orig
*.patch
*.diff
.svn
!/src/js/_enqueues/vendor
# Files for local environment config
/docker-compose.override.yml