Skip to content

Instantly share code, notes, and snippets.


José Neto netojose

View GitHub Profile
netojose / webpack.config.js
Created Mar 21, 2018
Webpack config to split css and js files by route and/or component (Webpack 2)
View webpack.config.js
const path = require('path');
module.exports = {
entry: './src/index.jsx',
output: {
path: path.resolve('dist'),
filename: 'assets/js/[name].[hash:12].js',
publicPath: 'http://localhost:8080/'
resolve: {
netojose /
Created Aug 23, 2017
Setup genymotion to access docker
1.Open the commandline and run the following commands to edit the hosts file:
adb root
adb remount
adb pull /system/etc/hosts hosts
2.The hosts file should now be present in the folder where you excecuted the pull command. Edit the file with a text editor and add the sites you want to access. For example i added: