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
const path = require('path'); | |
const webpack = require('webpack'); | |
const validate = require('webpack-validator'); | |
const merge = require('webpack-merge'); | |
const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const CleanWebpackPlugin = require('clean-webpack-plugin'); | |
const CopyWebpackPlugin = require('copy-webpack-plugin'); | |
// ENV Variables |
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
System.config({ | |
defaultJSExtensions: true, | |
transpiler: "babel", | |
babelOptions: { | |
"blacklist": [], | |
"optional": [ | |
"runtime", | |
"optimisation.modules.system" | |
] | |
}, |
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
'use strict' | |
/************************************ | |
* Configure build directory structure | |
************************************/ | |
const buildDir = './dist'; | |
const staticAssetsDir = `${buildDir}/static`; | |
const cssDir = `${staticAssetsDir}/css`; | |
const jsDir = `${staticAssetsDir}/js`; | |
const imgDir = `${staticAssetsDir}/img`; |
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
{ | |
"link_template": "http://api.rottentomatoes.com/api/public/v1.0/lists/dvds/top_rentals.json?limit={num-results}&country={country-code}", | |
"links": { | |
"alternate": "http://www.rottentomatoes.com/dvd/top_rentals", | |
"self": "http://api.rottentomatoes.com/api/public/v1.0/lists/dvds/top_rentals.json?limit=20&country=us" | |
}, | |
"movies": [ | |
{ | |
"abridged_cast": [ | |
{ |
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
{ | |
"link_template": "http://api.rottentomatoes.com/api/public/v1.0/lists/movies/box_office.json?limit={num-results}&country={country-code}", | |
"links": { | |
"alternate": "http://www.rottentomatoes.com/movie/box-office/", | |
"self": "http://api.rottentomatoes.com/api/public/v1.0/lists/movies/box_office.json?limit=20&country=us" | |
}, | |
"movies": [ | |
{ | |
"abridged_cast": [ | |
{ |
NewerOlder