Skip to content

Commit d028ee7

Browse files
authored
Updated Target Resources with Newer Examples
Removed the example of a Webpack setup for building to both electron and web because it uses an old plugin for electron-renderer support even though Webpack has native support for target. Added example boilerplate which contains good examples of configuration files for both electron-main and electron-renderer
1 parent 13edf42 commit d028ee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/concepts/targets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ The example above will create a `lib.js` and `lib.node.js` file in your `dist` f
6565
As seen from the options above there are multiple different deployment _targets_ that you can choose from. Below is a list of examples, and resources that you can refer to.
6666

6767
* **[compare-webpack-target-bundles](https://github.com/TheLarkInn/compare-webpack-target-bundles)**: A great resource for testing and viewing different webpack _targets_. Also great for bug reporting.
68-
* **[Build to both electron.js and browser targets using webpack](https://medium.com/@ad_harmonium/build-to-both-electron-js-and-browser-targets-using-webpack-59266bdb76a)**: An example of a build process using multiple deployment targets with electron and web.
68+
* **[Boilerplate of Electron-React Application](https://github.com/chentsulin/electron-react-boilerplate)**: A good example of a build process for electron's main process and renderer process.
6969

7070
?> Need to find up to date examples of these webpack targets being used in live code or boilerplates.

0 commit comments

Comments
 (0)