Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[suggestion] support pattern array in skipInterpolation meta option #281

Closed
Jinjiang opened this issue Jan 1, 2017 · 1 comment
Closed
Assignees

Comments

@Jinjiang
Copy link
Member

Jinjiang commented Jan 1, 2017

I think sometimes only one pattern can't describe the rules of a complex template very well. So how about pattern array? For example:

{
  "skipInterpolation": [
    "src/**/*.{vue,js}",
    "assets/**/*",
    "ios/**/*",
    "android/**/*",
    ...
  ]
}

Thanks.

@posva
Copy link
Member

posva commented Jan 1, 2017

I'll give it a shot

@posva posva self-assigned this Jan 1, 2017
posva added a commit to posva/vue-cli that referenced this issue Jan 1, 2017
Closes vuejs#281
Use multimatch instead of match for this purpose.
The minimatch dependency has not been removed because it's still used in
lib/filter.js. Filters should directly use multimatch. Once this
happens, the dependency to minimatch can be removed.
posva added a commit to posva/vue-cli that referenced this issue Jan 1, 2017
Closes vuejs#281
Use multimatch instead of match for this purpose.
The minimatch dependency has not been removed because it's still used in
lib/filter.js. Filters should directly use multimatch. Once this
happens, the dependency to minimatch can be removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants