Skip to content

Instantly share code, notes, and snippets.

View tkreis's full-sized avatar
🏁

Thomas tkreis

🏁
View GitHub Profile
@tkreis
tkreis / gist:4ed41b93bfc8c74ceb48f50e8a2c7a22
Created March 19, 2018 10:25
Polyfill.io and ios webview error
using polyfill.io with the `unknown=polyfil` and with out `flags=gated` breaks react.
Following the installation for both of those packages on react native causes problems, since one is removing the framework path of the other.
Framework Search params should look like this: https://imgur.com/a/09Mam
https://github.com/invertase/react-native-firebase
https://github.com/facebook/react-native-fbsdk
@tkreis
tkreis / config-overrides.js
Created October 24, 2019 10:49
How to get less loading with react-app-rewire
const webpack = require('webpack');
const externals = require('./config-externals');
const packageJson = require('./package.json');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
module.exports = {
// The Webpack config to use when compiling your react app for development or production.
webpack: function(config, env) {