All Projects → lucleray → next-size

lucleray / next-size

Licence: other
Next.js plugin to print browser assets sizes

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to next-size

next-purgecss
nextjs + purgecss for smaller css bundles
Stars: ✭ 129 (+230.77%)
Mutual labels:  next, next-plugins
MOTE
Magnitude of the Effect - An Effect Size and CI calculator
Stars: ✭ 17 (-56.41%)
Mutual labels:  size
js-bundle-size
Cross-browser extension adding JS bundle size data to npm and github pages
Stars: ✭ 31 (-20.51%)
Mutual labels:  bundle-size
next-test-api-route-handler
🚀✨ Confidently unit test your Next.js API routes/handlers in an isolated Next.js-like environment
Stars: ✭ 150 (+284.62%)
Mutual labels:  next
tty-screen
Terminal screen detection - cross platform, major ruby interpreters
Stars: ✭ 78 (+100%)
Mutual labels:  size
shopify-node-react-app
Shopify paid app in Node.js & React.js that connects to a store and lets merchants select products to automatically discount them in the Shopify admin interface.
Stars: ✭ 29 (-25.64%)
Mutual labels:  next
Giotto
Theme manager for your app: apply styles to anything you want through a plist file
Stars: ✭ 18 (-53.85%)
Mutual labels:  size
sutanlab.id
☕️ My Personal Homepage & Blog site with NextJS. 🇺🇸 🇮🇩
Stars: ✭ 39 (+0%)
Mutual labels:  next
next
(Work in progress) The rewritten version of the original PizzaQL 🍕
Stars: ✭ 45 (+15.38%)
Mutual labels:  next
mongoose-aggregate-paginate-v2
A cursor based custom aggregate pagination library for Mongoose with customizable labels.
Stars: ✭ 103 (+164.1%)
Mutual labels:  next
parse-react
[EXPERIMENTAL] React, React Native, and React with SSR (e.g. Next.js) packages to interact with Parse Server backend
Stars: ✭ 58 (+48.72%)
Mutual labels:  next
next-netlify-starter
A one-click starter project for Next and Netlify
Stars: ✭ 76 (+94.87%)
Mutual labels:  next
next-api-og-image
Easy way to generate open-graph images dynamically in HTML or React using Next.js API Routes. Suitable for serverless environment.
Stars: ✭ 179 (+358.97%)
Mutual labels:  next
React.ai
It recognize your speech and trained AI Bot will respond(i.e Customer Service, Personal Assistant) using Machine Learning API (DialogFlow, apiai), Speech Recognition, GraphQL, Next.js, React, redux
Stars: ✭ 38 (-2.56%)
Mutual labels:  next
next-plugin-antd-less
🎩 Use Antd (Less) with Next.js v12, Zero Dependency on other Next-Plugins.
Stars: ✭ 338 (+766.67%)
Mutual labels:  next-plugins
next-share
Social media share buttons for your next React apps.
Stars: ✭ 145 (+271.79%)
Mutual labels:  next
palmerye.github.io
📝 Personal Blog
Stars: ✭ 17 (-56.41%)
Mutual labels:  next
storybook-addon-next
A no config Storybook addon that makes Next.js features just work in Storybook
Stars: ✭ 184 (+371.79%)
Mutual labels:  next
nextjs-breadcrumbs
A dynamic, highly customizable breadcrumbs component for Next.js
Stars: ✭ 70 (+79.49%)
Mutual labels:  next
next-react-boilerplate
🔥 NextJS with additional tech feature like react-boilerplate. Demo >>
Stars: ✭ 20 (-48.72%)
Mutual labels:  next

⚠️ This package has been deprecated because it can slow down your builds. Upgrade to Next.js 9+ to get Build Output Statistics out-of-the-box.

next-size

Next-size is a next.js plugin to print browser assets sizes when running next build.

browser assets sizes appear magically when running next build ✨

🎁 Check out the example folder folder if you want to try next-size (the example includes css and dynamic imports).

Installation

yarn add next-size --dev

Usage

Edit your next configuration and wrap you config with withSize.

// next.config.js
const withSize = require('next-size')

module.exports = withSize()

The size of the assets created will be showed when you run next-build

Options

You can specify printRawSize to print raw asset sizes instead of gzipped sizes.

// next.config.js
const withSize = require('next-size')

module.exports = withSize({
  size: {
    printRawSize: true
  }
})

More

Inspired by :

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].