diff --git a/lib/optimizer.js b/lib/optimizer.js index fd3d1f1..9b18596 100644 --- a/lib/optimizer.js +++ b/lib/optimizer.js @@ -215,6 +215,7 @@ function optimizeServer(server, optimizedPackagePath, opt_options) { var staticFilename = path.join(staticPrefix, '__resource__', relativeFilename); var file = new VersionedFile(staticFilename); + file.addResourcePath(res.resourcePath); file.setContent(bodyContentType.body); addFile(file); });