refactor: Add CSS extraction for production build

- Add `mini-css-extract-plugin` to `devDependencies`
- Optimize production builds with `MiniCssExtractPlugin`
- Improve CSS webpack rules for production and development builds
This commit is contained in:
Jonny Barnes 2023-05-29 12:44:29 +01:00
parent cbfae0ae34
commit 447e72b16e
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
7 changed files with 82 additions and 24 deletions

File diff suppressed because one or more lines are too long