Skip to content

Commit

Permalink
make the project more publishable to IPFS; #7
Browse files Browse the repository at this point in the history
  • Loading branch information
hobofan committed Sep 12, 2016
1 parent 33da837 commit b72f20c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions build/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ if (__DEV__) {
webpackConfig.plugins.push(
new webpack.optimize.OccurrenceOrderPlugin(),
new webpack.optimize.DedupePlugin(),
new webpack.optimize.UglifyJsPlugin({
compress: {
unused: true,
dead_code: true,
warnings: false
}
})
// new webpack.optimize.UglifyJsPlugin({
// compress: {
// unused: true,
// dead_code: true,
// warnings: false
// }
// })
)
}

Expand Down
2 changes: 1 addition & 1 deletion config/environments.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default {
// Overrides when NODE_ENV === 'production'
// ======================================================
production: (config) => ({
compiler_public_path: '/',
compiler_public_path: '',
compiler_fail_on_warning: false,
compiler_hash_type: 'chunkhash',
compiler_devtool: null,
Expand Down
2 changes: 1 addition & 1 deletion config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const config = {
compiler_hash_type : 'hash',
compiler_fail_on_warning : false,
compiler_quiet : false,
compiler_public_path : '/',
compiler_public_path : '',
compiler_stats : {
chunks : false,
chunkModules : false,
Expand Down
2 changes: 1 addition & 1 deletion src/components/Wikidata/Claim.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import LinearProgress from 'material-ui/LinearProgress';

// import classes from './Claim.scss'

export class Claim extends React.Component {
class Claim extends React.Component {
render() {
const entities = this.props.entities;
const main_property = this.props.claims[0].mainsnak.property;
Expand Down

0 comments on commit b72f20c

Please sign in to comment.