All Questions
4 questions
36
votes
9
answers
47k
views
You installed esbuild on another platform than the one you're currently using
I am trying to containerise Svelte js app inside a docker container and I am getting this error on the log complaining about esbuild in a different platform , I am using M1 mac, I have tried to ...
1
vote
0
answers
44
views
Hi I'm trying to dockerize my svelte todo app but it somehow doens't work what am I missing? [duplicate]
I installed the svelte app with vite with the command npm init vite. Then i did my programming stuff and build a simple todo app.
The svelte dev server starts on port 3000
package.json:
{
"name&...
1
vote
0
answers
2k
views
npm run dev doesn't auto-reload inside docker container
I've been struggling with a situation for the past day, and I couldn't really find anything that helped me solve it:
I have a Svelte + Flask project that I've been running directly on my host for a ...
0
votes
0
answers
2k
views
How to put Svelte build into Docker image
Consider this file structure:
dist/
node_modules/
public/
build/
bundle.css
bundle.js
favicon.png
global.css
index.html
Dockerfile
package.json
rollup.config.js
I ...