bundless
bundless copied to clipboard
Error: Source and destination must not be the same.
$ bundless build -o ./public
bundless build
Options:
-c, --config The config path to use [string] [default: "bundless.config.js"]
--debug Enables debug logging [boolean]
--stats Show profiling stats [boolean]
--version Show version number [boolean]
--help h [boolean]
-o, --outDir The output directory [string]
Error: Source and destination must not be the same.
at /[REDACTED]/node_modules/fs-extra/lib/util/stat.js:39:17
at cb (node:util:208:31)
at processTicksAndRejections (node:internal/process/task_queues:80:21)
This happens when output directory is set to "public". No other configuration, source paths do not contain the word "public". Any other output works fine.