docts
docts copied to clipboard
Unnamed imports are not built
Hi, first of all, thanks a lot for your work. This helped me out a lot. I'm using dotenv
in my functions but it's not included in the built package.json, all other dependencies work fine. This is probably because it is imported like this:
import 'dotenv/config';
// my code
When I try to include it manually using docts build --include-dependencies dotenv
I get node_modules/dotenv/package.json (2:8): Expected ';', '}' or <eof> (Note that you need @rollup/plugin-json to import JSON files)
. Is this something that can be fixed easily?