RequireJS has a urlArgs config option which allows you to append url arguments to all required module files, which can be useful for invalidating cached js files.
Can this be done with webpack? (So that requireEnsure would include "1.bundle.js?v=1" instead of "1.bundle.js", where the "v=1" part might be based on a var in the window/global context)
I'm aware that I could use things like [hash] in the output file names, but I'd rather keep the same names.
RequireJS has a urlArgs config option which allows you to append url arguments to all required module files, which can be useful for invalidating cached js files.
Can this be done with webpack? (So that requireEnsure would include "1.bundle.js?v=1" instead of "1.bundle.js", where the "v=1" part might be based on a var in the window/global context)
I'm aware that I could use things like [hash] in the output file names, but I'd rather keep the same names.