-
Notifications
You must be signed in to change notification settings - Fork 31
Add #define #57
Copy link
Copy link
Open
Description
I'm trying to figure out how to build a "full" and "lite" version from the same codebase with one webpack config file.
If #define was supported, I could have two entry files, app.js and app-lite.js, with the latter starting #define LITE 1. This would then be used with #if etc. to slim down the build.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels