I think you need to change this to:
path.resolve('build/chrome-app')