I am new to JavaScript and its related framework.
What is an asset? Is it a group of JS/HTML/img files? Is it a folder? Or a library? Or a generic term used to describe all UI related files?
What is a bundle?
Asset bundles contain resources, such as images and strings, that can be used by an application. Access to these resources is asynchronous so that they can be transparently loaded over a network (e.g., from a NetworkAssetBundle) or from the local file system without blocking the application's user interface.
An asset
is typically a static file such as JS files, image files, CSS files. A bundle
is when those files are then compressed together into a single file.
For example, if you create a "bundle" you can say: Take layout.js
, product.js
, print.js
and output to my_bundle_name.js
. Usually making a single concatenated minified file called bundle.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With