next-define-config

Provide a defineConfig function for Next

MIT License

Downloads
477
Stars
0
Committers
4

Next Define Config

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.

Package Rankings
Top 31.88% on Npmjs.org
Related Projects