UNPKG

611 BJavaScriptView Raw
1import { initCustomFormatter, warn } from '@vue/runtime-dom';
2export * from '@vue/runtime-dom';
3
4function initDev() {
5 {
6 initCustomFormatter();
7 }
8}
9
10// This entry exports the runtime only, and is built as
11if ((process.env.NODE_ENV !== 'production')) {
12 initDev();
13}
14const compile = () => {
15 if ((process.env.NODE_ENV !== 'production')) {
16 warn(`Runtime compilation is not supported in this build of Vue.` +
17 (` Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".`
18 ) /* should not happen */);
19 }
20};
21
22export { compile };