Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(plugin-webpack): prevent the renderer config from overriding its …
…preload config's target (#1853) * fix: override preload script webpack target to electron-preload while merging to create a Webpack config for preload script, made the target from the renderer config ignored and manually set to `electron-preload` * fix: syntax error in ed70861 * chore: lint fix * test: added tests for renderer config with custom target Added 3 tests - Renderer config : generates config with custom target - web - Preload renderer config : generates a production config - Preload renderer config : generates config overriding custom target with 'electron-preload' * Apply suggestions from code review * Update packages/plugin/webpack/test/WebpackConfig_spec.ts Co-authored-by: Mark Lee <malept@users.noreply.github.com>
- Loading branch information