GitHub user dosubot[bot] added a comment to the discussion: apache superset production deployment
<!-- Answer --> You don't need to deploy the individual plugin build folders. Superset's frontend build process bundles all plugin and core assets into a single output directory: `superset/static/assets` (relative to the root of the repo). After running `npm install` and `npm run build` in `superset-frontend`, copy the contents of `superset/static/assets` from your development environment to the same location in your production environment, overwriting the existing files. This will include your plugin changes in production. The plugin-level build folders are only for development or testing—they are not used for production deployment. If your changes don't show up, try clearing your browser cache or double-checking for build errors or version mismatches. [Reference: webpack.config.js](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/webpack.config.js) <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/7dadfd5f-1517-4fa8-9d3b-5234a9c83a78?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/7dadfd5f-1517-4fa8-9d3b-5234a9c83a78?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/7dadfd5f-1517-4fa8-9d3b-5234a9c83a78?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/7dadfd5f-1517-4fa8-9d3b-5234a9c83a78?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/7dadfd5f-1517-4fa8-9d3b-5234a9c83a78?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/7dadfd5f-1517-4fa8-9d3b-5234a9c83a78?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/7dadfd5f-1517-4fa8-9d3b-5234a9c83a78?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)& nbsp;[](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/34729) GitHub link: https://github.com/apache/superset/discussions/34729#discussioncomment-14137614 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
