@zero-scripts/plugin-webpack-react
Version:
Ready for development React projects. With ESLint, Babel, CSS Modules and other
14 lines • 388 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.hasJsxRuntime = void 0;
function hasJsxRuntime(paths) {
try {
require.resolve('react/jsx-runtime', { paths: [paths.root] });
return true;
}
catch (e) {
return false;
}
}
exports.hasJsxRuntime = hasJsxRuntime;
//# sourceMappingURL=hasJsxRuntime.js.map