Skip to content

Commit

Permalink
feat: add link to config docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 27, 2021
1 parent 8b543a7 commit ce71d71
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/create-app/template-lit-element-ts/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { defineConfig } from 'vite'

// https://vitejs.dev/config/
export default defineConfig({
build: {
lib: {
Expand Down
1 change: 1 addition & 0 deletions packages/create-app/template-lit-element/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**
* https://vitejs.dev/config/
* @type {import('vite').UserConfig}
*/
export default {
Expand Down
1 change: 1 addition & 0 deletions packages/create-app/template-preact-ts/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import preactRefresh from '@prefresh/vite'
import { defineConfig } from 'vite'

// https://vitejs.dev/config/
export default defineConfig({
esbuild: {
jsxFactory: 'h',
Expand Down
1 change: 1 addition & 0 deletions packages/create-app/template-preact/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import preactRefresh from '@prefresh/vite'

/**
* https://vitejs.dev/config/
* @type { import('vite').UserConfig }
*/
const config = {
Expand Down
1 change: 1 addition & 0 deletions packages/create-app/template-react-ts/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import reactRefresh from '@vitejs/plugin-react-refresh'
import { defineConfig } from 'vite'

// https://vitejs.dev/config/
export default defineConfig({
plugins: [reactRefresh()]
})
1 change: 1 addition & 0 deletions packages/create-app/template-react/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import reactRefresh from '@vitejs/plugin-react-refresh'

/**
* https://vitejs.dev/config/
* @type { import('vite').UserConfig }
*/
export default {
Expand Down
1 change: 1 addition & 0 deletions packages/create-app/template-vue-ts/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()]
})
1 change: 1 addition & 0 deletions packages/create-app/template-vue/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import vue from '@vitejs/plugin-vue'

/**
* https://vitejs.dev/config/
* @type {import('vite').UserConfig}
*/
export default {
Expand Down

0 comments on commit ce71d71

Please sign in to comment.