From ce71d71e83785a1072204bf8117a61ab7e4e772c Mon Sep 17 00:00:00 2001 From: Evan You Date: Tue, 26 Jan 2021 22:03:20 -0500 Subject: [PATCH] feat: add link to config docs --- packages/create-app/template-lit-element-ts/vite.config.ts | 1 + packages/create-app/template-lit-element/vite.config.js | 1 + packages/create-app/template-preact-ts/vite.config.ts | 1 + packages/create-app/template-preact/vite.config.js | 1 + packages/create-app/template-react-ts/vite.config.ts | 1 + packages/create-app/template-react/vite.config.js | 1 + packages/create-app/template-vue-ts/vite.config.ts | 1 + packages/create-app/template-vue/vite.config.js | 1 + 8 files changed, 8 insertions(+) diff --git a/packages/create-app/template-lit-element-ts/vite.config.ts b/packages/create-app/template-lit-element-ts/vite.config.ts index 21ecab08cec62f..668aa6dd75c1d1 100644 --- a/packages/create-app/template-lit-element-ts/vite.config.ts +++ b/packages/create-app/template-lit-element-ts/vite.config.ts @@ -1,5 +1,6 @@ import { defineConfig } from 'vite' +// https://vitejs.dev/config/ export default defineConfig({ build: { lib: { diff --git a/packages/create-app/template-lit-element/vite.config.js b/packages/create-app/template-lit-element/vite.config.js index 4580223e12b4c6..b3e22b1e14bdf0 100644 --- a/packages/create-app/template-lit-element/vite.config.js +++ b/packages/create-app/template-lit-element/vite.config.js @@ -1,4 +1,5 @@ /** + * https://vitejs.dev/config/ * @type {import('vite').UserConfig} */ export default { diff --git a/packages/create-app/template-preact-ts/vite.config.ts b/packages/create-app/template-preact-ts/vite.config.ts index 6284d63e592d8a..39218c3adb8275 100644 --- a/packages/create-app/template-preact-ts/vite.config.ts +++ b/packages/create-app/template-preact-ts/vite.config.ts @@ -1,6 +1,7 @@ import preactRefresh from '@prefresh/vite' import { defineConfig } from 'vite' +// https://vitejs.dev/config/ export default defineConfig({ esbuild: { jsxFactory: 'h', diff --git a/packages/create-app/template-preact/vite.config.js b/packages/create-app/template-preact/vite.config.js index 8228cdbe356235..4869486c020f3a 100644 --- a/packages/create-app/template-preact/vite.config.js +++ b/packages/create-app/template-preact/vite.config.js @@ -2,6 +2,7 @@ import preactRefresh from '@prefresh/vite' /** + * https://vitejs.dev/config/ * @type { import('vite').UserConfig } */ const config = { diff --git a/packages/create-app/template-react-ts/vite.config.ts b/packages/create-app/template-react-ts/vite.config.ts index 64db055161a0b7..8104540622572a 100644 --- a/packages/create-app/template-react-ts/vite.config.ts +++ b/packages/create-app/template-react-ts/vite.config.ts @@ -1,6 +1,7 @@ import reactRefresh from '@vitejs/plugin-react-refresh' import { defineConfig } from 'vite' +// https://vitejs.dev/config/ export default defineConfig({ plugins: [reactRefresh()] }) diff --git a/packages/create-app/template-react/vite.config.js b/packages/create-app/template-react/vite.config.js index 53e50230352764..0a33851d63976e 100644 --- a/packages/create-app/template-react/vite.config.js +++ b/packages/create-app/template-react/vite.config.js @@ -1,6 +1,7 @@ import reactRefresh from '@vitejs/plugin-react-refresh' /** + * https://vitejs.dev/config/ * @type { import('vite').UserConfig } */ export default { diff --git a/packages/create-app/template-vue-ts/vite.config.ts b/packages/create-app/template-vue-ts/vite.config.ts index 2e3d2576fc2e28..315212d69a7ba5 100644 --- a/packages/create-app/template-vue-ts/vite.config.ts +++ b/packages/create-app/template-vue-ts/vite.config.ts @@ -1,6 +1,7 @@ import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' +// https://vitejs.dev/config/ export default defineConfig({ plugins: [vue()] }) diff --git a/packages/create-app/template-vue/vite.config.js b/packages/create-app/template-vue/vite.config.js index 9fa105dcf56ab7..65be59b248d570 100644 --- a/packages/create-app/template-vue/vite.config.js +++ b/packages/create-app/template-vue/vite.config.js @@ -1,6 +1,7 @@ import vue from '@vitejs/plugin-vue' /** + * https://vitejs.dev/config/ * @type {import('vite').UserConfig} */ export default {