- except
- supertest
- rewirte
- mocha
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
entry: './src/js/app.js', | |
output: { | |
path: __dirname+'/dist', | |
filename: 'bundle.js' | |
}, | |
module:{ | |
loaders: [ | |
{test: /\.css$/, loader: "style-loader!css-loader"}, | |
{test: /\.js$/, loader: 'babel-loader', exclude: /node_modules/, query:{presets:['es2015']}} |
In your command-line run the following commands:
brew doctor
brew update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// index.js | |
ReactDOM.render(<App /> , document.getElementById('root')) | |
if (module.hot) { | |
module.hot.accept('./App', () => { | |
ReactDOM.render(<App />, document.getElementById('root')) | |
}) | |
} | |
// store.js |