Skip to content

archoleat/next-define-config

Repository files navigation

Next Define Config

NPM Version NPM Downloads 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.