You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
611 B
23 lines
611 B
2 years ago
|
import { initCustomFormatter, warn } from '@vue/runtime-dom';
|
||
|
export * from '@vue/runtime-dom';
|
||
|
|
||
|
function initDev() {
|
||
|
{
|
||
|
initCustomFormatter();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// This entry exports the runtime only, and is built as
|
||
|
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 };
|