kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Make entrypoint extremely small!
rodzic
63b98bff4d
commit
e229c4e2f1
|
@ -22,10 +22,11 @@ import './styles/application.scss';
|
|||
import './styles/tailwind.css';
|
||||
|
||||
import './precheck';
|
||||
import { default as Soapbox } from './containers/soapbox';
|
||||
import ready from './ready';
|
||||
import { registerSW } from './utils/sw';
|
||||
|
||||
const Soapbox = React.lazy(() => import('./containers/soapbox'));
|
||||
|
||||
if (BuildConfig.NODE_ENV === 'production') {
|
||||
printConsoleWarning();
|
||||
registerSW('/sw.js');
|
||||
|
|
Ładowanie…
Reference in New Issue