Skip to content

Commit

Permalink
fix: use worker from plugin and remove default (#2340)
Browse files Browse the repository at this point in the history
  • Loading branch information
anshumanv committed Jan 11, 2021
1 parent 91fc166 commit 9100137
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions packages/generators/init-template/sw.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/generators/src/init-generator.ts
Expand Up @@ -264,7 +264,7 @@ export default class InitGenerator extends CustomGenerator {
// Generate README
this.fs.copyTpl(path.resolve(__dirname, '../init-template/README.md'), this.destinationPath('README.md'), {});

// Generate HTML template file, copy the default service worker
// Generate HTML template file
this.fs.copyTpl(path.resolve(__dirname, '../init-template/template.html'), this.destinationPath('index.html'), {});

if (this.langType === LangType.ES6) {
Expand Down

0 comments on commit 9100137

Please sign in to comment.