Open IlyaSemenov opened 1 year ago
Darwin
v16.15.0
2.16.0-27720022.54e852f
0.6.1
yarn@1.22.19
webpack
serverHandlers
devServerHandlers
typescript
bridge
buildModules
-
()
@nuxt/bridge@3.0.0-27778503.de9e5c2
https://github.com/IlyaSemenov/nuxt-cdn-images-ignored
When I start the production build with NUXT_APP_CDN_URL, it is used to serve scripts but images are still loaded from /_nuxt/ (not from CDN).
NUXT_APP_CDN_URL
/_nuxt/
In Nuxt 3, images are also loaded from NUXT_APP_CDN_URL (see folder nuxt3 in the reproduction repo) so this is a regression.
nuxt3
No response
I have the same question.
Environment
Darwin
v16.15.0
2.16.0-27720022.54e852f
0.6.1
yarn@1.22.19
webpack
serverHandlers
,devServerHandlers
,typescript
,bridge
,buildModules
-
()
,@nuxt/bridge@3.0.0-27778503.de9e5c2
Reproduction
https://github.com/IlyaSemenov/nuxt-cdn-images-ignored
Describe the bug
When I start the production build with
NUXT_APP_CDN_URL
, it is used to serve scripts but images are still loaded from/_nuxt/
(not from CDN).Additional context
In Nuxt 3, images are also loaded from
NUXT_APP_CDN_URL
(see foldernuxt3
in the reproduction repo) so this is a regression.Logs
No response