chore: run updated prettier
This commit is contained in:
@@ -74,9 +74,9 @@ function compileToFunction(
|
||||
// with keys that cannot be mangled, and can be quite heavy size-wise.
|
||||
// In the global build we know `Vue` is available globally so we can avoid
|
||||
// the wildcard object.
|
||||
const render = (__GLOBAL__
|
||||
? new Function(code)()
|
||||
: new Function('Vue', code)(runtimeDom)) as RenderFunction
|
||||
const render = (
|
||||
__GLOBAL__ ? new Function(code)() : new Function('Vue', code)(runtimeDom)
|
||||
) as RenderFunction
|
||||
|
||||
// mark the function as runtime compiled
|
||||
;(render as InternalRenderFunction)._rc = true
|
||||
|
||||
@@ -16,10 +16,10 @@ export const compile = () => {
|
||||
(__ESM_BUNDLER__
|
||||
? ` Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".`
|
||||
: __ESM_BROWSER__
|
||||
? ` Use "vue.esm-browser.js" instead.`
|
||||
: __GLOBAL__
|
||||
? ` Use "vue.global.js" instead.`
|
||||
: ``) /* should not happen */
|
||||
? ` Use "vue.esm-browser.js" instead.`
|
||||
: __GLOBAL__
|
||||
? ` Use "vue.global.js" instead.`
|
||||
: ``) /* should not happen */
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user