teamspaces / web

Web & API – Spaces is knowledge management for teams.
0 stars 0 forks source link

Fix javascript import and scoping issues #229

Closed MrTin closed 7 years ago

MrTin commented 7 years ago

What

[History of the PR, what the problem is and what what this PR solves (included investigation)]

Related Links

I removed vendor.js as we need to define things in the global namespace. I also removed the use of process.env as it's really a node convention and I could not get it to work. Webpack is not creating those modules, in reality it does a in-code replacement where it finds this with something like {process: env: ... .

Gif (optional)