tried dozens of workarounds now and I am really not able to get it to work.
My Setup is a clean "reactGo"-App ( https://github.com/reactGo/reactGo ) which has Webpack2 included.
Now i am trying to bring react-calendar-timeline ( https://github.com/namespace-ee/react-calendar-timeline ) to life.
Right after doing this, the first error you got is:
D:\Users\Documents\sandbox\reactGo\node_modules\react-calendar-timeline\modules\lib\Timeline.css:1
(function (exports, require, module, __filename, __dirname) { .react-calendar-timeline * { SyntaxError: Unexpected token .
In the reactGo-Repository you can see the full Webpack configuration. As I told, I tried several workarounds, but everything returns in other error-messages.
If I exclude the required css in the calendar-timeline.js directly and import it in my own jsx file, it works of course. But this is a really ugly workaround and I want to collaborate with other developers. Can't told them we have to exlude a require out of an external module.
Can you told me what is going wrong here? I'm out of ideas.
Thanks!