Skip to content

archoleat/next-define-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next Define Config

NPM Version NPM Downloads ESM Provenance CodeQL Specs Commitlint Editorconfig Prettier ESLint Remark

Table of Contents

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.