// This entry exports the runtime only, and is built as
// `dist/vue.esm-bundler.js` which is used by default for bundlers.
+import { NOOP } from '@vue/shared'
import { initDev } from './dev'
-import { warn } from '@vue/runtime-dom'
+import { type RenderFunction, warn } from '@vue/runtime-dom'
if (__DEV__) {
initDev()
export * from '@vue/runtime-dom'
-export const compile = (): void => {
+export const compile = (_template: string): RenderFunction => {
if (__DEV__) {
warn(
`Runtime compilation is not supported in this build of Vue.` +
: ``) /* should not happen */,
)
}
+ return NOOP
}