Galooshi / import-js

A tool to simplify importing JS modules
MIT License
526 stars 70 forks source link

import * as d3 from 'd3' #530

Closed jameskerr closed 5 years ago

jameskerr commented 5 years ago

I'm using d3 in a file and previously had code like this:

import * as d3 from "d3"

d3.select("svg")....

After running importjs rewrite --overwrite