Skip to content

Instantly share code, notes, and snippets.

View 3t14's full-sized avatar

Michiru Tanaka 3t14

View GitHub Profile
@3t14
3t14 / webpack.config.js
Created March 1, 2018 07:56
react-native-webでビルドに成功するwebpackの設定ファイル
// web/webpack.config.js
const path = require('path');
const webpack = require('webpack');
const appDirectory = path.resolve(__dirname, '../');
// This is needed for webpack to compile JavaScript.
// Many OSS React Native packages are not compiled to ES5 before being
// published. If you depend on uncompiled packages they may cause webpack build