❔ Question
Hi, I am new to parcel, and I was wondering if there was a way to build with parcel and target for electron-renderer? I saw that there is a target electron, but it removed all the node_modules and then my app does not work anymore?
🔦 Context
I need build for electron-renderer/electron to be able to do:
import { ipcRenderer } from 'electron';
I need access to this in my react app. Parcel worked perfectly to target the browser, but I can't completely switch to parcel until I can build both electron and web apps with it.
I saw that #1690, which looks like it might be the solution to my problem?
because now, when I build with target electron, I get react not found.
Thanks for your help
💻 Code Sample
🌍 Your Environment
| Software |
Version(s) |
| Parcel |
1.9.7 |
| Node |
|
| npm/Yarn |
|
| Operating System |
|
❔ Question
Hi, I am new to parcel, and I was wondering if there was a way to build with parcel and target for electron-renderer? I saw that there is a target electron, but it removed all the node_modules and then my app does not work anymore?
🔦 Context
I need build for electron-renderer/electron to be able to do:
I need access to this in my react app. Parcel worked perfectly to target the browser, but I can't completely switch to parcel until I can build both electron and web apps with it.
I saw that #1690, which looks like it might be the solution to my problem?
because now, when I build with target electron, I get react not found.
Thanks for your help
💻 Code Sample
🌍 Your Environment