Skip to content

ignoreCustomFragments do not behave correct.  #84

@lili21

Description

@lili21

my config

htmlLoader: {
  ignoreCustomFragments: [/\{\{.*?}}/],
  minimize: true
}

my html source code

...
<div class="tab-icon" style="background-color: {{ vm.bgcolor }}"></div>
...

the output html in browser

...
<div class="tab-icon" style="background-color:" {{vm.bgcolor}}></div>
...

is it a bug ? or my config problem ?

Webpack version:
1.13.2

HTML-Loader version:
0.4.3

Please tell us about your environment:
OSX 10.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions