mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-18 03:26:57 +02:00
fix(v2): Correctly resolve sw.js path on windows (#3436)
* fix(v2): Correctly resolve sw.js path on windows * Just fixing the icons too Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
This commit is contained in:
parent
80c9431af7
commit
37989a00c3
2 changed files with 6 additions and 6 deletions
|
@ -73,7 +73,7 @@ function plugin(context, options) {
|
|||
plugins: [
|
||||
new webpack.EnvironmentPlugin({
|
||||
PWA_DEBUG: debug,
|
||||
PWA_SERVICE_WORKER_URL: path.resolve(
|
||||
PWA_SERVICE_WORKER_URL: path.posix.resolve(
|
||||
`${config.output.publicPath || '/'}`,
|
||||
'sw.js',
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue