This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 867
Gulp task for pot generation #1356
Milestone
Comments
Excellent! I was looking further at parcel.js and think it might not be q
goid solution for us. It automates a lot u der the hood, but because of
this it also makes advanced features like the pot file generation or
text-domain rename rather difficult. I still have some issues with babel
(es6) vs es5. I'm somewhat opting for rewriting the whole gulpfile to es5,
just so its easier to understand when looking at the gulp docs, that said
es6 in general is actually easier than es5... You have any opinion towards
it?
…On Mon, Feb 4, 2019, 11:30 PM Julian Weiland ***@***.***> wrote:
I implemented a solution in 94e4852
<94e4852>
checkout the pot-task <http:///olefredrik/FoundationPress/tree/pot-task>
branch
Unfortunately the gulp-wp-pot requires node > 8 which does not comply
with our current requirements (node > 6.11).
I think this should be implemented after the whole build process has beeen
refactored.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1356 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACiK3CB4V-713AWbB0hBmsgQIHYVsYb1ks5vKEQNgaJpZM4aWLH->
.
|
@kLOsk I would prefer ES6 over ES5. What are the issuees with ES6? |
It's just that the official Gulp documentation has all examples in ES5 and it's somewhat difficult to follow our gulp file if you are unaware of the differences. We should make a note in the gulpfile that it's using ES6 and point to some ES6 docs I think. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We should implement a process for generating a pot file.
I think we can implement this by using this package
https://github.com/rasmusbe/gulp-wp-pot
The text was updated successfully, but these errors were encountered: