0.9.2 • Published 1 year ago

@morfeo/next v0.9.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@morfeo/next

Morfeo logo

@morfeo/next expose a function to easily integrate morfeo with next.js.


Documentation | API | Contributing | Discord


Installation

# With npm
npm install @morfeo/next

# With yarn
yarn add @morfeo/next

Once the package is installed you can wrap your next configuration with the withMorfeo utility function, this function will automatically inject all the needed configurations to run morfeo at build-time in your next.js application.

next.config.js

const { withMorfeo } = require("@morfeo/next");

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

module.exports = withMorfeo(nextConfig)
0.9.0

1 year ago

0.9.2

1 year ago

0.9.1

1 year ago

0.8.0

1 year ago