webpack/test/hotCases/errors/decline-webpackhot/a.js

9 lines
146 B
JavaScript

import b from "./b";
export default b;
if(import.meta.webpackHot) {
import.meta.webpackHot.decline("./b");
import.meta.webpackHot.accept();
}