Files
rekam_medis/next.config.js
2022-04-27 01:19:12 +08:00

22 lines
469 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
// compiler : {
// // Enables the styled-components SWC transform
// styledComponents: true
// }
}
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
}