Skip to content

Commit

Permalink
preserve class names in production build
Browse files Browse the repository at this point in the history
  • Loading branch information
aolsenjazz committed May 1, 2023
1 parent 3781783 commit d2369e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .erb/configs/webpack.config.renderer.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ const configuration: webpack.Configuration = {
minimizer: [
new TerserPlugin({
parallel: true,
terserOptions: {
keep_classnames: true,
},
}),
new CssMinimizerPlugin(),
],
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ jobs:
node-version: 16
cache: npm

- name: npm install
run: |
npm install
- name: run post-clone
run: |
npm run post-clone
Expand Down

0 comments on commit d2369e1

Please sign in to comment.