Browse Source

gulp

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

13
config.yml

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

4
gulpfile.js

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

Loading…
Cancel
Save