You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error while building (for either dev or production) when trying to use node:path in the preload.js file to load the icon for the custom title bar.
Problem Description
I get the following error while building (for either dev or production) when trying to use node:path in the preload.js file to load the icon for the custom title bar.
Steps to Reproduce
My code:
Expected Behavior
Icon loads properly in production. Using path does not break the plugin.
Current Behavior
Using path in the icon directory option breaks the plugin and makes builds fail
Additional Information
Using the following hard-coded object property works for dev, but not production:
icon: './assets/images/window-icon.png',
I'm using React BTW.
The text was updated successfully, but these errors were encountered: