ember-cli / ember-cli/babel-plugin-filter-imports

Match imports with paths?

Open
#264 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
18
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Hello!

Thank you for this useful plugin.

However, consider that I have the following imports in my source code:

```javascript
import "third-party/foo";
import "third-party/bar";
import "third-party/baz/qux/quux";
```

How do I delete all such imports?

I've tried the following, but it didn't work:

```javascript
[
'filter-imports', {
imports: {
'third-party': true,
'third-party/*': true,
'third-party/**': true,
'third-party/**/*': true,
},
},
],
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.