kristw commented on issue #9187: [SIP-38] Visualization plugin refactoring URL: https://github.com/apache/incubator-superset/issues/9187#issuecomment-600922247 > > Generating MainPreset.js from the configuration file could be another solution as well. > This is essentially what I'm trying to take a step toward. My understanding is that to do that, you'd have to load in an array of plugins/paths from the config (or some state driven by a future UI, even), and then you could then dynamically load those packages and/or paths. This is what that other WiP PR is taking a stab at. What do you think if the `MainPreset.js` generation happen as part of `webpack` build or some build script, so the app remains unaffected and can treat `MainPreset.js` as a regular file?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
