Make WordPress Core

Changes between Version 7 and Version 8 of Ticket #44256


Ignore:
Timestamp:
05/29/2018 05:02:14 AM (7 years ago)
Author:
adamsilverstein
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44256 – Description

    v7 v8  
    11For local development, I've typically symlinked plugins I am working on into the `src/wp-content/plugins` folder. These plugins sometimes include a large number of files (typically in a `node_modules` folder) that causes the copy part of the core build process to hang or fail. Since r43309 which requires a build step for core JavaScript and working out of the `build` folder, I am having trouble getting the process to complete. I've seen several mentions of this issue in core slack. It is possible this is also an issue for the themes folder for some developers.
    22
    3 In addition, since the build process wipes out the `build` folder with each build, I can't put my plugins folder in build instead of `src`.
     3In addition, since the build process wipes out the `build` folder with each build, I can't put my plugins folder in `build` instead of `src`.
    44
    55One possible solution: exclude the plugins folder when wiping `build` and skip copying any non-core plugins during the copy phase. If we get more explicit about what we delete and copy, developers can have more flexibility in their local setups.