-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assets Manager doc #17512
base: main
Are you sure you want to change the base?
Assets Manager doc #17512
Conversation
Error during build step |
Right, that's because the diffviewer.js changes that you pushed doesn't compile the same on CI than on your PC. |
@@ -6,7 +6,7 @@ Based on [Concurrently](https://github.com/open-cli-tools/concurrently) the Orch | |||
|
|||
Old assets are not compiled as ES6 modules so they don't need these bundlers. For that matter we kept the old `gulpfile.js` which will be now triggered by `Concurrently` when doing `yarn build -gr`. | |||
|
|||
Concurrently uses an `Assets.json` file that defines actions to execute. The old Gulp pipline uses a `GulpAssets.json` file that defines actions to execute. | |||
Concurrently uses an `Assets.json` file that defines actions to execute. The old Gulp pipeline uses a `GulpAssets.json` file that defines actions to execute. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I'm know wrong @Piedone submitted a PR for fix such issues, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not yet, just opened #17494.
You could try this: Also, Vite by default only allows ES6 builds. Currently it will return a console log if you are trying to integrate its .js builds without the Parcel allows ES6 builds by configuration in the package.json file by adding the ESM compiled scripts will load fine on a script tag without |
Also forgot to add something about using |
@agriffard please pull latest main in your branch and rebuild. |
You did |
Merge from main done.
|
I did and no changes detected (only during the process, but not in the end). |
I will try and pull your branch but ... it seems more like a different configuration on your PC causing this. Normally Webpack should output the same from one PC to an other based on the configs that are set. |
Or maybe you did not do |
|
We need to find why you get Webpack compilation changes on your PC. I did not get any. I pushed a commit that reverts these changes. All I did was a |
Fixing a few typos in Assets Manager doc.
Trying to execute
yarn build -gr
(A few files changed).Not sure about the current phrasing of the last sentence:
Parcel doesn't prevent this and their ESM compiled script will load fine but you should try to avoid it else it is counter productive, you should then use a CommonJS build.
avoid it else it is counter productive
Suggestion :avoid it or else it can be counterproductive
?/cc @Skrypt