rsnext/errors/invalid-assetprefix.md
Tim Neutkens 2ba056aa20
Add check for invalid assetPrefix (#9759)
* Add check for invalid assetPrefix

* Update test/integration/invalid-config-values/test/index.test.js

Co-Authored-By: JJ Kasper <jj@jjsweb.site>
2019-12-16 16:07:03 +01:00

278 B

Invalid assetPrefix

Why This Error Occurred

The value of assetPrefix in next.config.js is set to something that is not a string.

Possible Ways to Fix It

Ensure that assetPrefix is a string.

Example:

module.exports = {
  assetPrefix: '/',
}