Hello. Has anyone had success in making progressive web apps with kotlin.js?
a
altavir
03/01/2020, 6:10 PM
https://youtu.be/_AhTzpIQJTw▾
g
Grantas33
03/01/2020, 8:24 PM
The main concern I'm having is how to generate a separate .js file for a service worker. Would it be possible to modify the webpack config to build the .kt file for SW separately from the main .js bundle file? Any ideas?
r
Robert Jaros
03/01/2020, 8:53 PM
You can generate service worker by using
workbox-webpack-plugin
g
Grantas33
03/01/2020, 9:02 PM
Can I freely modify the SW this way? Does it compile from kotlin? Right now, I just included a .js SW file in the resources folder