[wp-trac] [WordPress Trac] #47285: Better Management of External Asset Dependencies
WordPress Trac
noreply at wordpress.org
Wed May 15 19:07:01 UTC 2019
#47285: Better Management of External Asset Dependencies
-----------------------------+--------------------------------------
Reporter: justlevine | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version:
Severity: major | Resolution:
Keywords: | Focuses: javascript, performance
-----------------------------+--------------------------------------
Comment (by nerrad):
Worth noting, this problem is not new :) In the case of Gutenberg and
blocks, there is some awareness around dependencies management which in
part led to the creation of this package:
https://github.com/WordPress/gutenberg/tree/master/packages/dependency-
extraction-webpack-plugin
It's the first step in hopefully improving how assets get registered
within the block-editor (and eventually WordPress) environment. Also, as
a part of the block rfc
(https://github.com/WordPress/gutenberg/pull/13693) there's some
discussion around declaration of assets as aa part of a block.json.
The above doesn't speak to all your points in here but highlights related
conversations/solutions happening elsewhere.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47285#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list