Skip to content

Commit

Permalink
Disable service worker for offline use
Browse files Browse the repository at this point in the history
This feature is still in flux, by the time TMA is ready to launch this
feature will likely have a new implementation. Re:
facebook/create-react-app#2638
facebook/create-react-app#2398
  • Loading branch information
mfogel committed Nov 5, 2017
1 parent 4e70751 commit 6ba72b0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 111 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"build": "react-scripts build; rm build/service-worker.js",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
}
Expand Down
2 changes: 0 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@ import React from 'react'
import ReactDOM from 'react-dom'
import './index.css'
import App from './App'
import registerServiceWorker from './registerServiceWorker'

ReactDOM.render(<App />, document.getElementById('root'))
registerServiceWorker()
108 changes: 0 additions & 108 deletions src/registerServiceWorker.js

This file was deleted.

0 comments on commit 6ba72b0

Please sign in to comment.