diff --git a/packages/vue-vapor/index.mjs b/packages/vue-vapor/index.mjs index 8b4361248..fcb9204cb 100644 --- a/packages/vue-vapor/index.mjs +++ b/packages/vue-vapor/index.mjs @@ -1 +1 @@ -export * from './index.js' \ No newline at end of file +export * from './index.js' diff --git a/packages/vue-vapor/src/dev.ts b/packages/vue-vapor/src/dev.ts index 79f233ed9..602079a20 100644 --- a/packages/vue-vapor/src/dev.ts +++ b/packages/vue-vapor/src/dev.ts @@ -6,7 +6,7 @@ export function initDev() { if (!__ESM_BUNDLER__) { console.info( `You are running a development build of Vue.\n` + - `Make sure to use the production build (*.prod.js) when deploying for production.` + `Make sure to use the production build (*.prod.js) when deploying for production.`, ) } diff --git a/packages/vue-vapor/src/runtime.ts b/packages/vue-vapor/src/runtime.ts index 753b4b597..86c8db49e 100644 --- a/packages/vue-vapor/src/runtime.ts +++ b/packages/vue-vapor/src/runtime.ts @@ -20,7 +20,7 @@ export const compile = () => { ? ` Use "vue-vapor.esm-browser.js" instead.` : __GLOBAL__ ? ` Use "vue-vapor.global.js" instead.` - : ``) /* should not happen */ + : ``) /* should not happen */, ) } } diff --git a/playground/setup/dev.js b/playground/setup/dev.js index 79f4f42ca..c3a4b66c3 100644 --- a/playground/setup/dev.js +++ b/playground/setup/dev.js @@ -34,8 +34,8 @@ export function DevPlugin({ browser = false } = {}) { '@vue/compiler-ssr': resolve('compiler-ssr/src'), '@vue/reactivity': resolve('reactivity/src'), - '@vue/shared': resolve('shared/src') - } + '@vue/shared': resolve('shared/src'), + }, }, define: { __COMMIT__: `"__COMMIT__"`, @@ -59,9 +59,9 @@ export function DevPlugin({ browser = false } = {}) { // feature flags __FEATURE_SUSPENSE__: `true`, __FEATURE_OPTIONS_API__: `true`, - __FEATURE_PROD_DEVTOOLS__: `false` - } + __FEATURE_PROD_DEVTOOLS__: `false`, + }, } - } + }, } } diff --git a/playground/setup/vite.js b/playground/setup/vite.js index a9525aeaf..e6b9a9272 100644 --- a/playground/setup/vite.js +++ b/playground/setup/vite.js @@ -8,7 +8,7 @@ startVite( { plugins: [DevPlugin()] }, { deps: { - inline: ['@vitejs/plugin-vue'] - } - } + inline: ['@vitejs/plugin-vue'], + }, + }, ) diff --git a/playground/src/App.vue b/playground/src/App.vue index 7e0abdccc..f7c7a681d 100644 --- a/playground/src/App.vue +++ b/playground/src/App.vue @@ -4,7 +4,7 @@ import { computed, onMounted, onBeforeMount, - getCurrentInstance + getCurrentInstance, } from 'vue/vapor' const instance = getCurrentInstance()! diff --git a/playground/src/directive.vue b/playground/src/directive.vue index 81d4a3e53..722801d59 100644 --- a/playground/src/directive.vue +++ b/playground/src/directive.vue @@ -16,7 +16,7 @@ const vDirective: ObjectDirective = { }, mounted(node) { if (node.parentElement) node.textContent += 'mounted, ' - } + }, } const vDirectiveSimple: FunctionDirective = (node, binding) => { console.log(node, binding) diff --git a/playground/src/scheduler.vue b/playground/src/scheduler.vue index a3019342a..6aca729d1 100644 --- a/playground/src/scheduler.vue +++ b/playground/src/scheduler.vue @@ -1,5 +1,12 @@