[wp-trac] [WordPress Trac] #36335: Next generation: core autoloader proposal
WordPress Trac
noreply at wordpress.org
Mon Jun 6 15:40:12 UTC 2016
#36335: Next generation: core autoloader proposal
-----------------------------+-----------------------------
Reporter: dnaber-de | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses:
-----------------------------+-----------------------------
Comment (by schlessera):
> What's the best practice for moving it into ABSPATH? Should we have a
(Grunt?) wrapper that runs dump-autoload and then moves vendor into src,
intended to be run pre-commit?
No, just set the desired `vendor` folder from within your `composer.json`
(relative to where that one is located):
{{{#!json
{
"config": {
"vendor-dir": "src/vendor"
}
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36335#comment:49>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list