mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Get a basic dev mode working
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
a24daa3a73
commit
d3f28c7b5f
15 files changed
+28
-136
No files matched your search
@@ -3,7 +3,6 @@
|
||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||
*/
|
||||
|
||||
import assert from "assert";
|
||||
import path from "path";
|
||||
import packageInfo from "../package.json";
|
||||
|
||||
@@ -20,6 +19,3 @@ export const appName = isDevelopment
|
||||
export const htmlTemplate = path.resolve(rendererDir, "template.html");
|
||||
export const publicPath = "/build/";
|
||||
export const sassCommonVars = path.resolve(rendererDir, "components/vars.scss");
|
||||
export const webpackDevServerPort = Number(process.env.WEBPACK_DEV_SERVER_PORT) || 9191;
|
||||
|
||||
assert(Number.isInteger(webpackDevServerPort), "WEBPACK_DEV_SERVER_PORT environment variable must only be an integer");
|
||||
Reference in new issue
Block a user