next-esx
v0.0.0
Published
Enable [`esx`](https://github.com/esxjs/esx) in your Next.js project
Readme
Next.js + ESX
Enable esx in your Next.js project
Status
Experimental
Installation
npm install --save next-esxor
yarn add next-esxConfiguring Next.js
// next.config.js
const withEsx = require('next-esx')()
module.exports = withEsx()If you need to set extra config options
// next.config.js
const withEsx = require('next-esx')()
module.exports = withEsx({
// set more options
webpack(config, options) {
// do extra things
return config
}
})Configuring package.json
Make sure esx is installed:
npm install esxChange the start script in your package.json from:
"start": "next start"To:
"start": "next-esx start"License
MIT
