UNPKG

babel-plugin-import-remove-resource-query

Version:

Remove the resourceQuery param when importing modules via babel. Useful with Jest, that doesn't support resourceQueries

5 lines (4 loc) 115 B
import 'path/to/file'; import foo from 'path/to/file'; import bar, { Baz } from 'path/to/file'; function noop() {}