Skip to content

Commit 9100137

Browse files
authored
fix: use worker from plugin and remove default (#2340)
1 parent 91fc166 commit 9100137

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

packages/generators/init-template/sw.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

packages/generators/src/init-generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ export default class InitGenerator extends CustomGenerator {
264264
// Generate README
265265
this.fs.copyTpl(path.resolve(__dirname, '../init-template/README.md'), this.destinationPath('README.md'), {});
266266

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

270270
if (this.langType === LangType.ES6) {

0 commit comments

Comments
 (0)