I have the below folder structure
-src
--module
---some.js
---another.js
--server.js
I am using parceljs transpile the .js
files
The script in package.json
looks like this
"build": "parcel src/*/*.js --target=node"
When I run npm run build
, server.js
is not transpiled.
If I change the build script to the below, files in module
folder don't get transpiled
"build": "parcel src/*.js --target=node"
Any guidance so what I could transpile .js
files in the src
level as well as all nested files?