react-bundle-builder
v0.6.4
Published
React Bundle Builder
Downloads
13
Readme
react-bundle-builder 0.6.3
Installation
project:
npm install react-bundle-builder --save-dev
global:
npm install react-bundle-builder -g
Commands
t, test Test App
-w, --watch Enable watching files
b, build Build App
s, serve Serve App
-H, --hmr Use Hot Module Reload(experimental)
-o, --open Open browser
-i, --iframe Open iframe in browser
-l, --lint Use linter
u, upload Upload App to S3
Configuration
builder.config.coffee
in current working directory
module.exports = ->
input: [__dirname, 'src']
output: [__dirname, 'dist']
alias:
AliasTest: [__dirname, 'alias_test']
variables: ['APP_ENV']
.env.development
or pass BUILDER_ENV to use specific .env.%BUILDER_ENV% file
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_S3_BUCKET=
AWS_S3_BUCKET_KEY=/
AWS_S3_REGION=us-west-1
APP_ENV=development