Fix increase in some bundle sizes (https://github.com/woocommerce/woocommerce-blocks/pull/1363)
* 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:
parent
0c09e791ad
commit
d153ecad2e
|
@ -10,6 +10,7 @@
|
|||
"wordpress",
|
||||
"blocks"
|
||||
],
|
||||
"sideEffects": ["*.css", "*.scss"],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com:woocommerce/woocommerce-gutenberg-products-block.git"
|
||||
|
|
Loading…
Reference in New Issue