https://github.com/archoleat/next-define-config
Provide a defineConfig function for Next
https://github.com/archoleat/next-define-config
archoleat archoleat-next-define-config config configuration define-config next next-config next-define-config plugin typescript
Last synced: 2 months ago
JSON representation
Provide a defineConfig function for Next
- Host: GitHub
- URL: https://github.com/archoleat/next-define-config
- Owner: archoleat
- License: mit
- Created: 2024-08-10T13:22:53.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-04-02T06:05:42.000Z (3 months ago)
- Last Synced: 2025-04-07T00:11:55.156Z (3 months ago)
- Topics: archoleat, archoleat-next-define-config, config, configuration, define-config, next, next-config, next-define-config, plugin, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@archoleat/next-define-config
- Size: 298 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Next Define Config







## Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)Provide a defineConfig function for Next.
## Installation
```shell
bun i -D @archoleat/next-define-config
```## Usage
See [Next Configuration](https://nextjs.org/docs/app/api-reference/next-config-js).
Instead of this:
```js
/** @type {import('next').NextConfig} */
const nextConfig = {};export default nextConfig;
```Use this:
```js
import { defineConfig } from '@archoleat/next-define-config';export default defineConfig({})
```## Contributing
Please read [**CONTRIBUTING**](https://github.com/archoleat/.github/blob/main/CONTRIBUTING.md)
to start contributing.## License
This project is licensed under the [**MIT license**](LICENSE).