diff --git a/.gitignore b/.gitignore index 23ba8c4eb99..130ad00fe7e 100644 --- a/.gitignore +++ b/.gitignore @@ -40,10 +40,6 @@ vendor/ # TypeScript files tsconfig.tsbuildinfo -# WooCommerce Plugin built files -plugins/woocommerce/assets/css/ -plugins/woocommerce/assets/js/ - # wp-env config .wp-env.override.json diff --git a/plugins/woocommerce/.gitignore b/plugins/woocommerce/.gitignore index f14e49b6427..65ccaf64123 100644 --- a/plugins/woocommerce/.gitignore +++ b/plugins/woocommerce/.gitignore @@ -8,10 +8,12 @@ none .sass-cache/ # All CSS -/assets/css/* +/assets/css/** +/assets/css/*.css # All JS -/assets/js/* +/assets/js/** +/assets/js/*.js # Behat/CLI Tests tests/cli/installer diff --git a/plugins/woocommerce/assets/css/.gitkeep b/plugins/woocommerce/assets/css/.gitkeep new file mode 100644 index 00000000000..e69de29bb2d diff --git a/plugins/woocommerce/assets/js/.gitkeep b/plugins/woocommerce/assets/js/.gitkeep new file mode 100644 index 00000000000..e69de29bb2d