-
Notifications
You must be signed in to change notification settings - Fork 1
/
xclap.js
40 lines (28 loc) · 1018 Bytes
/
xclap.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* Tell Electrode app archetype that you want to use ES6 syntax in your server code
*/
process.env.SERVER_ES6 = true;
/*
* Enable webpack's NodeSourcePlugin to simulate NodeJS libs in browser
*/
// process.env.ENABLE_NODESOURCE_PLUGIN = true;
/*
* Use PhantomJS to run your Karma Unit tests. Default is "chrome" (Chrome Headless)
*/
// process.env.KARMA_BROWSER = "phantomjs";
/*
* Turn off using electrode-webpack-reporter to show visual report of your webpack
* compile results when running in dev mode with `clap dev`
*/
// process.env.HTML_WEBPACK_REPORTER_OFF = true;
/*
* Use a custom host name instead of localhost, and a diff port instead of 2992
* for webpack dev server when running in dev mode with `clap dev`
*/
// process.env.WEBPACK_DEV_HOST = "dev.mymachine.net";
// process.env.WEBPACK_DEV_PORT = 8100;
/*
* Enable HTTPS for webpack dev server when running in dev mode with `clap dev`
*/
// process.env.WEBPACK_DEV_HTTPS = true;
require("electrode-archetype-react-app")();