Necessary stuff for building
parent
55c2003a39
commit
0ee4548e68
|
@ -1,2 +1,3 @@
|
|||
node_modules/*
|
||||
Bloodhound-*
|
||||
Bloodhound-*
|
||||
dist/
|
|
@ -5,7 +5,8 @@
|
|||
"main": "main.js",
|
||||
"scripts": {
|
||||
"start": "set ENV=development & electron .",
|
||||
"server": "babel-node server.js"
|
||||
"server": "babel-node server.js",
|
||||
"build": "webpack --config webpack.config.production.js && electron-packager . Bloodhound --platform=all --arch=all --overwrite"
|
||||
},
|
||||
"babel": {
|
||||
"presets": [
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
var config = require('./webpack.config.development.js');
|
||||
config.entry.shift();
|
||||
config.plugins.shift();
|
||||
config.output.publicPath = './dist/';
|
||||
module.exports = config;
|
Loading…
Reference in New Issue