vue-jsx-hot-loader icon indicating copy to clipboard operation
vue-jsx-hot-loader copied to clipboard

Support webpack5

Open gityoog opened this issue 4 years ago • 1 comments

eval('this') in Webpack5 is window use __webpack_exports__ to replace it it can work in Webpack4

gityoog avatar Jul 12 '21 08:07 gityoog

Thank you, these commits saved my day.

vfasky avatar Aug 17 '23 11:08 vfasky

Does it work for ES modules as well? I remember a contribution that added the eval('this'): https://github.com/skyrpex/vue-jsx-hot-loader/pull/21/files.

skyrpex avatar Aug 06 '24 11:08 skyrpex

Github wouldn't let me merge your PR, so I just changed it myself. The change is reflected in 1.4.3.

skyrpex avatar Aug 06 '24 12:08 skyrpex