Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete unused things #2

Merged
merged 1 commit into from
Oct 3, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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