Browse Source

gulp

master
rdrew 1 year ago
parent
commit
1921829f00
  1. 13
      config.yml
  2. 4
      gulpfile.js

13
config.yml

@ -1,17 +1,18 @@
SITE:
Local: 'https://d10_dev.lndo.site/'
Local:
Url: 'https://d10_dev.lndo.site/'
Remote:
Url: 'https://rdm2.researchspaces.ca/'
Url: 'https://library-d10.researchspaces.ca/'
Path: user
PORT: 8000
BSREWRITE:
Css:
Match: '/themes/contrib/rdm/css/style.css'
Replace: '/css/style.css'
Match: '/themes/custom/roblib_2023/css/global-style.css'
Replace: '/css/global-style.css'
Js:
Match: "/themes/contrib/RDM/js/"
Replace: "/js/"
Match: "/themes/custom/roblib_2023/js/custom_js.js"
Replace: "/js/custom_js.js"
PATHS:
Watch:
#changes in these compiled files trigged reload

4
gulpfile.js

@ -20,8 +20,8 @@ function loadConfig() {
function bsInit__local(done) {
browsersync.init({
logLevel: 'debug',
//proxy: SITE.Local.Url,
proxy: 'https://d10_dev.lndo.site/',
proxy: SITE.Local.Url,
//proxy: 'https://d10_dev.lndo.site/',
});
done();
}

Loading…
Cancel
Save