22 lines
517 B
JavaScript
22 lines
517 B
JavaScript
import { initCustomFormatter, warn } from '@vue/runtime-dom';
|
|
export * from '@vue/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 Vue.` + (` Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".` )
|
|
/* should not happen */
|
|
);
|
|
}
|
|
};
|
|
|
|
export { compile };
|