Skip to content

Replace only a certain part of the file  #28

@samyfox

Description

@samyfox

What I want is to replace only the matches between template tags.

Example:
<template> foo bar </template> <script>this is after tags and I don't want that this could match</script>

In this example I want string-replace-webpack-plugin to be apply only on Foo Bar.

Is it possible to do this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions