Skip to content

Commit

Permalink
fronthead & thumbnailer build with manually installed @nx/webpack/web…
Browse files Browse the repository at this point in the history
…pack giving tons of warnings and ERRORS

nrwl/nx#16686 this issue helped, but a fix is who knows when coming. I dont even know if webpack is actually the correct target...
Update project.json, .babelrc, project.json, and 2 more files
  • Loading branch information
Sergio Daroca committed May 15, 2023
1 parent 1612f63 commit 03c2506
Show file tree
Hide file tree
Showing 5 changed files with 2,942 additions and 428 deletions.
4 changes: 2 additions & 2 deletions apps/frontend/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"projectType": "application",
"targets": {
"build": {
"executor": "@nrwl/web:file-server",
"executor": "@nx/webpack:webpack",
"outputs": [
"{options.outputPath}"
],
Expand Down Expand Up @@ -51,7 +51,7 @@
}
},
"serve": {
"executor": "@nx/web:file-server",
"executor": "@nx/js:node",
"options": {
"buildTarget": "frontend:build",
"hmr": true,
Expand Down
11 changes: 11 additions & 0 deletions apps/thumbnailer/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"presets": [
[
"@nx/react/babel",
{
"runtime": "automatic"
}
]
],
"plugins": []
}
2 changes: 1 addition & 1 deletion apps/thumbnailer/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
},
"build-app": {
"executor": "@nx/node:webpack",
"executor": "@nx/webpack:webpack",
"outputs": [
"{options.outputPath}"
],
Expand Down
Loading

0 comments on commit 03c2506

Please sign in to comment.