| 12345678910111213 |
- const path = require("path");
- const NODE_ENV = process.env.NODE_ENV || "development";
- /** @type {import('next').NextConfig} */
- const nextConfig = {
- webpack: (config, options) => {
- config.resolve.alias.data = path.resolve(__dirname, `data/${NODE_ENV}`);
- return config;
- }
- };
- module.exports = nextConfig;
|