* import svg directly to avoid pulling all dependencies

* revert unnecessary change with sideEffects figured out.

* add sideEffects to package json.

This results in a ~60% reduction in bundle sizes!
This commit is contained in:
Darren Ethier 2019-12-11 07:29:09 -05:00 committed by GitHub
parent 0c09e791ad
commit d153ecad2e
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@
"wordpress",
"blocks"
],
"sideEffects": ["*.css", "*.scss"],
"repository": {
"type": "git",
"url": "https://github.com:woocommerce/woocommerce-gutenberg-products-block.git"