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.
21 lines
535 B
21 lines
535 B
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: '' |
|
} |
|
] |
|
});
|
|
|