borders/next.config.js

14 lines
358 B
JavaScript

/** @type {import('next').NextConfig} */
const webpack = require("webpack");
const { parsed: environment } = require("dotenv").config();
module.exports = {
webpack(config) {
config.plugins.push(new webpack.EnvironmentPlugin(environment));
return config;
},
images: {
domains: ["localhost", "borders.j4.pm", "cdn.discordapp.com"],
},
};