You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
stu177
changed the title
Accept browser-sync.json as a JS file to allow use of regexp and functions in config
Accept browser-sync config as a JS file to allow use of regexp and functions
Feb 12, 2020
Hi @Igloczek. I assume you would want this to accept a JS file but still work if a JSON file is provided, rather than just enforcing JS instead of JSON, so as not to break backwards compatibility. Is this correct?
Actually, I've added a .js config files support with the 1.11.0 version, so you may want to try if it works okay with BS now. It does not work with BS, yet.
For example with rewriteRules using regexp in the match:
The text was updated successfully, but these errors were encountered: