See discussion here and here.
Currently "minimizing"/"uglifying" logic in webpack.config.js is commented out, so the build process should probably revisited and documented (maybe webpack isn't even needed?). a
Conversation stems from package.json missing typescript as a dependency, but as ULabel (currently) gets packed with webpack, technically everything should be in devDependencies as it all gets packed when pushed to npm. This stackoverflow answer indicates there's some nice categories when using npm itself, so maybe that is worth looking into.
tl;dr Laziest solution is chuck everything in devDependencies and clean up webpack.config.js.
See discussion here and here.
Currently "minimizing"/"uglifying" logic in
webpack.config.jsis commented out, so the build process should probably revisited and documented (maybewebpackisn't even needed?). aConversation stems from
package.jsonmissingtypescriptas a dependency, but as ULabel (currently) gets packed withwebpack, technically everything should be indevDependenciesas it all gets packed when pushed tonpm. This stackoverflow answer indicates there's some nice categories when usingnpmitself, so maybe that is worth looking into.tl;dr Laziest solution is chuck everything in
devDependenciesand clean upwebpack.config.js.