This website requires JavaScript.
Explore
Help
Sign In
Steve-Dee-Designs
/
woocommerce
mirror of
https://github.com/woocommerce/woocommerce.git
Watch
1
Star
0
Fork
You've already forked woocommerce
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
06d84997e5
woocommerce
/
plugins
/
woocommerce-blocks
/
assets
/
js
/
settings
/
blocks
/
index.js
6 lines
90 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Fix build issues for production builds (https://github.com/woocommerce/woocommerce-blocks/pull/2042) * add payment-methods-demo config to sideEffects and install @wordpress/icons and @wordpress/primitives to be used directly. * configure dependency extraction to ignore imports we want to use directly * fix style issues for production builds It looks like when a style is imported on the entrypoint of a component (or in a file with just exports), it get’s treeshaken from the final build _regardless of exception rules_. * fix style imports from wordpress components * fix loading skeleton showing on production builds * fix block skeleton showing on production builds for cart * import side effectful code * add treatment for `@wordpress/warning` too * fix typo * exclude `settings/block` from sideEffects * rollback `wordpress-components` update and keep sideEffects fixes * remove unnecessary handle handling Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
2020-03-27 20:56:48 +00:00
/
*
*
*
Internal
dependencies
*
/
import
'./store-api-nonce'
;
Implement PHP DI container and refactor. Also implements new Asset data interface for extendable settings passed to js. (https://github.com/woocommerce/woocommerce-blocks/pull/956) * Add dependency injection container for blocks * Add new Pacakge and Bootstrap classes. - Bootstrap for bootstrapping the plugin. - Package will replace `src/Package` and added as a dependency for any classes needing package info. * Introduce AssetsDataRegistry for managing asset data * refactor existing classes to use new DIC and Asset Data Registry - this is the bare minimum needed to make this pull viable. - further refactors will be done in more atomic smaller pulls for easier review. * add new settings handling and export `@woocommerce/settings` as an alias to wc.wcSettings - the export is exposed php side on the `wc-settings` handle. * Remove unnecessary concatenation * Fix typos and improve doc blocks * fix php linting issue * Use better escaping function. * improve jsdoc spacing * improve test assertion * use fully qualified class names in bootstrap * improve comment block to account for dynamic version string replace on build * handle exceptions a bit differently * correct dependency reference in webpack config * remove blank lines * fix doc block comment alignment * Various doc/grammar/spacing fixes from code review. Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com> * improve naming, documentation and logic of filter callbacks While this is intended for sanitization/validation, the callback ultimately provides flexibility for filtering the value before returning or setting in state so `filter` is a better name for this.
2019-09-23 18:07:13 +00:00
export
*
from
'./constants'
;