WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #51966, comment 2


Ignore:
Timestamp:
12/09/2020 11:00:30 AM (11 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51966, comment 2

    v1 v2  
    1111Seems the best way to fix the above "mess" would be to always build in both places, `build` and `src`. That may be a bit slower, but will simplify a lot of things and prevent a lot of confusion and headaches. Actually it looks like it won't be slower, can build to `src` and then copy all built files to `build`. Looking at Gruntfile.js this is pretty easy to do there but will need to fix/tweak Webpack a bit.
    1212
    13 Do you think this is a good idea? If we do that, then we can change/simplify/deprecate a lot more of the build workflow and commands, and make is simple again.
     13Do you think this is a good idea? If we do that, then we can change/simplify/deprecate a lot more of the build workflow and commands, and make it simple again.
    1414