Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a looped video backdrop to app using react-native-video. Also in this update: - Fork react-native-video until TheWidlarzGroup/react-native-video/pull/35 - Update WebPack config to handle new module ES6/ES7 transpilation - Add missing ignored module for roman01la/react-native-babel/pull/5 - Add AnyBar plug-in for Webpack - Put project workspace under source control - Update roadmap
- Loading branch information
vhs
committed
May 13, 2015
1 parent
2cdd5b3
commit 2146917
Showing
12 changed files
with
88 additions
and
19 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,6 @@ DerivedData | |
*.hmap | ||
*.ipa | ||
*.xcuserstate | ||
project.xcworkspace | ||
|
||
# CocoaPods | ||
# | ||
|
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,37 @@ | ||
// Based almost entirely on the configuration included with | ||
// Based on the configuration included with | ||
// https://github.com/roman01la/react-native-babel | ||
// by Roman Liutikov | ||
|
||
var webpack = require("webpack"); | ||
var path = require("path"); | ||
var webpack = require('webpack'); | ||
var path = require('path'); | ||
var AnyBarWebpackPlugin = require('anybar-webpack'); | ||
|
||
module.exports = { | ||
watch: true, | ||
entry: path.join(__dirname, "/src/main.es6"), | ||
externals: [require("./ignored-modules")], | ||
entry: path.join(__dirname, '/src/main.es6'), | ||
module: { | ||
loaders: [ | ||
{ | ||
test: /\.(js|jsx|es6)$/, | ||
exclude: /node_modules/, | ||
loaders: ["babel-loader?optional=runtime"] | ||
loaders: ['babel-loader?optional=runtime'] | ||
}, | ||
{ | ||
test: /\.js$/, | ||
include: /node_modules\/react-native-video/, | ||
loaders: ['babel-loader?optional=es7.objectRestSpread'] | ||
} | ||
] | ||
}, | ||
plugins: [new webpack.NoErrorsPlugin()], | ||
resolve: { extensions: ["", ".js", ".jsx", ".es6"] }, | ||
output: { | ||
path: path.join(__dirname, "/"), | ||
filename: "index.ios.js", | ||
libraryTarget: "commonjs" | ||
} | ||
path: path.join(__dirname, '/'), | ||
filename: 'index.ios.js', | ||
libraryTarget: 'commonjs' | ||
}, | ||
externals: [require('./ignored-modules')], | ||
resolve: { extensions: ['', '.js', '.jsx', '.es6'] }, | ||
plugins: [ | ||
new webpack.NoErrorsPlugin(), | ||
new AnyBarWebpackPlugin() | ||
], | ||
}; |