Skip to content

Commit

Permalink
Merge pull request #2 from spartansystems/feature-cleanup
Browse files Browse the repository at this point in the history
Delete unused things
  • Loading branch information
bbrock25 authored Oct 3, 2016
2 parents e4256e7 + 5230834 commit 8a56e71
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 107 deletions.
11 changes: 0 additions & 11 deletions js/components/Button/component.js

This file was deleted.

3 changes: 0 additions & 3 deletions js/components/Button/index.js

This file was deleted.

5 changes: 0 additions & 5 deletions js/components/Button/styles.css

This file was deleted.

21 changes: 0 additions & 21 deletions js/components/Root.js

This file was deleted.

10 changes: 0 additions & 10 deletions js/data.js

This file was deleted.

35 changes: 0 additions & 35 deletions js/entry.js

This file was deleted.

13 changes: 0 additions & 13 deletions js/pages/Links.js

This file was deleted.

3 changes: 2 additions & 1 deletion js/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ import ReactDOMServer from 'react-dom/server'
import { Router, RouterContext, match, createMemoryHistory, browserHistory } from 'react-router'

import routes from './routes'
import Main from './pages/Main'
import template from './template'

import Main from './pages/Main'

if (typeof document !== 'undefined') {

const outlet = document.getElementById('outlet');
Expand Down
11 changes: 3 additions & 8 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
var StaticSiteGeneratorPlugin = require('static-site-generator-webpack-plugin')
var ExtractTextPlugin = require('extract-text-webpack-plugin')

var data = require('./js/data')
const paths = ['/', '/about/']
const scope = {
window: {}
}

var precss = require('precss');
var autoprefixer = require('autoprefixer');

const paths = ['/', '/about/']

module.exports = {
entry: {
'main': './js/router.js'
Expand All @@ -26,7 +21,7 @@ module.exports = {

plugins: [
new ExtractTextPlugin('styles.css'),
new StaticSiteGeneratorPlugin('main', paths, { greet: 'Hello' }, scope)
new StaticSiteGeneratorPlugin('main', paths, { greet: 'Hello' })
],

module: {
Expand Down

0 comments on commit 8a56e71

Please sign in to comment.