Skip to content

Commit a3d7905

Browse files
committed
refactor: remove tw-animate-css import from index.css
This commit removes the unnecessary `tw-animate-css` import from the `index.css` file to streamline the stylesheet and improve maintainability.
1 parent 09dfe9e commit a3d7905

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

commands/createFrontend.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ export default defineConfig({
151151
try {
152152
const indexCssPath = path.join(rootDir, 'src', 'index.css');
153153
let indexCssContent = fs.readFileSync(indexCssPath, 'utf8');
154-
154+
155155
// Remove the tw-animate-css import if it exists
156156
indexCssContent = indexCssContent.replace('@import "tw-animate-css";', '');
157-
157+
158158
// Write the cleaned content back
159159
fs.writeFileSync(indexCssPath, indexCssContent);
160160
console.log('✅ index.css cleaned up.');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mern-project-cli",
3-
"version": "2.1.7",
3+
"version": "2.1.8",
44
"description": "A developer-friendly CLI tool that streamlines MERN stack development by automating project setup, database configuration, and boilerplate generation by implementing MVC Architecture. Create production-ready MongoDB, Express, React, and Node.js applications with best practices built-in",
55
"main": "index.js",
66
"type": "module",

0 commit comments

Comments
 (0)