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
{{ message }}
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.
How do we use electron-prebuilt-compile in tandem with create-react-app? I assume we do not build our project (nor use the build folder with react-scripts) since electron-prebuilt-compile will handle any ES6, React, LESS, etc. transpilation.
A couple notes about my current project:
I have electron-prebuilt-compile in my dependencies.
My app works but in development but in production (compiling using electron-builder --dir) results in this error:
This leads me to believe that electron-builder is not using electron-prebuilt-compile when compiling the app, hence the error on the import keyword. Issues #73 & #74 are related to this.
I feel as i am missing maybe some extra configuration to remove this error.
Hi everyone,
How do we use electron-prebuilt-compile in tandem with create-react-app? I assume we do not build our project (nor use the
build
folder withreact-scripts
) since electron-prebuilt-compile will handle any ES6, React, LESS, etc. transpilation.A couple notes about my current project:
I have
electron-prebuilt-compile
in my dependencies.My app works but in development but in production (compiling using electron-builder --dir) results in this error:
This leads me to believe that electron-builder is not using electron-prebuilt-compile when compiling the app, hence the error on the
import
keyword. Issues #73 & #74 are related to this.I feel as i am missing maybe some extra configuration to remove this error.
The following is my package.json:
The text was updated successfully, but these errors were encountered: