first commit
This commit is contained in:
@ -1,6 +1,21 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
// compiler : {
|
||||
// // Enables the styled-components SWC transform
|
||||
// styledComponents: true
|
||||
// }
|
||||
}
|
||||
|
||||
module.exports = nextConfig
|
||||
const webpack = require('webpack');
|
||||
const {parsed : myEnv} = require('dotenv').config();
|
||||
|
||||
// module.exports = nextConfig
|
||||
module.exports = {
|
||||
webpack: (config) => {
|
||||
config.plugins.push(new webpack.EnvironmentPlugin(myEnv));
|
||||
return config;
|
||||
},
|
||||
nextConfig
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user