Open fallingforest opened 1 month ago
Please provide some more info, package version, Strapi version etc.
Here are some info:
NX Report complete - copy this into the issue template
Node : 20.16.0
OS : linux-x64
Native Target : x86_64-linux
yarn : 1.22.22
nx (global) : 19.6.1
nx : 19.6.2
@nx/js : 19.6.2
@nx/jest : 19.6.2
@nx/linter : 19.6.2
@nx/eslint : 19.6.2
@nx/workspace : 19.6.2
@nx/cypress : 19.6.2
@nx/devkit : 19.6.2
@nx/esbuild : 19.6.3
@nx/eslint-plugin : 19.6.2
@nx/nest : 19.6.2
@nx/next : 19.6.2
@nx/node : 19.6.2
@nx/react : 19.6.2
@nrwl/tao : 19.6.2
@nx/vite : 19.6.2
@nx/web : 19.6.2
@nx/webpack : 19.6.2
typescript : 5.5.4
---------------------------------------
Registered Plugins:
@nx/eslint/plugin
---------------------------------------
Community plugins:
@nx-extend/strapi : 11.0.1
@nx-tools/nx-container : 5.3.1
@trumbitta/nx-plugin-unused-deps : 1.12.1
---------------------------------------
I got the issue while build the strapi admin dashboard. it does not read the admin.ts config when building to html, js files
This is my admin.ts file:
This is the webpack.config.js file:
I set the url is "/". but when the index.html built, it always return this script path:
<script defer="defer" src="/admin/runtime~main.*.js">
While when I used the
yarn build
script with a normal strapi project without nx, it will return like this:<script defer="defer" src="/runtime~main.*.js">