0.5.2-buildfix.1 ā€¢ Published 3 years ago

@madsci/bundle-analyzer-core v0.5.2-buildfix.1

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

@bundle-analyzer/core

Official Node.js package compatible with Bundle Analyzer service.

Install

npm install --save-dev @bundle-analyzer/core

Usage

import { uploadStats } from '@bundle-analyzer/core'
import webpackStats from './webpack-stats.json'

uploadStats({ webpackStats, token: '<repository-token>' })
  .then(() => {
    console.log('uploaded)
  })

Options

webpackStats

Stats generated from webpack.

token

You can specify the token using options or environment variable BUNDLE_ANALYZER_TOKEN.

fileSystem

Custom filesystem.

context

Search the config file from this repository.

configFile

Specify a custom config file.

Complete documentation

šŸ‘‰ See full documentation

License

MIT