Skip to content

Commit

Permalink
Fixing filesize measurements
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry committed May 12, 2021
1 parent 47a8a0b commit 525ecfe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,15 @@
},
{
"path": "./dist/size-rollup-m.js",
"maxSize": "5 kB"
"maxSize": "5.3 kB"
},
{
"path": "./dist/size-rollup-dom-animation.js",
"maxSize": "14 kB"
"maxSize": "20 kB"
},
{
"path": "./dist/size-rollup-dom-max.js",
"maxSize": "19.5 kB"
"maxSize": "26 kB"
},
{
"path": "./dist/size-webpack-m.js",
Expand Down
3 changes: 3 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ const m = Object.assign({}, es, {
dir: undefined,
}),
plugins: [resolve(), terser({ output: { comments: false } })],
external: ["react", "react-dom"],
})

const domAnimation = Object.assign({}, es, {
Expand All @@ -90,6 +91,7 @@ const domAnimation = Object.assign({}, es, {
dir: undefined,
}),
plugins: [resolve(), terser({ output: { comments: false } })],
external: ["react", "react-dom"],
})

const domMax = Object.assign({}, es, {
Expand All @@ -100,6 +102,7 @@ const domMax = Object.assign({}, es, {
dir: undefined,
}),
plugins: [resolve(), terser({ output: { comments: false } })],
external: ["react", "react-dom"],
})

export default [umd, umdProd, cjs, es, m, domAnimation, domMax]

0 comments on commit 525ecfe

Please sign in to comment.