Skip to content

Commit 2120ae0

Browse files
committed
Fixes requirejs#659: update error message for out to mention baseUrl
1 parent 40fa066 commit 2120ae0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/jslib/build.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,8 @@ define(function (require) {
10201020
if (config.appDir && config.out) {
10211021
throw new Error('"appDir" is not compatible with "out". Use "dir" ' +
10221022
'instead. appDir is used to copy whole projects, ' +
1023-
'where "out" is used to just optimize to one file.');
1023+
'where "out" with "baseUrl" is used to just ' +
1024+
'optimize to one file.');
10241025
}
10251026
if (config.out && config.dir) {
10261027
throw new Error('The "out" and "dir" options are incompatible.' +

0 commit comments

Comments
 (0)