-
Notifications
You must be signed in to change notification settings - Fork 6
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
Added Javascript Minifier #44
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
<h1>JavaScript Minifier</h1> | ||
<textarea | ||
v-model="inputCode" | ||
placeholder="Enter your JavaScript code" | ||
class="inputText" | ||
@input="adjustTextarea" | ||
></textarea> | ||
<button @click="minifyCode">Minify</button> | ||
<h2>Minified Code:</h2> | ||
<p class="minifiedOutput">{{ minifiedCode }}</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use built-in components
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use this module for reference
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pratyushtiwary kindly check again
Please also add some options to configure minification |
@pratyushtiwary can you please explain this again, I did not get it |
Can you add UI elements so that the user can control how minification is done Checkout the options supported by uglifyjs here For example you can add a checkbox for the following:
|
This pull request adds Javascript minifier and fixes #42