Skip to content

Conversation

@michael-ciniawsky
Copy link
Member

@michael-ciniawsky michael-ciniawsky commented Jan 4, 2018

Issues

Notable Changes

url

{Boolean} (default: true)

webpack.config.js

{
  loader: 'html-loader',
  options: {
    url: false
  }
}

{RegExp}

webpack.config.js

{
  loader: 'html-loader',
  options: {
    url: /filter/
  }
}

{Function}

webpack.config.js

{
  loader: 'html-loader',
  options: {
    url (url) {
      return /filter/.test(url)
    }
  }
}

@michael-ciniawsky michael-ciniawsky added this to the 1.0.0 milestone Jan 4, 2018
@michael-ciniawsky michael-ciniawsky changed the title [WIP] feat(url): add support for url filter (options.url) [WIP] feat(url): add url filter support (options.url) Jan 4, 2018
@michael-ciniawsky michael-ciniawsky force-pushed the feature/url-filter branch 2 times, most recently from 3a4b09d to 3893511 Compare January 8, 2018 01:51
@michael-ciniawsky michael-ciniawsky changed the title [WIP] feat(url): add url filter support (options.url) feat(plugins/url): add url filter support (options.url) Jan 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants