NX serve certain assets only for development (localhost) I’ve added this into project.json under targets.build.options.assets: