Cimpress-MCP / postal-codes-js

Provide postal code validation for javascript
Apache License 2.0
43 stars 36 forks source link

replace let to var, fix to work with uglifyjs-webpack-plugin #36

Closed DimaRGB closed 5 years ago

DimaRGB commented 5 years ago

fixing problem: do not work with uglifyjs-webpack-plugin@^1 or webpack@^3 logs:

js/vendor-1b9fe.chunk.js from UglifyJs
Unexpected token: name (getFormat) [js/vendor-1b9fe.chunk.js:50675,4]

note: while library will not have prepublish transpilation to es5 syntax, better to use it in code.

DimaRGB commented 5 years ago

Thanks :)

waiting for release :]

ozankaya commented 5 years ago

Released v2.2.2