jan/web/next.config.js
Louis df5d75d1f8
fix: plugin & model catalog import cache are not cleared properly (#437)
* fix: plugin catalog cache is not wiped properly

* fix: import cache issue
2023-10-25 01:06:37 +07:00

30 lines
624 B
JavaScript

/** @type {import('next').NextConfig} */
const webpack = require('webpack')
const nextConfig = {
output: 'export',
assetPrefix: '.',
transpilePackages: ['lucide-react'],
experimental: {
serverActions: false,
},
images: {
unoptimized: true,
remotePatterns: [
{
protocol: 'https',
hostname: '**',
},
],
},
webpack: (config, env) => {
// do some stuff here
config.optimization.minimize = false
config.optimization.minimizer = []
config.plugins = [...config.plugins, new webpack.DefinePlugin({})]
return config
},
}
module.exports = nextConfig