Skip to content

Commit

Permalink
Merge pull request #302 from guiyep/fix-babel-transformer
Browse files Browse the repository at this point in the history
fixing bundle transformer
  • Loading branch information
guiyep authored Jan 11, 2022
2 parents 9a1f838 + 3fd74b6 commit 651f605
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
3 changes: 3 additions & 0 deletions bundlesize.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ const exec = () => {
fs.writeFile('./size.json', JSON.stringify(sizeObj), (err) => {
if (err) throw err;
console.log('File is created successfully.');
if (delta > 8000) {
console.log('Delta is bigger than 8k.');
}
});
});
} catch (err) {
Expand Down
13 changes: 5 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-select-virtualized",
"version": "5.1.2",
"version": "5.2.0",
"description": "Select virtualized component using: react-select v4 + react-virtualized + react hooks",
"author": "guiyep",
"license": "MIT",
Expand Down Expand Up @@ -41,7 +41,6 @@
"devDependencies": {
"@applitools/eyes-storybook": "^3.27.2",
"@babel/core": "7.16.7",
"@babel/plugin-transform-runtime": "7.16.7",
"@babel/preset-env": "7.16.7",
"@babel/preset-react": "7.16.7",
"@dump247/storybook-state": "1.6.1",
Expand All @@ -54,7 +53,6 @@
"babel-loader": "8.2.3",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"babel-preset-minify": "0.5.1",
"core-js": "3.20.2",
"eslint": "8.6.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "8.3.0",
Expand Down Expand Up @@ -112,11 +110,10 @@
"regenerator-runtime": "^0.13.9"
},
"browserslist": [
"last 2 versions",
"not ie <= 11",
"not opera >= 0",
"not opera >= 0",
"not ie <= 11"
"last 2 Chrome versions",
"last 2 Edge versions",
"last 2 Safari versions",
"last 2 Firefox versions"
],
"lint-staged": {
"*.{js,jsx}": [
Expand Down
2 changes: 1 addition & 1 deletion size.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"old":{"delta":0,"prettyDelta":"0 B","size":45558,"prettySize":"45.56 kB"},"new":{"delta":563,"prettyDelta":"563 B","size":46121,"prettySize":"46.12 kB"}}
{"old":{"delta":563,"prettyDelta":"563 B","size":46121,"prettySize":"46.12 kB"},"new":{"delta":-11378,"prettyDelta":"-11.38 kB","size":34743,"prettySize":"34.74 kB"}}
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'regenerator-runtime/runtime';
import { Select, Async, Creatable } from './components';

export { Select, Async, Creatable };
Expand Down

0 comments on commit 651f605

Please sign in to comment.