Skip to content

Commit

Permalink
refactor: caught react-dom-server in the final bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
aversini committed Nov 22, 2023
1 parent 7b4817d commit 76ca7e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bundlemon.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ module.exports = {
},
{
path: "assets/index.js",
maxSize: "60kb",
maxSize: "10kb",
maxPercentIncrease: 5,
},
{
path: "assets/style.css",
maxSize: "4kb",
maxPercentIncrease: 5,
},
{
path: "assets/**/*.{png,svg}",
Expand Down
2 changes: 2 additions & 0 deletions packages/ui-components/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ export default defineConfig({
"@tailwindcss/typography",
"react",
"react/jsx-runtime",
"react-dom",
"react-dom/server",
"tailwindcss",
],
output: {
Expand Down

0 comments on commit 76ca7e1

Please sign in to comment.