Download next.js/test/e2e/esm-externals/next.config.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 363 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/esm-externals/next.config.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/esm-externals/next.config.js
-
curl -L -o next.config.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/esm-externals/next.config.js
363 Bytes
| module.exports = { | |
| turbopack: { | |
| resolveAlias: { | |
| 'preact/compat': 'react', | |
| }, | |
| }, | |
| serverExternalPackages: [ | |
| 'app-esm-package1', | |
| 'app-esm-package2', | |
| 'app-cjs-esm-package', | |
| ], | |
| webpack(config, { isServer }) { | |
| config.resolve.alias = { | |
| ...config.resolve.alias, | |
| 'preact/compat': 'react', | |
| } | |
| return config | |
| }, | |
| } | |