Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit fc13b38

Browse files
committed
chore: remove size snapshot
1 parent d17699f commit fc13b38

File tree

4 files changed

+16
-654
lines changed

4 files changed

+16
-654
lines changed

.size-snapshot.json

Lines changed: 0 additions & 26 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"@babel/preset-stage-2": "^7.8.3",
8585
"@emotion/core": "^10.0.28",
8686
"@emotion/styled": "^10.0.27",
87-
"@popperjs/core": "^2.1.1",
87+
"@popperjs/core": "^2.2.1",
8888
"@types/react": "^16.9.29",
8989
"babel-eslint": "^10.1.0",
9090
"babel-jest": "^25.2.4",
@@ -116,7 +116,6 @@
116116
"rollup-plugin-commonjs": "^10.1.0",
117117
"rollup-plugin-node-resolve": "^5.2.0",
118118
"rollup-plugin-replace": "^2.2.0",
119-
"rollup-plugin-size-snapshot": "^0.11.0",
120119
"rollup-plugin-uglify": "^6.0.4",
121120
"typescript": "^3.8.3"
122121
}

rollup.config.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import commonjs from 'rollup-plugin-commonjs';
33
import babel from 'rollup-plugin-babel';
44
import replace from 'rollup-plugin-replace';
55
import { uglify } from 'rollup-plugin-uglify';
6-
import { sizeSnapshot } from 'rollup-plugin-size-snapshot';
76

87
const input = './src/index.js';
98

@@ -31,7 +30,6 @@ export default [
3130
commonjs({ include: '**/node_modules/**' }),
3231
babel(getBabelOptions()),
3332
replace({ 'process.env.NODE_ENV': JSON.stringify('development') }),
34-
sizeSnapshot(),
3533
],
3634
},
3735

@@ -49,7 +47,6 @@ export default [
4947
commonjs({ include: '**/node_modules/**' }),
5048
babel(getBabelOptions()),
5149
replace({ 'process.env.NODE_ENV': JSON.stringify('production') }),
52-
sizeSnapshot(),
5350
uglify(),
5451
],
5552
},
@@ -59,6 +56,6 @@ export default [
5956
output: { file: 'dist/index.esm.js', format: 'esm' },
6057
external: id =>
6158
!id.startsWith('\0') && !id.startsWith('.') && !id.startsWith('/'),
62-
plugins: [babel(getBabelOptions()), sizeSnapshot()],
59+
plugins: [babel(getBabelOptions())],
6360
},
6461
];

0 commit comments

Comments
 (0)