07-21-2023, 04:18 PM
Excuse my ignorance but I just installed jQuery using npm and between the jQuery files there's a file called `jquery.slim.js`, what is `slim`? I know the `min` stands for minified but slim is new to me!.
btw I'm pretty sure `slim` is not like `min` because there's another file called `jquery.slim.min.js` and obviously it's lighter than the normal slim file.
Also the `slim` file contains the jQuery 3 beta. (That's what the comments in the code say)
Again sorry for the stupid question but I got no clue.
**UPDATE**
I'm using `require` to include the files, would the require include this file without my knowledge? or not?
btw I'm pretty sure `slim` is not like `min` because there's another file called `jquery.slim.min.js` and obviously it's lighter than the normal slim file.
Also the `slim` file contains the jQuery 3 beta. (That's what the comments in the code say)
Again sorry for the stupid question but I got no clue.
**UPDATE**
I'm using `require` to include the files, would the require include this file without my knowledge? or not?