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 ?