Closed slavafomin closed 6 years ago
Hello!
Thank you for this library!
But, the index.js file, provided by the 1.0.3 version of he package contains an incorrect import statement.
index.js
1.0.3
It is:
module.exports = require("./dist/inputmask/inputmask.phone.extensions");
However, it should be:
module.exports = require("./dist/inputmask.phone/inputmask.phone.extensions.js");
The workaround is to import the target module directly:
import 'inputmask.phone/dist/inputmask.phone/inputmask.phone.extensions';
@slavafomin ,
Thx for the feedback. I pushed a new version with the fix.
Hello!
Thank you for this library!
But, the
index.js
file, provided by the1.0.3
version of he package contains an incorrect import statement.It is:
module.exports = require("./dist/inputmask/inputmask.phone.extensions");
However, it should be:
module.exports = require("./dist/inputmask.phone/inputmask.phone.extensions.js");
The workaround is to import the target module directly:
import 'inputmask.phone/dist/inputmask.phone/inputmask.phone.extensions';