Created
March 10, 2019 20:19
-
-
Save camille-hdl/dd61230d50198861e6a658b6258cc2a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
"globDirectory": "public", | |
"globPatterns": [ | |
"**/*.html", | |
"js/esm/*.js", | |
], | |
"swDest": "public/js/esm/sw.js", | |
"swSrc": "./src/sw.js", | |
"modifyUrlPrefix": { | |
"js/": "/js/", | |
"index.": "/index." | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment