2
olback
5y

tldr: Fuck webpack with a big rusty pipe.

I have a class and in the construct a method is called with an imported value as the argument. This imported value is declared like this:

export const EXT = 'whatthef';

Seems like webpack moves things around in such a way that this constant isn't aceasable in all contexts.

Spent a good 4 hours figuring that out πŸ™ƒ

Comments
Add Comment