-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.neutrinorc.js
41 lines (40 loc) · 1.01 KB
/
.neutrinorc.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
41
const path = require("path");
module.exports = {
use: [
[
'@neutrinojs/react',
{
html: { title: "Veritone Sample App" },
devServer: {
public: "local.veritone-sample-app.com",
open: false, // open browser window when server starts
port: 3000,
publicPath: "/",
proxy: {
"/auth": {
"target": "http://local.veritone-sample-app.com:9000"
}
}
}
}
],
[
"neutrino-middleware-styles-loader",
{
cssModules: true,
extractCSS: true,
sourceMap: true,
minimize: true
}
],
neutrino =>
neutrino.config.resolve.alias
.set("redux-api-middleware", "redux-api-middleware-fixed")
.set("modules", path.join(__dirname, "src/modules"))
.set(
"shared-components",
path.join(__dirname, "src/shared-components")
),
neutrino => neutrino.config.devtool("cheap-module-source-map")
]
};