-
-
Notifications
You must be signed in to change notification settings - Fork 520
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): preload race condition (#3353)
* add plugin * add unique identifier to entries with their own preload config * clean up * why did i add this * rename var
- Loading branch information
1 parent
3cc261a
commit d7d926d
Showing
3 changed files
with
44 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
packages/plugin/webpack/src/util/EntryPointPreloadPlugin.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { PluginBase } from '@electron-forge/plugin-base'; | ||
|
||
import { EntryPointPluginConfig } from '../Config'; | ||
|
||
export default class EntryPointPreloadPlugin extends PluginBase<EntryPointPluginConfig> { | ||
name = this.config.name; | ||
apply() { | ||
// noop | ||
} | ||
} |