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?

Members fund testing for the Drupal project. Drupal Association Learn more


droplet created an issue. See original summary.

martin107’s picture

3.59 KB

Needed reroll

to reflect changes to announce.js

BTW I like the idea behind this issue.

Wim Leers’s picture

Status: Active » Closed (outdated)

The CR at already provides a solution:

yarn run watch:js

Run that while you're making modifications. It'll do the transpilation from ES6 to ES5 in the background.

Wim Leers’s picture

droplet’s picture

It 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