mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2025-06-18 11:58:29 -06:00
Adding final files from js to ts.
This commit is contained in:
@ -109,7 +109,7 @@ const frontendConfig = {
|
||||
]
|
||||
}),
|
||||
new InjectManifest({
|
||||
swSrc: './service-worker.js',
|
||||
swSrc: './service-worker.ts',
|
||||
swDest: 'service-worker.js',
|
||||
}),
|
||||
],
|
||||
@ -210,7 +210,7 @@ const serverConfig = {
|
||||
'process.env.PUBLIC_URL': JSON.stringify(PUBLIC_URL),
|
||||
}),
|
||||
new InjectManifest({
|
||||
swSrc: './service-worker.js',
|
||||
swSrc: './service-worker.ts',
|
||||
swDest: 'service-worker.js',
|
||||
}),
|
||||
],
|
||||
|
Reference in New Issue
Block a user