You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AutoNumeric is required as ES6 module and not as the distribution version.
When compiling a project using webpack, node_modules is usually not transpiled with babel-loader, resulting in AutoNumeric not being transpiled.
Instead of the ES6 module:
require('autonumeric')
Use the distribution version:
require('autonumeric/dist/autonumeric.min')
It also results in faster compiling and smaller file-size.