Skip to content

archoleat/next-define-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Next Define Config

NPM Version NPM Downloads Specs Commitlint Editorconfig Prettier ESLint Remark

Table of Contents

Provide a defineConfig function for Next.

Installation

bun i -D @archoleat/next-define-config

Usage

See Next Configuration.

Instead of this:

/** @type {import('next').NextConfig} */
const nextConfig = {};

export default nextConfig;

Use this:

import { defineConfig } from '@archoleat/next-define-config';

export default defineConfig({})

Contributing

Please read CONTRIBUTING to start contributing.

License

This project is licensed under the MIT license.