You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
var browserSync = require('browser-sync');
|
|
|
|
var themeName = 'vre2024';
|
|
|
|
var siteUrl = 'https://library_local.lndo.site';
|
|
|
|
var cssWatchDir = 'css/**/*.css';
|
|
|
|
var themePath = '/themes/custom/vre2024';
|
|
|
|
var filesToServe = '.';
|
|
|
|
|
|
|
|
browserSync({
|
|
|
|
proxy: siteUrl,
|
|
|
|
files: cssWatchDir,
|
|
|
|
plugins: ['bs-rewrite-rules'],
|
|
|
|
serveStatic: [filesToServe],
|
|
|
|
rewriteRules: [
|
|
|
|
{
|
|
|
|
match: themePath,
|
|
|
|
replace: ''
|
|
|
|
//match: /\/themes\/custom\/vre2024/g,
|
|
|
|
//replace: ''
|
|
|
|
}
|
|
|
|
]
|
|
|
|
});
|