Download node_modules/chai/web-test-runner.config.js from mikmc/gdrive: direct link, hf CLI and curl.
- Browser
- Download file 450 Bytes
-
https://huggingface.co/spaces/mikmc/gdrive/resolve/main/node_modules/chai/web-test-runner.config.js
- Command line
-
hf download hf://spaces/mikmc/gdrive/node_modules/chai/web-test-runner.config.js
-
curl -L -o web-test-runner.config.js https://huggingface.co/spaces/mikmc/gdrive/resolve/main/node_modules/chai/web-test-runner.config.js
450 Bytes
| import { fromRollup } from "@web/dev-server-rollup"; | |
| import rollupCommonjs from "@rollup/plugin-commonjs"; | |
| const commonjs = fromRollup(rollupCommonjs); | |
| export default { | |
| nodeResolve: true, | |
| files: [ | |
| "test/*.js", | |
| "!test/virtual-machines.js" | |
| ], | |
| plugins: [ | |
| commonjs({ | |
| include: [ | |
| // the commonjs plugin is slow, list the required packages explicitly: | |
| "**/node_modules/type-detect/**/*", | |
| ], | |
| }), | |
| ], | |
| }; | |