Updated to use pnpm etc.

Peter Fabian 2022-01-17 15:31:03 +01:00
parent 1409e5ee27
commit 0b3584c14a
1 changed files with 1 additions and 3 deletions

@ -11,9 +11,7 @@
When updating SCSS files in the WooCommerce project, please **commit only your changes to unminified SCSS files**. The minification will be handled as part of the release process.
To get the minified CSS files, run task `node_modules/.bin/grunt css`. Alternatively, if you are performing multiple changes and want grunt to watch all SCSS files and trigger the update automatically, run `node_modules/.bin/grunt watch` in the WooCommerce plugin folder.
For further details on how to set up `grunt`, see the section on [how to install dependencies and generate assets](https://github.com/woocommerce/woocommerce/wiki/How-to-set-up-WooCommerce-development-environment#install-dependencies-and-generate-assets) in the guide to set up a WooCommerce development environment.
To get the minified CSS files, run `pnpm nx build woocommerce-legacy-assets` from within the `plugins/woocommerce` directory. To set up the development environment from scratch, see the section on [how to install dependencies and generate assets](https://github.com/woocommerce/woocommerce/wiki/How-to-set-up-WooCommerce-development-environment#install-dependencies-and-generate-assets) in the guide to set up a WooCommerce development environment.
## Javascript