var browserSync = require('browser-sync'); var themeName = 'vre2024'; var siteUrl = 'https://library_local.lndo.site'; var cssWatchDir = 'css/**/*.css'; var filesToServe = '.'; browserSync({ proxy: siteUrl, files: cssWatchDir, plugins: ['bs-rewrite-rules'], serveStatic: [filesToServe], rewriteRules: [ { match: /\/themes\/custom\/vre2024/g, replace: '' } ] });