Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Applelo committed Jan 31, 2024
1 parent aca3d13 commit 4beac6d
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 90 deletions.
2 changes: 1 addition & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "module",
"version": "0.0.0",
"private": true,
"packageManager": "pnpm@8.14.1",
"packageManager": "pnpm@8.15.1",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
Expand Down
19 changes: 6 additions & 13 deletions demo/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
import VitePluginBrowserSync from 'vite-plugin-browser-sync'

export default {
build: {
watch: {},
},
// preview: {
// port: 3000,
// build: {
// watch: {},
// },
plugins: [
VitePluginBrowserSync({
preview: {
enable: true,
// bs: {
// proxy: 'http://localhost:3000',
// },
},
// buildWatch: {
// preview: {
// enable: true,
// mode: 'snippet',
// bs: {
// proxy: 'http://localhost:3000',
// },
// },
// buildWatch: {
// enable: false,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vite-plugin-browser-sync",
"type": "module",
"version": "3.0.0",
"packageManager": "pnpm@8.14.3",
"packageManager": "pnpm@8.15.1",
"description": "Add BrowserSync in your Vite project",
"author": "Applelo",
"license": "MIT",
Expand Down
Loading

0 comments on commit 4beac6d

Please sign in to comment.