You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let destDir = (fs.lstatSync(path.join(_this.evt.options.pathDist,p)).isDirectory()) ? destPath : path.dirname(destPath);
That way optimizer will actually find the intended include? If you just use the includePath as written in the s-function then lstat won't find it because its looking for a full path right? (http://linux.die.net/man/2/lstat)
Changing to the above allows a successful deploy for me
The text was updated successfully, but these errors were encountered:
Hi - Isn't this a bug in the includePaths?
https://github.com/serverless/serverless-optimizer-plugin/blob/master/index.js#L288
Shouldn't it be something like:
That way optimizer will actually find the intended include? If you just use the includePath as written in the s-function then lstat won't find it because its looking for a full path right? (http://linux.die.net/man/2/lstat)
Changing to the above allows a successful deploy for me
The text was updated successfully, but these errors were encountered: