Conversation
🦋 Changeset detectedLatest commit: 0bd2484 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for solid-start-landing-page ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
commit: |
cf9a571 to
0bd2484
Compare
|
@huseeiin Thank you 🥳 |
atilafassina
left a comment
There was a problem hiding this comment.
While I can understand wanting SolidStart to have a consistent port number by default, this is overriding user settings.
export defaultConfig({
server: {
port: 8888
},
plugins: [ solidStart() ]
})will serve the app on 3000 instead of 8888
amazing observation. how do we fix this? |
Maybe the solidStart plugin could add a different separate plugin (analog to our router, manifest, etc. plugins) for the port, that:
// mutate the config directly (use only when merging doesn't work)
const mutateConfigPlugin = () => ({
name: 'mutate-config',
config(config) {
if (!config.hasSomeValue) {
config.hasSomeValue = "Hello World";
}
},
}) |
|
since its not ready yet, will convert to draft, just in case someone merges is it on accident |
|
the |
try it when you have time. |
when you don't use nitro, as in:
instead of:
then solid start will use the 5173 port. now the port is aligned to be 3000 in both cases