Currently there are some issues with such build, we are moving with an alternative in https://github.com/ethereum/remix-project/pull/5 This issue is opened on nx repo https://github.com/nrwl/nx/issues/3142