Replies: 2 comments 1 reply
-
@DominikPieper can get a vite board for these things and have a direct replacement for webpack |
Beta Was this translation helpful? Give feedback.
1 reply
-
This is now fully implemented thanks to using VITE https://nxext.dev/docs/vite/executors/serve#--proxyconfig I'm going to go ahead and lock this. Thank you @xsintill for the suggestion |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Dominik would it be possible to add proxy support to the svelte package? The serve rollup plugin currently used has no proxy support. This would help communication with a locally developed nestjs server (also in nx). More people would probably benefit from this
The plugin I currently use is:
rollup-plugin-serve-proxy
in rollup-options.js replacing the line
const serve = require('rollup-plugin-serve');
with
const serve = require('rollup-plugin-serve-proxy');
adding this line to the serveOptions object in the rollup-options.js
proxy: options.proxy
in the workspace.json
Beta Was this translation helpful? Give feedback.
All reactions