Skip to content

Commit

Permalink
finalizing distributing
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksiy Ivasyuv committed Apr 5, 2016
1 parent 5f0297f commit cfca492
Show file tree
Hide file tree
Showing 24 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"icon": "build/icon.icns",
"icon-size": 80,
"background": "build/background.png",
"ignore": "bundle.js.map",
"contents": [
{
"x": 410,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions app/context/Player.js → src/context/Player.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ class Player {
this.player = null;

this.state = {
isPlaying: false,
currentTrack: null
isPlaying: false
};

this.store = window._store;
Expand Down
File renamed without changes.
File renamed without changes.
10 changes: 8 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
var webpack = require('webpack');
var fs = require('fs');
var path = require('path');

var nodeModules = {};
fs.readdirSync('node_modules')
Expand All @@ -19,12 +20,17 @@ fs.readdirSync('app/node_modules')
});

module.exports = {
entry: './app/app.js',
entry: './src/app.js',
output: {
filename: './app/bundle.js'
},
target: 'electron',
devtool: 'source-map',
resolve: {
root: [
path.resolve('./app/node_modules')
]
},
module: {
loaders: [
{
Expand All @@ -50,7 +56,7 @@ module.exports = {
]
},
sassLoader: {
includePaths: ['app/assets']
includePaths: ['src/assets']
},
externals: [nodeModules]
};

0 comments on commit cfca492

Please sign in to comment.