We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
safety-worker.js
1 parent 545c180 commit d3f2550Copy full SHA for d3f2550
packages/angular_devkit/build_angular/src/utils/service-worker.ts
@@ -167,7 +167,7 @@ export async function augmentAppWithServiceWorkerCore(
167
168
return inputputFileSystem === outputFileSystem
169
? // Native FS (Builder).
170
- inputputFileSystem.copyFile(workerPath, resolvedDest, fsConstants.COPYFILE_FICLONE)
+ inputputFileSystem.copyFile(src, resolvedDest, fsConstants.COPYFILE_FICLONE)
171
: // memfs (Webpack): Read the file from the input FS (disk) and write it to the output FS (memory).
172
outputFileSystem.writeFile(resolvedDest, await inputputFileSystem.readFile(src));
173
};
0 commit comments