Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate client-admin from gulp to webpack (compdemocracy#1242)
* First-pass gulp-to-webpack conversion. * Update webpack-cli, and create prod/dev logic. * Messy: leave uncompressed files in dev mode build. * Shut off compression in dev mode more elegantly. * Get docker build working. * Fixed bundlewatch path to find client-admin files. * Get rid of old webpack build scripts. * Don't minify for dev build. * Removed dep pkgs for s3 deploy. * Added ability to use bundle analyzer plugin. * Removed all unneeded files. * Fixed up eslint issue with upgraded packages. * Fixed bundlewatch CI script. * Keep new client-admin bundle consistently named. * Try running e2e tests against sslip.io instead of localhost. * Escape the domainWhitelist strings as it was done before. * Revert "Try running e2e tests against sslip.io instead of localhost." This reverts commit 46722d0. * Oops. Inversed the boolean for configs. * Trying to debug index_admin.html issue. * Added upterm for remote debugging. * Ensure upterm runs on failures. * Added publicPath to make script link absolute. * Drop the embed.html test file into new home. * Ensuring dev mode builds and dev server use same simplifications. * Set up all routes to point to index.html. Added mention of future proxy. * Removed debugging step from github actions. * Tiny fixups to clean up PR. * Only write headerJson files during prod build. * Migrate from dist to more build as before. * Removed unneeded config vars. * Cleaned up webpack dev-mode logic. * Went back to using dist folder to fix bundle-analyzer bug. * Updated client-admin README. Removed badges. Removed deployment references. * Cleaned up ignorefiles. * Mention where builds happen. * Use build instead of dist for client-admin build output * switch to npm run build:prod in file-server/Dockerfile * inject compiled js in html body for client-admin * add/update webpack versions Co-authored-by: Christopher Small <metasoarous@gmail.com>
- Loading branch information