Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(devtool): Ability to pass custom devtool option to config #2063

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

adonispuente
Copy link
Contributor

@adonispuente adonispuente commented Sep 12, 2024

Because apps now use fec as the default config, I want to add the ability to pass in a devtool option. With this we can pass in 'hidden-source-map' for apps that will use sentry. Eventually I want this to just be the default value but I want to use advisor as a test application first.
Now that more of the sentry efforts are unblocked this can move along much faster.

RedHatInsights/insights-advisor-frontend#1268 related PR

@Hyperkid123 Hyperkid123 added the release Once merged it will trigger bugfix release label Sep 16, 2024
@@ -117,7 +119,7 @@ export const createConfig = ({
const devServerPort = typeof port === 'number' ? port : useProxy || standalone ? 1337 : 8002;
return {
mode: mode || (isProd ? 'production' : 'development'),
devtool: false,
devtool: devtool || false,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default value is set in the argument now you can simply use devtool: devtool, or just devtool,.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got a bit too caught up in the meeting, thank you!

@Hyperkid123 Hyperkid123 merged commit 9734e19 into RedHatInsights:master Sep 18, 2024
1 check passed
@nacho-bot
Copy link
Collaborator

                      :soon::shipit::octocat:
     :bug:Shipit Squirrel has this release bugfix surrounded, be ready for a new version:beetle:

@nacho-bot
Copy link
Collaborator

     🌱 🌸 🌷 🌻 🌟 New version of package has been released 🌟 🌻 🌷 🌸 🌱

                The release is available on:

        :package:@redhat-cloud-services/frontend-components-config/v/6.2.9📦

             :boom:This feature is brought to you by probot🚀

@nacho-bot nacho-bot added the released Pr has been released label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Once merged it will trigger bugfix release released Pr has been released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants