Skip to content

Instantly share code, notes, and snippets.

View eltonjuan's full-sized avatar

Michael Amos eltonjuan

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@eltonjuan
eltonjuan / webpack.config.js
Created October 3, 2017 17:47
sample webpack config
import path from 'path';
import webpack from 'webpack';
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
const isDev = !(process.env.NODE_ENV === 'production');
const analyze = process.argv.includes('--analyze');
const useMocks = process.argv.includes('--mock');
const config = {
mapboxgl.accessToken = 'pk.eyJ1IjoicGV0ZXJxbGl1IiwiYSI6ImpvZmV0UEEifQ._D4bRmVcGfJvo1wjuOpA1g';
var state = {
freePan: true,
sidebarMode: 'query',
startingPosition:[-122.337856, 47.607294],
mode:'walking',
locationString:'seattle',
timeViewZoom:13,
throttleDuration: 500,
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.