Search code examples
extjsbuildauth0minify

ExtJS - How to disabled minification of specific file


I have an external library file (auth0.js) I need to include in the build but not minify it as it's already minified.

    "js": [
        {
            "path": "app.js",
            "bundle": true
        },
        {
            "path": "auth0.js",
            "bundle": false,
            "includeInBundle": false
        }
    ]

Which property should I use? bundle prevent it from being copied in the classic/modern folder which is good. I tried includeInBundle but it does not help.


Solution

  • An alternative solution to file compression/bundle is to put a CDN link in index.html.

    <script src="https://cdn..."></script>