|
|
@ -22,10 +22,11 @@ import './styles/application.scss';
|
|
|
|
import './styles/tailwind.css';
|
|
|
|
import './styles/tailwind.css';
|
|
|
|
|
|
|
|
|
|
|
|
import './precheck';
|
|
|
|
import './precheck';
|
|
|
|
import { default as Soapbox } from './containers/soapbox';
|
|
|
|
|
|
|
|
import ready from './ready';
|
|
|
|
import ready from './ready';
|
|
|
|
import { registerSW } from './utils/sw';
|
|
|
|
import { registerSW } from './utils/sw';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const Soapbox = React.lazy(() => import('./containers/soapbox'));
|
|
|
|
|
|
|
|
|
|
|
|
if (BuildConfig.NODE_ENV === 'production') {
|
|
|
|
if (BuildConfig.NODE_ENV === 'production') {
|
|
|
|
printConsoleWarning();
|
|
|
|
printConsoleWarning();
|
|
|
|
registerSW('/sw.js');
|
|
|
|
registerSW('/sw.js');
|
|
|
|