Skip to content

One JS with all Plugins and Features #847

Answered by ghiscoding
samety22 asked this question in Q&A
Discussion options

You must be logged in to vote

Well if you use the new ESM import then it's 1 import, see Example 4 - ESM which is in vanilla JS and just requires you to use <script type="module">

As for the old browser (iife) imports, that will not change, you still need to import multiple files and we do not expect to ever change it because it is still a good way to only import what you want/use and that is what SlickGrid users have been using and loading in their pages for the past 10 years. For example, if we merged everything into 1 bundle, you would be loading the entire libraries with all controls & plugins and you must probably will never use them all in most cases. Again it's recommended to use the new ESM import (which is bu…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@samety22
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ghiscoding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants