Closed bradennapier closed 6 years ago
Getting errors with webpack when using this module...
WARNING in ../~/moment-duration-format/lib/moment-duration-format.js Module not found: Error: Cannot resolve module 'moment' in /home/ubuntu/workspace/node_modules/moment-duration-format/lib @ ../~/moment-duration-format/lib/moment-duration-format.js 189:17-34
In your lib you have this which breaks if you want to use moment-timezone...
if (typeof require === "function") { try { moment = require('moment-timezone'); } catch (e) {} }
Getting errors with webpack when using this module...
WARNING in ../~/moment-duration-format/lib/moment-duration-format.js Module not found: Error: Cannot resolve module 'moment' in /home/ubuntu/workspace/node_modules/moment-duration-format/lib @ ../~/moment-duration-format/lib/moment-duration-format.js 189:17-34