for the Webpack development server.
Normally you would want to only specify this as a
<meta> tag. However, in development mode,
the Webpack plugin uses the
devtool: eval-source-map source map setting for efficiency
purposes. This requires the
'unsafe-eval' source for the
script-src directive that wouldn't
normally be recommended to use. If this value is set, make sure that you keep this
directive-source pair intact if you want to use source maps.
default-src 'self' 'unsafe-inline' data:;
script-src 'self' 'unsafe-eval' 'unsafe-inline' data:
The following options cannot be overridden here:
Instructs webpack to emit a JSON file containing statistics about modules, the dependency
graph, and various other build information for the main process. This file is located in
.webpack/main/stats.json, but is not packaged with your app.
The TCP port for web-multi-logger. Defaults to 9000.
The webpack config for your main process
In the event that webpack has been configured with
devtool: sourcemap (or any other option
which results in
.map files being generated), this option will cause the source map files be
packaged with your app. By default they are not included.
The TCP port for the dev servers. Defaults to 3000.
Electron Forge webpack configuration for your renderer process