borders/next.config.js

15 lines
358 B
JavaScript
Raw Normal View History

2022-04-10 16:02:48 +00:00
/** @type {import('next').NextConfig} */
2022-04-10 16:34:29 +00:00
const webpack = require("webpack");
const { parsed: environment } = require("dotenv").config();
module.exports = {
webpack(config) {
config.plugins.push(new webpack.EnvironmentPlugin(environment));
return config;
},
2022-04-24 02:58:54 +00:00
images: {
domains: ["localhost", "borders.j4.pm", "cdn.discordapp.com"],
},
2022-04-10 16:34:29 +00:00
};