Skip to content

Refactor rollup configuration to use modern plugins and improve struc…#14

Open
vamshikiran065-jpg wants to merge 1 commit intooppia:masterfrom
vamshikiran065-jpg:patch-1
Open

Refactor rollup configuration to use modern plugins and improve struc…#14
vamshikiran065-jpg wants to merge 1 commit intooppia:masterfrom
vamshikiran065-jpg:patch-1

Conversation

@vamshikiran065-jpg
Copy link
Copy Markdown

…ture

Overview

This PR updates the Rollup configuration to use maintained plugins and improves code readability.

Changes Made

  • Replaced deprecated plugins with official Rollup plugins
  • Simplified environment-based output logic
  • Updated Babel configuration to modern standards
  • Replaced uglify with terser for better minification
  • Improved overall code structure and formatting

Why is this change needed?

These updates ensure better maintainability, compatibility with modern tooling, and improved build performance.

Overview

  1. This PR fixes or fixes part of #[fill_in_number_here][(fill_in_the_issue_link)].
  2. This PR does the following: [Explain here what your PR does and why]
  3. (For bug-fixing PRs only) The original bug occurred because: [Explain what
    the cause of the bug was, and which PR introduced it]

Essential Checklist

  • The PR title starts with "Fix #bugnum: " or "Fix part of #bugnum: ...", followed by a short, clear summary of the changes.
  • I have followed the build process and "verifying your changes" section mentioned in the readme file.
  • I have followed the instructions for making a code change.
  • I have assigned the correct reviewers to this PR (or will leave a comment with the phrase "@{{reviewer_username}} PTAL" if I don't have permissions to assign reviewers directly).
  • The linter/Karma presubmit checks pass on my local machine, and my PR follows the coding style guide).
  • "Allow edits from maintainers" is checked. (See here for instructions on how to enable it.)

Proof that changes are correct

PR Pointers

…ture

## Overview
This PR updates the Rollup configuration to use maintained plugins and improves code readability.

## Changes Made
- Replaced deprecated plugins with official Rollup plugins
- Simplified environment-based output logic
- Updated Babel configuration to modern standards
- Replaced uglify with terser for better minification
- Improved overall code structure and formatting

## Why is this change needed?
These updates ensure better maintainability, compatibility with modern tooling, and improved build performance.
Copy link
Copy Markdown
Author

@vamshikiran065-jpg vamshikiran065-jpg left a comment

Choose a reason for hiding this comment

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

Added the required change for this issue. Kindly review and let me know if any modifications are needed.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant