feat(SW-2781): Setup SAS partner site * Add boilerplate for SAS partner site * Fonts * netlify.toml Approved-by: Linus Flood
27 lines
539 B
TypeScript
27 lines
539 B
TypeScript
import type { NextConfig } from "next"
|
|
|
|
const nextConfig: NextConfig = {
|
|
poweredByHeader: false,
|
|
trailingSlash: false,
|
|
transpilePackages: ["@scandic-hotels/common", "@scandic-hotels/trpc"],
|
|
output: "standalone",
|
|
|
|
webpack: function (config: any) {
|
|
config.module.rules.push(
|
|
{
|
|
test: /\.(graphql|gql)/,
|
|
exclude: /node_modules/,
|
|
loader: "graphql-tag/loader",
|
|
},
|
|
{
|
|
test: /\.svg$/,
|
|
use: ["@svgr/webpack"],
|
|
}
|
|
)
|
|
|
|
return config
|
|
},
|
|
}
|
|
|
|
export default nextConfig
|