11 lines
274 B
JavaScript
11 lines
274 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;
|
|
},
|
|
};
|