File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,11 @@ Be aware that starting Webpack will only compile your files to `dist` folder
51
51
but won't start the Electron app. Use `npm start` command to start your
52
52
Electron app once the files are compiled.
53
53
54
+ __*Starting from `v4.0.0`, you no longer need to manually config your module
55
+ path alias in `webpack.config.js`. All module path alias set in `tsconfig.json`
56
+ will be configured in Webpack automatically thanks to [`tsconfig-paths`] and
57
+ [`tsconfig-paths-webpack-plugin` ].*__
58
+
54
59
## Build your Electron app package
55
60
Different from the official [Electron quick start guide], this boilerplate uses
56
61
[`electron-builder` ] instead of [Electron Forge] to package your Electron app.
@@ -130,6 +135,8 @@ Electron React TypeScript Webpack Boilerplate is open source software
130
135
[`electron-builder`]: https://github.com/electron-userland/electron-builder
131
136
[file an issue]: https://www.electronjs.org
132
137
[`Use this template`]: https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/generate
138
+ [`tsconfig-paths`]: https://github.com/dividab/tsconfig-paths
139
+ [`tsconfig-paths-webpack-plugin`]: https://github.com/dividab/tsconfig-paths-webpack-plugin
133
140
[Electron quick start guide]: https://www.electronjs.org/docs/latest/tutorial/quick-start
134
141
[Electron Forge]: https://github.com/electron-userland/electron-forge
135
142
[`electron-builder`'s document]: https://www.electron.build
You can’t perform that action at this time.
0 commit comments