D10 theme for Island Scholar v2
Clone of "vre2024"
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://scholar2.islandarchives.ca';
|
|
|
|
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: ''
|
|
|
|
}
|
|
|
|
]
|
|
|
|
});
|