An open API service indexing awesome lists of open source software.

https://github.com/markthree/nuxt-size

ultrafast get output size after build
https://github.com/markthree/nuxt-size

folder-size go nuxt size ultrafast

Last synced: 9 months ago
JSON representation

ultrafast get output size after build

Awesome Lists containing this project

README

          

# nuxt-size

ultrafast get folder size after build


## Features

- ultrafast,power by
[go-get-folder-size](https://github.com/markthree/go-get-folder-size)


## Usage

### install

```shell
npm i nuxt-size -D
```

### setup

```ts
// nuxt.config.ts

export default defineNuxtConfig({
modules: ["nuxt-size"],
});
```

### result

```shell
npx nuxi build
```

or

```shell
npx nuxi generate
```

The console will output the finally size

```shell
Σ Output size: {your size} - D:/Code/Work/nuxt-size/playground/.output
```

![./snapshot.gif](./snapshot.gif)


## License

Made with [markthree](https://github.com/markthree)

Published under [MIT License](./LICENSE).