Skip to content

Accept browser-sync config as a JS file to allow use of regexp and functions #377

@stu177

Description

@stu177

For example with rewriteRules using regexp in the match:

rewriteRules = [
  {
    match: /mysite\.localtest\.me/g,
    replace: 'localhost:3000'
  },
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions