I'm running a preact project with preact build and doing an import as follows:
import PresenceToggleAlert from 'async?name=presenceToggleAlert!components/alerts/PresenceToggleAlert';
My actual route is components/alerts/presenceToggleAlert (without capital P )
I have tested on MacOS, ubuntu and windows and works perfectly, but at the moment my jenkins server the casing suddenly becomes a problem, throwing an error as follows:
ā ERROR ./components/alerts/alertContainer/index.js
Module not found: Error: Can't resolve 'components/alerts/PresenceToggleAlert' in './src/components/alerts/alertContainer'
@ ./components/alerts/alertContainer/index.js 39:0-103 131:22-41
@ ./components/framework/page/index.js
@ ./index.js
Does anybody know what can be the problem? I can't figure out why does it work locally but not on the remote machine.
My server runs on CentOS 6.5 and has Jenkins Version 2.263.4