When I import "jquery" from package.json, it is running well in the dev environment.
But it is an error after build after I set externalGlobalsexternalGlobals: { jquery: cdn.jsdelivr("jquery"), },
Its build result is this:
(() => {
main();
})();
})(jquery);
Because jquery is not in the window, but jQuery is in.
I do not want to edit my build file every time after the build.
When I import "jquery" from package.json, it is running well in the dev environment. But it is an error after build after I set
externalGlobals
externalGlobals: { jquery: cdn.jsdelivr("jquery"), },
Its build result is this:Because jquery is not in the window, but jQuery is in. I do not want to edit my build file every time after the build.![image](https://user-images.githubusercontent.com/22906933/226648835-b7040c33-1aa9-4e50-b1a5-81498cec1e90.png)