You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since service workers are written in vanilla javascript, modular specifiers for importing the library does not work since the browser does not have access to the node_modules directory. So the library needs to be copied into the root directory and the service worker needs to import the static endpoint. If there is a way to leverage a transcompiler or a bundler to load the library in a way the browser can access it while still using modular specifiers, then it would be a big win.
The text was updated successfully, but these errors were encountered:
Since service workers are written in vanilla javascript, modular specifiers for importing the library does not work since the browser does not have access to the node_modules directory. So the library needs to be copied into the root directory and the service worker needs to import the static endpoint. If there is a way to leverage a transcompiler or a bundler to load the library in a way the browser can access it while still using modular specifiers, then it would be a big win.
The text was updated successfully, but these errors were encountered: