tsup
Next.js
Our great sponsors
tsup | Next.js | |
---|---|---|
21 | 2019 | |
7,901 | 119,633 | |
- | 2.1% | |
7.2 | 10.0 | |
9 days ago | about 19 hours ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tsup
-
Server-side Rendering (SSR) From Scratch with React
Now, we can run all this server reaching the port 4000. If you want to test, build it with tsup or any other way that you want, like ts-node.
-
Is there an automated way to create a file with the Node interpreter specified?
I am using `tsup` to transpile my application - https://github.com/egoist/tsup
- Create an npm package template with TypeScript and tsup
-
Building a modern gRPC-powered microservice using Node.js, Typescript, and Connect
As we iterate on the definition, we are going to want a better developer experience for rebuilding the package on changes. Typically, for a “library” or “utility” style package, I’d reach for either unbuild’s stub concept or use esbuild/tsup/rollup to implement a more traditional watch/rebuild, but in this case, I’m watching a proto file that lives outsides of the source, which breaks assumptions of those tools.
-
TypeScript tooling and ecosystem
If you want to stay in that ecosystem, try tsup. But you should still try to wire up a canonical tsc-based project first to understand the fundamentals.
-
Creating Modern npm Packages
I actually recommend using tsup to build instead of tsc. It can bundle if you want, makes it easier to output multiple formats if you want, etc. It's also dead simple and lightning fast (like, MUCH faster than tasc). It's zero config so the build script is as simple as this.
-
The Making of A React Component Librabry
To bundle your component you will have to use a bundler. There are a lot of options out there but here we will be using tsup because tsup doesn't require a configuration for our use case.
-
Big Changes Ahead for Deno
One option is to do type checking with tsc (or in your unit tests). And build into a single file with tsup.
-
Your first Turborepo
I'll setting up a new monorepo with a couple of simple apps and a UI library which would be shared by the apps. The goal is not the design and functionalities of these apps, but the tooling and features Turborepo provides. There will be two apps admin and products, both of them will be bundled using Vite. Vite is blazing fast and you should definitely give it a try just for its speed. The UI library, which will contain just a button component, which is written in TypeScript, will be bundled using tsup. tsup uses esbuild underneath, so we can expect blazing fast build times. I'll be using yarn for package management. We will also be using a common eslint configuration which will be shared across all three codebases.
-
TypeScript 4.6 - Compilation is too slow at least for me with 50000 lines of code, moving back to pure JS
Highly recommend https://tsup.egoist.sh/
Next.js
-
Building a Dynamic Job Board with Issues Github, Next.js, Tailwind CSS and MobX-State-Tree
To create our Next.js app, we navigate to our preferred directory and run the terminal command below:
-
Building a Fast, Efficient Web App: The Technology Stack of PromptSmithy Explained
We all know what React is at this point, but why use it with Vite and React Router DOM over something like NextJS?
-
Lessons from open-source: Replace zod with superstruct if you do not use zod’s advanced capabilities
This is where I saw compiled folder has superstruct’s minified code.
-
Creating Nx Workspace with Eslint, Prettier and Husky Configuration
Next.js [ https://nextjs.org/ ]
-
Building a High-Performance Website with Next.js and WordPress
Creating a high-performance website is essential in today’s digital age. Speed, efficiency, and a seamless user experience are the cornerstones of successful web development. This article explores how combining Next.js with WordPress can achieve these goals, providing a robust solution for developers looking to elevate their web projects.
-
Epic Next.js 14 Tutorial: Learn Next.js by building a real-life project: Part 1
Let's start by setting up our front end first. For this, we will be using Next.js 14
-
Storybook 8
React Server Components are a paradigm shift for React, where components are exclusively rendered on the server. We’ve been closely following the React core team’s explorations of RSC, as well as our friends at Next.js leading the charge in RSC app development.
-
Build a simple E-commerce PIM with Next.js, Prisma, and Neon
Basic knowledge of React and Next.js
-
Next.js: consequence of AppRouter on your CSP
NEXTJS 13: self.__next_f.push
-
Next.js: Crafting a Strict CSP
Configuring Content Security Policy from nextjs.org
What are some alternatives?
vite - Next generation frontend tooling. It's fast!
Express - Fast, unopinionated, minimalist web framework for node.
SvelteKit - web development, streamlined
MERN - ⛔️ DEPRECATED - Boilerplate for getting started with MERN stack
Angular - Deliver web apps with confidence 🚀
Rollup - Next-generation ES module bundler
fastify - Fast and low overhead web framework, for Node.js
Svelte - Cybernetically enhanced web apps
Koa - Expressive middleware for node.js using ES2017 async functions
AdonisJs Framework - AdonisJS is a TypeScript-first web framework for building web apps and API servers. It comes with support for testing, modern tooling, an ecosystem of official packages, and more.
craco - Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.
razzle - ✨ Create server-rendered universal JavaScript applications with no configuration