Spaces:
Sleeping
Sleeping
Download node_modules/@vue/cli-plugin-babel/generator.js from k-l-lambda/lotus: direct link, hf CLI and curl.
- Browser
- Download file 496 Bytes
-
https://huggingface.co/spaces/k-l-lambda/lotus/resolve/main/node_modules/%40vue/cli-plugin-babel/generator.js
- Command line
-
hf download hf://spaces/k-l-lambda/lotus/node_modules/@vue/cli-plugin-babel/generator.js
-
curl -L -o generator.js https://huggingface.co/spaces/k-l-lambda/lotus/resolve/main/node_modules/%40vue/cli-plugin-babel/generator.js
496 Bytes
| module.exports = api => { | |
| // Most likely you want to overwrite the whole config to ensure it's working | |
| // without conflicts, e.g. for a project that used Jest without Babel. | |
| // It should be rare for the user to have their own special babel config | |
| // without using the Babel plugin already. | |
| delete api.generator.files['babel.config.js'] | |
| api.extendPackage({ | |
| babel: { | |
| presets: ['@vue/cli-plugin-babel/preset'] | |
| }, | |
| dependencies: { | |
| 'core-js': '^3.6.5' | |
| } | |
| }) | |
| } | |