Skip to content

Commit

Permalink
Add missing mode
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikra committed Mar 23, 2018
1 parent ce09420 commit 911d01a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -5,7 +5,7 @@
"main": "MMM-awesome-alexa.js",
"scripts": {
"build": "webpack --progress --profile --bail --display-error-details",
"dev": "npm run build -- --watch",
"dev": "npm run build -- --watch --mode development",
"test": "npm run lint",
"electron-rebuild": "electron-rebuild --pre-gyp-fix",
"lint": "tslint --project .",
Expand Down
2 changes: 2 additions & 0 deletions webpack.config.js
Expand Up @@ -2,6 +2,7 @@ const nodeExternals = require("webpack-node-externals");
const path = require("path");

const clientConfig = {
mode: "production",
entry: "./src/renderer/MMM-awesome-alexa.ts",
output: {
path: __dirname,
Expand All @@ -24,6 +25,7 @@ const clientConfig = {
};
const serverConfig = {
target: "node",
mode: "production",
externals: [nodeExternals(), "node_helper"],
entry: "./src/main/index.ts",
output: {
Expand Down

1 comment on commit 911d01a

@oORamonOo
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which mode missing? Streaming service?

Please sign in to comment.