Hi there
Here is a scenario. I'm creating a universal library with various components that I might use in my projects. Depending on each project, I might use certain CSS and JS files from the b4xlib.
The current implementation for b4xlibs is that when referencing the lib on your project, all css and js files are automatically included in your project using the b4xlib. Perfect!
In my library converted into b4xlib i have this for example defined in AppStart.
And somewhere, this also..
After compiling my lib, all these css and js files are available for use in any of my projects, but...
Now assume that I'm working on a new project and do not want to use tron, md5, hashes, bcrypt and moment js files on my new project, how can I have these excluded in my new BANAno project?
The un-needed js and css files are included in the generated HTML scripts for the page currently, these are also merged when that option is turned on.
Thanks!
PS: I understand the need to reference CDN for some of the resources, however at cases, one is running intranet apps without a need for an internet access thus the added resources.
Here is a scenario. I'm creating a universal library with various components that I might use in my projects. Depending on each project, I might use certain CSS and JS files from the b4xlib.
The current implementation for b4xlibs is that when referencing the lib on your project, all css and js files are automatically included in your project using the b4xlib. Perfect!
In my library converted into b4xlib i have this for example defined in AppStart.
CSS & JS Files:
BANano.Header.AddCSSFile("vue-material.min.css")
BANano.Header.AddCSSFile("default.css")
BANano.Header.AddCSSFile("vue-material-slider.css")
BANano.Header.AddJavascriptFile("vue-material.min.js")
BANano.Header.AddJavascriptFile("vue-material-slider.umd.js")
And somewhere, this also..
Another CSS & JS Files:
BANano.Header.AddJavascriptFile("jquery.knob.min.js")
BANano.Header.AddJavascriptFile("tron-knob.js")
BANano.Header.AddJavascriptFile("md5.min.js")
BANano.Header.AddJavascriptFile("hashes.min.js")
BANano.Header.AddJavascriptFile("bCrypt.js")
BANano.Header.AddJavascriptFile("moment.js")
After compiling my lib, all these css and js files are available for use in any of my projects, but...
Now assume that I'm working on a new project and do not want to use tron, md5, hashes, bcrypt and moment js files on my new project, how can I have these excluded in my new BANAno project?
The un-needed js and css files are included in the generated HTML scripts for the page currently, these are also merged when that option is turned on.
Thanks!
PS: I understand the need to reference CDN for some of the resources, however at cases, one is running intranet apps without a need for an internet access thus the added resources.