[Vuejs]-Webpack resolve.alias OS-specific error

0👍

Solved it for myself.

For anyone who eventually runs into the same path, it does nothing to do with webpack or any other libraries.

My Defines module’s filename is src/js/defines.js, starting lowercased d, whereas it is imported as 'src/js/Defines.js with uppercase D. Maybe I changed the filename by mistake. Works fine in OS X, but error in CentOS 7.

Leave a comment