Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use next export with custom swDest path #228

Open
rohmanhm opened this issue Mar 14, 2020 · 0 comments
Open

Use next export with custom swDest path #228

rohmanhm opened this issue Mar 14, 2020 · 0 comments

Comments

@rohmanhm
Copy link

Issue and steps to reproduce.

I have a custom swDest on my app like below.

workboxOpts: {
	swDest: 'public/service-worker.js',
	...otherSettings,
}

When doing next export it's generate service-worker.js file in out/public/service-worker.js which should be out/service-worker.js right?

Expectations

It should generate service-worker.js file in out/service-worker.js instead of out/public/service-worker.js

Versions.

next-offline@^5.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant