-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
From my understanding of the readme there isn't any information on using a node module in both the front end "web" development and the Electron bundle.
The readme describes using Electron and Node APIs depending on the deployment, and also how to add specific modules for angular by using the --save-dev flag, but it doesn't state the use case of needing the same module in both Electron and in Angular.
Example:
I want to install firebase npm i firebase this will add it to my "dependencies" list.
Now I can import my auth module in node and angular, but I only want analytics in Angular:
# main.ts
import * as auth from "firebase/auth";
# my.compomponent.ts
import * as auth from "firebase/auth";
import * as analytics from "firebase/analytics";
Will this
significantly increase the size of [my] final package
Metadata
Metadata
Assignees
Labels
No labels