Background
The project currently maintains two parallel build configurations:
- fec.config.js - Used for production builds and main development workflow
- webpack.config.js - Legacy configuration used by CI pipelines and some development scripts
This duplication creates maintenance overhead and potential inconsistencies. All production deployments already use fec.config.js, making webpack.config.js redundant.
Goal
Remove webpack.config.js and all references to it, consolidating on the fec build system used in production.
Acceptance Criteria
Files/Folders to Delete
- webpack.config.js
- babel-plugins
- loaders
- run/progress-flag-if-tty.sh
Files to Update
1. package.json (3 scripts to remove/update)
- Update build script to use fec-based build
- Remove dev-server: "webpack serve $(run/progress-flag-if-tty.sh)"
- Remove start:ci script
- Remove babel-loader dependency
- Remove html-webpack-plugin dependency
- Remove sol-sc-explorer dependency
- Remove webpack-cli dependency
- Remove webpack-dev-server dependency
2. GitHub Actions Workflows (2 files)
- .github/workflows/ci.yml
-
- Verify build job uses fec-based build instead of webpack