mirror of https://github.com/status-im/chat.git
add some build optimizations
This commit is contained in:
parent
99c9a4ee3b
commit
9a3eff3e7c
|
@ -36,6 +36,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "react-scripts start",
|
"start": "react-scripts start",
|
||||||
"build": "react-scripts build",
|
"build": "react-scripts build",
|
||||||
|
"build-opt": "react-scripts --max_old_space_size=4096 build",
|
||||||
"test": "react-scripts test",
|
"test": "react-scripts test",
|
||||||
"eject": "react-scripts eject"
|
"eject": "react-scripts eject"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import Home from './components/Home'
|
import Home from './components/Home'
|
||||||
import logo from './logo.svg';
|
import logo from './logo.svg';
|
||||||
import './App.css';
|
|
||||||
|
|
||||||
class App extends Component {
|
class App extends Component {
|
||||||
render() {
|
render() {
|
||||||
|
|
|
@ -16,8 +16,6 @@ import ChatHeader from './ChatHeader';
|
||||||
import Userlist from './Userlist';
|
import Userlist from './Userlist';
|
||||||
import { uploadFileAndSend } from '../utils/ipfs';
|
import { uploadFileAndSend } from '../utils/ipfs';
|
||||||
|
|
||||||
import 'emoji-mart/css/emoji-mart.css';
|
|
||||||
|
|
||||||
class WhoIsTyping extends PureComponent {
|
class WhoIsTyping extends PureComponent {
|
||||||
|
|
||||||
whoIsTyping() {
|
whoIsTyping() {
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import ReactDOM from 'react-dom';
|
import ReactDOM from 'react-dom';
|
||||||
import './index.css';
|
|
||||||
import App from './App';
|
import App from './App';
|
||||||
import * as serviceWorker from './serviceWorker';
|
import * as serviceWorker from './serviceWorker';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue