libphonenumber-js Breaks bundlephobia
See original GitHub issueType
Bug / Feature Request
Package name
libphonenumber-js
Entire error (stringified) I see in my browser console
main.bundle.js from Terser Export statement may only appear at top level [main.bundle.js:14,0]
(visible in UI when expanding stack trace)
From console:
Failed to load resource: the server responded with a status of 500 () result.js:1:13414 0 “main.bundle.js from Terser↵Export statement may only appear at top level [main.bundle.js:14,0]”
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
libphonenumber-js v1.10.15 Bundlephobia
Size of libphonenumber-js v1.10.15 is 173.1 kB (minified), and 41.8 kB when compressed using GZIP. Bundlephobia helps you find the performance impact of...
Read more >libphonenumber-js-utils v8.10.5 Bundlephobia
Size of libphonenumber-js-utils v8.10.5 is 225.9 kB (minified), and 50.3 kB when compressed using GZIP. Bundlephobia helps you find the performance impact ...
Read more >google-libphonenumber v3.2.31 Bundlephobia
A small, lightweight javascript library for working with currency values. 99 %. Smaller. 1.03 kB. Min + Gzip ...
Read more >Cannot get the libphonenumber npm package working, fs ...
I'm trying to use the googlei18n libphonenumber library for phone number validation. I'm using the npm package via npm i libphonenumber ...
Read more >Awesome Web Dev resources - Notes - Zander Martineau
Search 100+ docs in one web app: HTML, CSS, JavaScript, PHP, Ruby, Python, Go, C, C++… ... Bundlephobia: See the "cost" of any...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In this case, changing regex to
noParse: [/\.min\.js$/]
would result in “metadata.min.json” to be parsed successfully.From libphonenumber-js readme:
Current Webpack configuration is set to not parse .min.js files See https://github.com/pulse-framework/pulse/pull/58