This release introduces the src.path option which allows overriding the srcPath (only relevant when using the [path] placeholder in output.name)
By default the rootPath is determined by looking for the folder with package.json and then the srcPath is determined by looking for a src or app folder in the root. In some cases this logic might be too opinionated and you might want something else for the replacement of [path]
The src.path option allows you exactly this.