bundless icon indicating copy to clipboard operation
bundless copied to clipboard

Error: Source and destination must not be the same.

Open dsblv opened this issue 4 years ago • 0 comments

$ 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.

dsblv avatar Apr 30 '21 19:04 dsblv