added Hugginface config
Browse files- 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');
|