Skip to content

Instantly share code, notes, and snippets.

@dsebastien
Last active October 17, 2021 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dsebastien/6ae50cb905b7cb008b302f1f35e2e488 to your computer and use it in GitHub Desktop.
Save dsebastien/6ae50cb905b7cb008b302f1f35e2e488 to your computer and use it in GitHub Desktop.
NX workspace.json extract for Svelte app
{
"version": 2,
"projects": {
"app": {
"root": "apps/app",
"sourceRoot": "apps/app/src",
"projectType": "application",
"targets": {
"build": {
"executor": "@nxext/svelte:build",
"outputs": ["{options.outputPath}"],
"options": {
...
"svelteConfig": "apps/app/svelte.config.cjs", <--------------------
...
},
...
},
"serve": {
"executor": "@nxext/svelte:build",
"options": {
...
"svelteConfig": "apps/app/svelte.config.cjs",
...
}
},
...
}
},
...
},
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment