Using with webpack (AMD)
See original GitHub issueI can’t get jquery.inputmask to work with webpack through bower (tell webpack to look into bower folder and use bower.json to find the main file, nothing fancy).
The problem is :
ERROR in ./resources/assets/vendor/jquery.inputmask/dist/inputmask/inputmask.js
Module not found: Error: Cannot resolve module 'inputmask.dependencyLib' in /workspace/resources/assets/vendor/jquery.inputmask/dist/inputmask
@ ./resources/assets/vendor/jquery.inputmask/dist/inputmask/inputmask.js 9:48-94
If I look at line 9 of inputmask.js, the code try to use inputmask.dependencyLib
as a dependency : define([ "inputmask.dependencyLib" ], factory)
but there is no inputmask.dependencyLib
in the jquery.inputmask package ?
Can you help me ?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Module Methods - webpack
webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable...
Read more >Is there a way to load AMD modules from ... - Stack Overflow
I'm using it to pack my module/plugin to be load in a framework and the modules uses some modules from the target framework,...
Read more >amd-webpack-plugin - npm
Start using amd-webpack-plugin in your project by running `npm i ... There is 1 other project in the npm registry using amd-webpack-plugin.
Read more >Webpack for AMD projects - gists · GitHub
Use webpack -dev-middleware if you want to plug it into your app and have it serve built files as part of your dev...
Read more >A Better Process to Move Embedded AMD modules from the ...
The legacy code may contain AMD modules in HTML/cshtml files. The require function can't be found when using Webpack instead of Require.js.
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
@osaris check out this gist and see if it works for you.
@osaris ,
Do you still have problems? Otherwise update to version 3.3.5. I also updated the readme