samyosm commited on
Commit
bb8b342
·
1 Parent(s): e791f84

added Hugginface config

Browse files
Files changed (1) hide show
  1. next.config.ts +1 -0
next.config.ts CHANGED
@@ -8,6 +8,7 @@ const __dirname = path.dirname(__filename);
8
 
9
  const nextConfig: NextConfig = {
10
  /* config options here */
 
11
  serverExternalPackages: ['sharp', 'onnxruntime-node'],
12
  webpack: (config) => {
13
  config.resolve.alias['@huggingface/transformers'] = path.resolve(__dirname, 'node_modules/@huggingface/transformers');
 
8
 
9
  const nextConfig: NextConfig = {
10
  /* config options here */
11
+ output: 'standalone',
12
  serverExternalPackages: ['sharp', 'onnxruntime-node'],
13
  webpack: (config) => {
14
  config.resolve.alias['@huggingface/transformers'] = path.resolve(__dirname, 'node_modules/@huggingface/transformers');