beaugunderson / ip-address

💻 a library for parsing and manipulating IPv4 and IPv6 addresses in JavaScript
http://ip-address.js.org/
MIT License
580 stars 73 forks source link

Source maps for typescript files? #116

Closed evanpurkhiser closed 3 years ago

evanpurkhiser commented 4 years ago

Would be great if the bundled package also included sourcemap files so we can use things like webpack's sourcemap loader to include full typescript source maps in bundled packages using ip-address.

beaugunderson commented 4 years ago

can do! was unaware that they would be useful to end users :)

On Thu, Oct 15 2020 at 00:14, Evan Purkhiser notifications@github.com wrote:

Would be great if the bundled package also included sourcemap files so we can use things like webpack's sourcemap loader https://webpack.js.org/loaders/source-map-loader/ to include full typescript source maps in bundled packages using ip-address.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/beaugunderson/ip-address/issues/116, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAPCX5ATTGXSGXGFWHUSWDSK2OOXANCNFSM4SRSVDKQ .

ADumaine commented 3 years ago

I get the following errors when working on my project:

Could not read source map for /node_modules/ip-address/dist/ip-address.js: ENOENT: no such file or directory, open '\node_modules\ip-address\dist\ip-address.js.map'
Could not read source map for /node_modules/ip-address/dist/lib/ipv4.js: ENOENT: no such file or directory, open '\node_modules\ip-address\dist\lib\ipv4.js.map'
Could not read source map for /node_modules/ip-address/dist/lib/common.js: ENOENT: no such file or directory, open '\node_modules\ip-address\dist\lib\common.js.map'
Could not read source map for /node_modules/ip-address/dist/lib/v4/constants.js: ENOENT: no such file or directory, open '\node_modules\ip-address\dist\lib\v4\constants.js.map'
Could not read source map for /node_modules/ip-address/dist/lib/address-error.js: ENOENT: no such file or directory, open '\node_modules\ip-address\dist\lib\address-error.js.map'
Could not read source map for /node_modules/ip-address/dist/lib/ipv6.js: ENOENT: no such file or directory, open '\node_modules\ip-address\dist\lib\ipv6.js.map'
Could not read source map for /node_modules/ip-address/dist/lib/v6/constants.js: ENOENT: no such file or directory, open '\node_modules\ip-address\dist\lib\v6\constants.js.map'
Could not read source map for /node_modules/ip-address/dist/lib/v6/helpers.js: ENOENT: no such file or directory, open '\node_modules\ip-address\dist\lib\v6\helpers.js.map'
Could not read source map for /node_modules/ip-address/dist/lib/v6/regular-expressions.js: ENOENT: no such file or directory, open '\node_modules\ip-address\dist\lib\v6\regular-expressions.js.map'

Will they be included soon? or is there a simple way to have nodejs ignore or suppress the warnings?