Skip to content
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

32129139: Remove webpack from widgetjs #477

Merged
merged 7 commits into from
Apr 3, 2024

Conversation

DamienCassou
Copy link
Member

@DamienCassou DamienCassou commented Apr 3, 2024

The line

  import jQuery from "jquery";

implies that the library "jquery" has a default export. This is
not the case and the line above only works because we use Webpack.

This commit wraps each library that do not export an ES-module.
@DamienCassou DamienCassou marked this pull request as ready for review April 3, 2024 08:41
Copy link
Contributor

@ValentinaVasile ValentinaVasile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 10 of 10 files at r1, 2 of 2 files at r2, 7 of 7 files at r3, 2 of 2 files at r4, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @BenjaminVanRyseghem, @DamienCassou, @danglotb, @JohanBriglia, and @josquindebaz)

a discussion (no related file):
Maybe an explanation why we remove webpack? My guess is that is not used anymore but still :)


We don't need any bundler anymore. Users of the library can just
import the source file they need and rely on their own bundler if they
want to.
@DamienCassou DamienCassou force-pushed the 32129139/Remove_webpack_from_widgetjs branch from 041ac70 to e4dfc3b Compare April 3, 2024 09:12
@DamienCassou DamienCassou force-pushed the 32129139/Remove_webpack_from_widgetjs branch from 2707236 to cd68ab1 Compare April 3, 2024 09:16
Copy link
Member Author

@DamienCassou DamienCassou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 11 of 21 files reviewed, 1 unresolved discussion (waiting on @BenjaminVanRyseghem, @danglotb, @JohanBriglia, @josquindebaz, and @ValentinaVasile)

a discussion (no related file):

Previously, ValentinaVasile (Valentina Vasile) wrote…

Maybe an explanation why we remove webpack? My guess is that is not used anymore but still :)

you are right. I added that to the commit message.


Copy link

@josquindebaz josquindebaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 10 of 10 files at r1, 2 of 2 files at r2, 9 of 9 files at r5, 7 of 7 files at r6, 2 of 2 files at r7, 2 of 2 files at r8, 2 of 2 files at r9, 1 of 1 files at r10, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @BenjaminVanRyseghem, @danglotb, @JohanBriglia, and @ValentinaVasile)

Copy link
Contributor

@BenjaminVanRyseghem BenjaminVanRyseghem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 10 of 10 files at r1, 2 of 2 files at r2, 9 of 9 files at r5, 7 of 7 files at r6, 2 of 2 files at r7, 2 of 2 files at r8, 2 of 2 files at r9, 1 of 1 files at r10, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @danglotb, @JohanBriglia, and @ValentinaVasile)

@DamienCassou DamienCassou merged commit 080bed6 into master Apr 3, 2024
1 of 2 checks passed
@DamienCassou DamienCassou deleted the 32129139/Remove_webpack_from_widgetjs branch April 3, 2024 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants