Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulyadav-57 committed Feb 21, 2025
1 parent 5efe9f3 commit 5c8bc61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion webpack/webpack.common.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default {
modules: {
namedExport: false,
localIdentName: "[name]__[local]--[hash:base64:5]",
exportLocalsConvention: "as-is"
exportLocalsConvention: "as-is",
},
},
},
Expand Down
11 changes: 4 additions & 7 deletions webpack/webpack.dev.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ const COLORS = {

async function getAvailablePort() {
const availablePort = await detectPort(DEFAULT_PORT);

if (availablePort !== DEFAULT_PORT) {
console.log(
`${COLORS.yellow}⚠️ Port ${DEFAULT_PORT} is occupied. Using available port ${availablePort} instead.${COLORS.reset}`
`${COLORS.yellow}⚠️ Port ${DEFAULT_PORT} is occupied. Using available port ${availablePort} instead.${COLORS.reset}`,
);
}

Expand Down Expand Up @@ -48,11 +48,8 @@ const devConfig = async () => {
removeEmptyChunks: false,
splitChunks: false,
},
plugins: [
new ReactRefreshWebpackPlugin(),
],
plugins: [new ReactRefreshWebpackPlugin()],
});
}

};

export default devConfig;

0 comments on commit 5c8bc61

Please sign in to comment.