Noderize
Noderize copied to clipboard
[Issue] Preserve Class names at runtime
Version: 0.7.1 I'm not familiar with webpack, but it seems that in v0.7.1 webpack minifys the scripts and removes the Classes name property.
In v0.7.0:
Class Foo{}
console.log(Foo.name); // output = "Foo"
In v0.7.1:
Class Foo{}
console.log(Foo.name); // output = "t"
This definitely sounds like a problem. I'll look into it soon, thanks for the report!
Are you running in development mode or production mode (env)?
Because no change in Webpack was done between 0.7.0 and 0.7.1. Can you give me more info on your setup? (yarn build --showConfig)