mirror of
https://github.com/andatoshiki/toshiki-notebook.git
synced 2026-06-06 06:55:55 +00:00
chore: remove unused browsersync config as well as its related dependencies with vitepress preview as a local server static serving replacement
This commit is contained in:
parent
26cb1d0017
commit
7dfa867aad
@ -1,80 +0,0 @@
|
||||
module.exports = {
|
||||
ui: {
|
||||
port: 3001,
|
||||
weinre: {
|
||||
port: 8080
|
||||
}
|
||||
},
|
||||
files: ['src/index.html', 'src/img/*', 'src/css/*.css', 'src/js/*.js'],
|
||||
watchOptions: {
|
||||
ignore: '.*'
|
||||
},
|
||||
server: {
|
||||
baseDir: 'src'
|
||||
},
|
||||
proxy: false,
|
||||
port: 3000,
|
||||
middleware: false,
|
||||
serveStatic: [],
|
||||
ghostMode: {
|
||||
clicks: true,
|
||||
scroll: true,
|
||||
forms: {
|
||||
submit: true,
|
||||
inputs: true,
|
||||
toggles: true
|
||||
}
|
||||
},
|
||||
logLevel: 'info',
|
||||
logPrefix: 'Browsersync',
|
||||
logConnections: false,
|
||||
logFileChanges: true,
|
||||
logSnippet: true,
|
||||
rewriteRules: false,
|
||||
open: 'local',
|
||||
browser: ['google chrome'],
|
||||
xip: false,
|
||||
hostnameSuffix: false,
|
||||
reloadOnRestart: true,
|
||||
notify: false,
|
||||
scrollProportionally: true,
|
||||
scrollThrottle: 0,
|
||||
scrollRestoreTechnique: 'window.name',
|
||||
scrollElements: [],
|
||||
scrollElementMapping: [],
|
||||
reloadDelay: 0,
|
||||
reloadDebounce: 0,
|
||||
plugins: [],
|
||||
injectChanges: true,
|
||||
startPath: null,
|
||||
minify: true,
|
||||
host: null,
|
||||
codeSync: true,
|
||||
timestamps: true,
|
||||
clientEvents: ['scroll', 'scroll:element', 'input:text', 'input:toggles', 'form:submit', 'form:reset', 'click'],
|
||||
socket: {
|
||||
socketIoOptions: {
|
||||
log: false
|
||||
},
|
||||
socketIoClientConfig: {
|
||||
reconnectionAttempts: 50
|
||||
},
|
||||
path: '/browser-sync/socket.io',
|
||||
clientPath: '/browser-sync',
|
||||
namespace: '/browser-sync',
|
||||
clients: {
|
||||
heartbeatTimeout: 5000
|
||||
}
|
||||
},
|
||||
tagNames: {
|
||||
less: 'link',
|
||||
scss: 'link',
|
||||
css: 'link',
|
||||
jpg: 'img',
|
||||
jpeg: 'img',
|
||||
png: 'img',
|
||||
svg: 'img',
|
||||
gif: 'img',
|
||||
js: 'script'
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user