ProjectMirador / research-and-demos

Proofs of concept for Mirador 3
10 stars 8 forks source link

updates to webpack4 #77

Closed christopher-johnson closed 5 years ago

christopher-johnson commented 5 years ago

closes #76

christopher-johnson commented 5 years ago

about the dev mode and dev server in the start script, this still needs some work. It is fairly typical to have a separate webpack config for development and the dev server, and this can be done in another PR.

currently, the start script has an extra NODE_ENV=development that does nothing in the initial build since it is overridden in the build script with a production mode, and this should be removed. But the watch script is set to the development environment. This should disable webpack from compiling production optimizations in concurrency.