Skip to content

Instantly share code, notes, and snippets.

View feekosta's full-sized avatar
:octocat:

Felipe de Souza da Costa feekosta

:octocat:
View GitHub Profile
@feekosta
feekosta / .babelrc
Last active September 3, 2019 00:48
babel 7 presets config for react
{
"presets": ["@babel/preset-env", "@babel/preset-react"]
}
@feekosta
feekosta / webpack.config.js
Last active September 3, 2019 00:44
"webpack": "^4.39.3" config for "@babel/core": "^7.5.5", "babel-loader": "^8.0.6" and "react": "^16.9.0"
const path = require('path');
module.exports = {
entry: path.resolve(__dirname, 'src') + '/app/index.js',
output: {
path: path.resolve(__dirname, 'dist') + '/app',
filename: 'bundle.js',
publicPath: '/app/'
},
module: {