diff --git a/bundlesize.config.json b/bundlesize.config.json new file mode 100644 index 00000000..657d88aa --- /dev/null +++ b/bundlesize.config.json @@ -0,0 +1,17 @@ +{ + "files": [ + { + "path": "./index.js", + "maxSize": "600B" + }, + { + "path": "./src/files.js", + "maxSize": "600B" + }, + { + "path": "./src/compressed-size.js", + "maxSize": "420B", + "compression": "none" + } + ] +} diff --git a/package.json b/package.json index 0c100ba8..6093ec3f 100644 --- a/package.json +++ b/package.json @@ -45,21 +45,6 @@ "gzip-size": "^4.0.0", "prettycli": "^1.4.3" }, - "bundlesize": [ - { - "path": "./index.js", - "maxSize": "600B" - }, - { - "path": "./src/files.js", - "maxSize": "600B" - }, - { - "path": "./src/compressed-size.js", - "maxSize": "420B", - "compression": "none" - } - ], "lint-staged": { "*.js": [ "prettier",