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

chore(build): use ESBuild as alternative build for Salesforce #911

Merged
merged 1 commit into from Feb 22, 2023

Conversation

ghiscoding
Copy link
Owner

  • assign jQuery to the window object so that we can bundle jQuery in the same slickgrid bundle, in other words we would only have 1 single static resource (zip) for the entire slickgrid-universal and that's it (since everything is bundled, jQuery and even SortableJS also become part of the bundle and aren't needed as extra resources)

- assign jQuery to the window object so that we can bundle jQuery in the same slickgrid bundle, in other words we would only have 1 single static resource (zip) for the entire slickgrid-universal and that's it (since everything is bundled, jQuery and even SortableJS also become part of the bundle and aren't needed as extra resources)
@codecov
Copy link

codecov bot commented Feb 21, 2023

Codecov Report

Merging #911 (653e231) into master (d2a732a) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #911   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          244       245    +1     
  Lines        16595     16598    +3     
  Branches      5907      5907           
=========================================
+ Hits         16595     16598    +3     
Impacted Files Coverage Δ
packages/common/src/global-jquery.ts 100.00% <100.00%> (ø)
packages/common/src/index.ts 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@ghiscoding ghiscoding merged commit b1b19e5 into master Feb 22, 2023
@ghiscoding ghiscoding deleted the chore/esbuild-salesforce branch February 22, 2023 20:07
ghiscoding added a commit that referenced this pull request Feb 24, 2023
- in a previous PR #911 to help with ESBuild bundle, we assigned jQuery to the global window object but that can cause duplicate jQuery version loaded and made Angular-Slickgrid Jest unit tests to fail with that problem
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.

None yet

1 participant