Run node build.js --copy-assets
from your terminal
If you looks inside media/system/js
, you'll notice a directory called core.es6
.
This directory is unecessary and contains invalid files
Labels |
Added:
?
|
How can I elaborate?
Run node build.js --copy-assets
and look at the directory I mentioned. I shouldn't be generated
Not sure how else to explain it
I believe the aim was to conditionally load the es6 files on machines that support ES6 (basically everything we run core on at the moment out of the box). Can you explain why you think these files are invalid. I'm often using them to debug things (as it's the equivalent of the raw files used before babel transpiling)
The files are invalid because they are compiled to core.es6.js, that are only the plain source files for copyright reasons.
Ahh sorry I understand now. Yup that's all invalid and rubbish indeed
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-10-22 08:53:31 |
Closed_By | ⇒ | SharkyKZ |
Labels |
Removed:
?
|
Can you elaborate this a bit?