1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-02-07 09:38:46 +00:00

use NEXT_ASSET_PREFIX

This commit is contained in:
Nebel 2020-02-08 22:08:02 +09:00
parent 4f7c6626c0
commit 9414419f73

View file

@ -1,5 +1,6 @@
module.exports = require("@next/mdx")({
extension: /\.mdx?$/
})({
pageExtensions: ["ts", "tsx", "md", "mdx"]
pageExtensions: ["ts", "tsx", "md", "mdx"],
assetPrefix: process.env.NEXT_ASSET_PREFIX || ""
});