jasmine-browser-runner icon indicating copy to clipboard operation
jasmine-browser-runner copied to clipboard

Don't require srcDir if srcFiles and cssFiles are both empty

Open sgravrock opened this issue 1 year ago • 0 comments

A typical ESM configuration doesn't load anything from srcDir and only sets it because it's a required field. That's unnecessary, and it can be confusing because there's no obviously correct value to use. (In practice, anything will work.) jasmine-browser-runner should only require srcDir if at least one of srcFiles or cssFiles is non-empty.

sgravrock avatar Nov 09 '24 19:11 sgravrock