UNPKG

kdu

Version:

The progressive JavaScript framework for building modern web UI.

27 lines (23 loc) 553 B
/** * kdu v3.4.27 * (c) 2021-present NKDuy * @license MIT **/ import { initCustomFormatter, warn } from '@kdujs/runtime-dom'; export * from '@kdujs/runtime-dom'; function initDev() { { initCustomFormatter(); } } if (!!(process.env.NODE_ENV !== "production")) { initDev(); } const compile = () => { if (!!(process.env.NODE_ENV !== "production")) { warn( `Runtime compilation is not supported in this build of Kdu.` + (` Configure your bundler to alias "kdu" to "kdu/dist/kdu.esm-bundler.js".` ) ); } }; export { compile };