add some build optimizations

This commit is contained in:
Barry Gitarts 2019-01-31 16:39:06 -05:00
parent 99c9a4ee3b
commit 9a3eff3e7c
4 changed files with 1 additions and 4 deletions

View File

@ -36,6 +36,7 @@
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"build-opt": "react-scripts --max_old_space_size=4096 build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},

View File

@ -1,7 +1,6 @@
import React, { Component } from 'react';
import Home from './components/Home'
import logo from './logo.svg';
import './App.css';
class App extends Component {
render() {

View File

@ -16,8 +16,6 @@ import ChatHeader from './ChatHeader';
import Userlist from './Userlist';
import { uploadFileAndSend } from '../utils/ipfs';
import 'emoji-mart/css/emoji-mart.css';
class WhoIsTyping extends PureComponent {
whoIsTyping() {

View File

@ -1,6 +1,5 @@
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import * as serviceWorker from './serviceWorker';