├── .flowconfig ├── .gitignore ├── .prettierignore ├── .travis.yml ├── LICENSE ├── README.md ├── example2.png ├── flow-typed └── npm │ ├── flow-bin_v0.x.x.js │ └── jest_v22.x.x.js ├── package.json ├── src ├── index.js ├── snapshot.js ├── treeshakeWithRollup.js └── treeshakeWithWebpack.js ├── tests ├── fixtures │ ├── externals.js │ ├── import-statements-size.js │ ├── matched.size-snapshot.json │ ├── mismatch.size-snapshot.json │ ├── node-shims.js │ ├── node_env.js │ ├── pure-annotated.js │ ├── redux.js │ ├── threshold.size-snapshot.json │ └── umd.js └── index.test.js └── yarn.lock /.flowconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/.flowconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/README.md -------------------------------------------------------------------------------- /example2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/example2.png -------------------------------------------------------------------------------- /flow-typed/npm/flow-bin_v0.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/flow-typed/npm/flow-bin_v0.x.x.js -------------------------------------------------------------------------------- /flow-typed/npm/jest_v22.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/flow-typed/npm/jest_v22.x.x.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/package.json -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/src/index.js -------------------------------------------------------------------------------- /src/snapshot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/src/snapshot.js -------------------------------------------------------------------------------- /src/treeshakeWithRollup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/src/treeshakeWithRollup.js -------------------------------------------------------------------------------- /src/treeshakeWithWebpack.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/src/treeshakeWithWebpack.js -------------------------------------------------------------------------------- /tests/fixtures/externals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/tests/fixtures/externals.js -------------------------------------------------------------------------------- /tests/fixtures/import-statements-size.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/tests/fixtures/import-statements-size.js -------------------------------------------------------------------------------- /tests/fixtures/matched.size-snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/tests/fixtures/matched.size-snapshot.json -------------------------------------------------------------------------------- /tests/fixtures/mismatch.size-snapshot.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/fixtures/node-shims.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/tests/fixtures/node-shims.js -------------------------------------------------------------------------------- /tests/fixtures/node_env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/tests/fixtures/node_env.js -------------------------------------------------------------------------------- /tests/fixtures/pure-annotated.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/tests/fixtures/pure-annotated.js -------------------------------------------------------------------------------- /tests/fixtures/redux.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/tests/fixtures/redux.js -------------------------------------------------------------------------------- /tests/fixtures/threshold.size-snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/tests/fixtures/threshold.size-snapshot.json -------------------------------------------------------------------------------- /tests/fixtures/umd.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/tests/fixtures/umd.js -------------------------------------------------------------------------------- /tests/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/tests/index.test.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TrySound/rollup-plugin-size-snapshot/HEAD/yarn.lock --------------------------------------------------------------------------------