Refactor webpack configuration to include multiple entry points for index and terms pages. Remove SSR script and update package dependencies for improved build process. Add terms.html as a static page with appropriate styles and metadata.
platform/bro-js/bro.landing/pipeline/head This commit looks good

This commit is contained in:
Primakov Alexandr Alexandrovich
2025-10-24 13:23:31 +03:00
parent 3b997a18e2
commit 6e55a331cb
8 changed files with 324 additions and 2397 deletions
+1 -13
View File
@@ -13,7 +13,7 @@
"test": "jest --coverage",
"start": "brojs server --port=8099 --with-open-browser",
"build": "npm run clean && brojs build --dev",
"build:prod": "npm run clean && brojs build && node scripts/ssr-render.js"
"build:prod": "npm run clean && brojs build"
},
"keywords": [],
"author": "",
@@ -22,10 +22,7 @@
"@babel/preset-typescript": "7.24.7",
"@brojs/cli": "1.9.5",
"@chakra-ui/icons": "^2.1.1",
"@chakra-ui/react": "^2.8.2",
"@emotion/css": "^11.13.0",
"@emotion/react": "^11.13.0",
"@emotion/styled": "^11.13.0",
"@reduxjs/toolkit": "^2.2.6",
"dayjs": "^1.11.12",
"express": "^4.19.2",
@@ -36,28 +33,19 @@
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-helmet": "^6.1.0",
"react-i18next": "^15.0.0",
"react-redux": "^9.1.2",
"react-router-dom": "^6.25.1",
"redux": "^5.0.1"
},
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/preset-env": "^7.28.5",
"@babel/preset-react": "^7.28.5",
"@babel/register": "^7.28.3",
"@emotion/cache": "^11.14.0",
"@emotion/server": "^11.11.0",
"@eslint/js": "^9.9.0",
"@types/jest": "^29.5.12",
"babel-jest": "^29.7.0",
"canvas": "^3.2.0",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
"globals": "^15.9.0",
"happy-dom": "^15.11.7",
"html-webpack-plugin": "^5.6.0",
"jest": "^29.7.0",
"puppeteer": "^24.26.1",