Skip to content

Commit

Permalink
Replaced rollup-plugin-filesize with rollup-plugin-bundle-size;
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitalBrainJS committed Jun 23, 2022
1 parent df891dc commit d2f6758
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 3 deletions.
131 changes: 131 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -88,7 +88,7 @@
"multer": "^1.4.4",
"rollup": "^2.67.0",
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-filesize": "^9.1.2",
"rollup-plugin-bundle-size": "^1.0.3",
"rollup-plugin-terser": "^7.0.2",
"sinon": "^4.5.0",
"stream-throttle": "^0.1.3",
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.js
Expand Up @@ -4,7 +4,7 @@ import {terser} from "rollup-plugin-terser";
import json from '@rollup/plugin-json';
import { babel } from '@rollup/plugin-babel';
import autoExternal from 'rollup-plugin-auto-external';
import filesize from 'rollup-plugin-filesize';
import bundleSize from 'rollup-plugin-bundle-size'

const lib = require("./package.json");
const outputFileName = 'axios';
Expand All @@ -25,7 +25,7 @@ const buildConfig = ({es5, browser = true, minifiedVersion = true, ...config}) =
resolve({browser}),
commonjs(),
minified && terser(),
minified && filesize(),
minified && bundleSize(),
...(es5 ? [babel({
babelHelpers: 'bundled',
presets: ['@babel/preset-env']
Expand Down

0 comments on commit d2f6758

Please sign in to comment.