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

feat(plugins/import): add <import> filter support (options.import) #163

Merged
merged 1 commit into from
Jan 8, 2018

Conversation

michael-ciniawsky
Copy link
Member

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

Issues

Notable Changes

import

{Boolean}

webpack.config.js

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

{RegExp}

webpack.config.js

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

{Function}

webpack.config.js

{
  loader: 'html-loader',
  options: {
    import (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 feat(import): add <import> filter support (options.import) [WIP] feat(import): add <import> filter support (options.import) Jan 4, 2018
@michael-ciniawsky michael-ciniawsky merged commit 2987e37 into next Jan 8, 2018
@michael-ciniawsky michael-ciniawsky deleted the feature/import-filter branch January 8, 2018 01:46
@michael-ciniawsky michael-ciniawsky changed the title [WIP] feat(import): add <import> filter support (options.import) feat(plugins/import): add <import> filter support (options.import) 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.

1 participant