Where should I put "functions" folder in my Vue3 project?
I've tried put in /public. I got "Note: No functions dir at /functions found. Skipping."
and put in root I got Vue build error : "[ERROR] Transforming async functions to the configured target environment ("es5") is not supported yet"
Please hrlp! :poggies:
1 Reply
I found the solution! I
put in root
put tsconfig.json in functions with the content
{
"compilerOptions": {
"target": "ES2017"
}
}
now it works!
Seems babel.config.js in Vue's root will override how it used to build functions.