Problem/Motivation
Our current build process for ES6 transpiles all JS files. It takes long execution time on a slow computer.
Proposed resolution
- Add a script to build (git) modified files only
- Should we lint it before build?
- Output a patch also?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | reflect-2879072-2.patch | 3.59 KB | martin107 |
Comments
Comment #2
martin107 commentedNeeded reroll
to reflect changes to announce.js
BTW I like the idea behind this issue.
Comment #3
wim leersThe CR at https://www.drupal.org/node/2815083 already provides a solution:
Run that while you're making modifications. It'll do the transpilation from ES6 to ES5 in the background.
Comment #4
wim leers#2809281-39: Use ES6 for core JavaScript development confirmed this is already done :)
Comment #5
droplet commentedIt actually has not done yet and not outdated. My patch and proposal is compared files to GIT HEAD and does further actions. ( BUILD / LINT / PATCH )
And the core part of this patch shareable to CHECK command also