7rulnik / source-map-js

Consume and generate source maps.
Other
92 stars 13 forks source link

Add types for path imports #13

Closed TrySound closed 2 years ago

TrySound commented 2 years ago

I'm trying to reduce vite bundled size. Here I suggest to allow importing from paths to prevent bundling everything when only one class is used. Treeshaking here doesn't work because of the way code is written.

Note: review with hidden whitespaces

7rulnik commented 2 years ago

@TrySound thanks! Published as 1.0.2