-
Notifications
You must be signed in to change notification settings - Fork 867
Update Build Process and Dependencies #1346
Comments
I'm wondering what's the general opinion regarding sticking with NPM and Gulp, or if there is some interest in moving to Yarn and for example WebPack, or Parcel.js? I haven't worked with parcel yet, but I like the simplistic approach about it. It might be an easier approach for most users considering this is a WordPress Starter Theme. |
I have a branch called foundationpress-webpack, which is Webpack 4 and Foundationpress no gulp. Still a work in progress, but should work . Give it a go if you have interest as maybe parts of it can be of use. Be sure to read the readme as the build commands are different. Also, you need the latest version of node.js . |
Thanks JPOak. reviewing the build process I actually noticed that a webpack plugin is already used for Javascript bundling and the dev server. @derweili I think you have a better picture on this. Do you think it makes sense trying to simplify the build process at this stage, given that Gulp4 now includes its own dev server, or that other solutions are available now too? |
How can I install foundation with this in mind? |
@AndrewLee0 what do you mean? |
@AndrewLee0 you can use FoundationPress now. Because we don't know which build process we will choose for the future we can't give you more info. |
@JPOak that really looks good. I will try try you Webpack implementation in the next days. It would therefore be useful to choose one of the two, which would then take over everything. Alternatively it is maybe possible to privide a "simple" build process in gulp and an advanced process in webpack. So the user can choose what process he wants. |
Late to this and just a thought but would Laravel-Mix be a good fit here? |
The build process should be updated because of following reasons:
6.11
from Oct. 2017 is outdatedSo we need to:
The text was updated successfully, but these errors were encountered: