Replies: 1 comment 1 reply
-
I will add an option for this to The workaround would be to use Rsbuild’s resolve config, along with some env vars for your different configurations. It would be a pretty horrible thing to set up manually, so I’ll add affordances to this and add something to the docs |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
How to add new Angular new envirement to project.json ?
I have Angular envirement file and I dont know where to define file replacement like i previewsly did:
"fileReplacements": [
{
"replace": "apps/easymed/src/environments/environment.ts",
"with": "apps/easymed/src/environments/environment.dev.serve.ts"
}
],
.
here is my Angular Rsbuild with ngrspack new project.json:
{ "name": "dev", "$schema": "../node_modules/nx/schemas/project-schema.json", "projectType": "application", "prefix": "app", "sourceRoot": "dev/src", "tags": [], "targets": { "lint": { "executor": "@nx/eslint:lint" }, "test": { "executor": "@nx/jest:jest", "outputs": ["{workspaceRoot}/coverage/{projectRoot}"], "options": { "jestConfig": "dev/jest.config.ts" } }, "serve-static": { "executor": "@nx/web:file-server", "options": { "buildTarget": "dev:build", "port": 4200, "staticFilePath": "dist/dev/browser", "spa": true } } } }
Beta Was this translation helpful? Give feedback.
All reactions