I'm having trouble getting the syntax right for combining:
module.exports = withImages()
and
trailingSlash: true
within next.config.js
.
My current file works:
const withImages = require('next-images')
module.exports = withImages()
... but when I try to add the trailingSlash
key/value it throws up errors on building because obviously I'm not getting the syntax right.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…