Don't use path.resolve for assetsDir