mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2025-04-19 06:08:07 -06:00
Merge pull request #111 from aleleba/PR-415815
Some checks failed
Main Workflow / unit-front-end-testing (push) Failing after 1m56s
Main Workflow / cypress-components-testing (push) Failing after 1m54s
Main Workflow / end-to-end-testing (push) Failing after 1m2s
Main Workflow / test-build-package (push) Has been skipped
Main Workflow / publish-npm (push) Has been skipped
Some checks failed
Main Workflow / unit-front-end-testing (push) Failing after 1m56s
Main Workflow / cypress-components-testing (push) Failing after 1m54s
Main Workflow / end-to-end-testing (push) Failing after 1m2s
Main Workflow / test-build-package (push) Has been skipped
Main Workflow / publish-npm (push) Has been skipped
PR-415815: fixing webpack build.
This commit is contained in:
commit
4ca7a5a191
1
.github/workflows/main-workflow.yml
vendored
1
.github/workflows/main-workflow.yml
vendored
@ -46,6 +46,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
PORT: 3000
|
||||
PUBLIC_URL: /
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
18
package-lock.json
generated
18
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@aleleba/create-react-ssr",
|
||||
"version": "3.9.32",
|
||||
"version": "3.9.33",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@aleleba/create-react-ssr",
|
||||
"version": "3.9.32",
|
||||
"version": "3.9.33",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@babel/register": "^7.25.9",
|
||||
@ -53,7 +53,7 @@
|
||||
"@testing-library/react": "^16.3.0",
|
||||
"@testing-library/user-event": "^14.6.1",
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/node": "^22.14.0",
|
||||
"@types/node": "^22.14.1",
|
||||
"@types/react": "^19.1.1",
|
||||
"@types/react-dom": "^19.1.2",
|
||||
"@types/webpack": "^5.28.5",
|
||||
@ -4333,9 +4333,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "22.14.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.14.0.tgz",
|
||||
"integrity": "sha512-Kmpl+z84ILoG+3T/zQFyAJsU6EPTmOCj8/2+83fSN6djd6I4o7uOuGIH6vq3PrjY5BGitSbFuMN18j3iknubbA==",
|
||||
"version": "22.14.1",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.14.1.tgz",
|
||||
"integrity": "sha512-u0HuPQwe/dHrItgHHpmw3N2fYCR6x4ivMNbPHRkBVP4CvN+kiRrKHWk3i8tXiO/joPwXLMYvF9TTF0eqgHIuOw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"undici-types": "~6.21.0"
|
||||
@ -22158,9 +22158,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"@types/node": {
|
||||
"version": "22.14.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.14.0.tgz",
|
||||
"integrity": "sha512-Kmpl+z84ILoG+3T/zQFyAJsU6EPTmOCj8/2+83fSN6djd6I4o7uOuGIH6vq3PrjY5BGitSbFuMN18j3iknubbA==",
|
||||
"version": "22.14.1",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.14.1.tgz",
|
||||
"integrity": "sha512-u0HuPQwe/dHrItgHHpmw3N2fYCR6x4ivMNbPHRkBVP4CvN+kiRrKHWk3i8tXiO/joPwXLMYvF9TTF0eqgHIuOw==",
|
||||
"requires": {
|
||||
"undici-types": "~6.21.0"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@aleleba/create-react-ssr",
|
||||
"version": "3.9.32",
|
||||
"version": "3.9.33",
|
||||
"description": "Starter Kit of server side render of react",
|
||||
"bin": "./bin/cli.js",
|
||||
"main": "src/server/index",
|
||||
@ -77,7 +77,7 @@
|
||||
"@testing-library/react": "^16.3.0",
|
||||
"@testing-library/user-event": "^14.6.1",
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/node": "^22.14.0",
|
||||
"@types/node": "^22.14.1",
|
||||
"@types/react": "^19.1.1",
|
||||
"@types/react-dom": "^19.1.2",
|
||||
"@types/webpack": "^5.28.5",
|
||||
|
@ -201,7 +201,16 @@ const serverConfig = {
|
||||
'options': {
|
||||
modules: {
|
||||
auto: /\.module\.\w+$/i,
|
||||
},
|
||||
url: {
|
||||
filter: (url) => {
|
||||
// No procesar URLs absolutas que comienzan con /
|
||||
if (url.startsWith('/')) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
'sass-loader',
|
||||
|
Loading…
Reference in New Issue
Block a user