Galooshi / import-js

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

Messes up 'use strict'; #77

Closed lencioni closed 8 years ago

lencioni commented 8 years ago

When adding 'use strict'; to the top of a file to enable strict mode for the file, the 'use strict'; declaration must be at the top of the file. However, ImportJS puts its imports above this declaration, causing it to not work.

trotzig commented 8 years ago

Thanks for the report. I'll have a look at it.