generated from francois-codes/LiveBand
-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
44 lines (40 loc) · 973 Bytes
/
next.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// @generated: @expo/[email protected]
// Learn more: https://docs.expo.io/guides/using-nextjs/
/* eslint-disable @typescript-eslint/no-var-requires */
const { withExpo } = require("@expo/next-adapter");
const withPlugins = require("next-compose-plugins");
const withFonts = require("next-fonts");
const withImages = require("next-images");
const nextConfig = {
env: {
TONE_GRAPH_API_TOKEN: process.env.TONE_GRAPH_API_TOKEN,
},
experimentals: { esmExternals: "loose" },
typescript: { ignoreBuildErrors: true }, // yeah I know
// async headers() {
// return [
// {
// source: "/",
// headers: [
// {
// key: "Content-Security-Policy",
// value: "frame-ancestors *",
// },
// ],
// },
// ];
// },
};
module.exports = withPlugins(
[
withFonts,
withImages,
[
withExpo,
{
projectRoot: __dirname,
},
],
],
nextConfig,
);