diff --git a/examples/react/.stackblitzrc b/examples/react/.stackblitzrc new file mode 100644 index 000000000..632cbb8aa --- /dev/null +++ b/examples/react/.stackblitzrc @@ -0,0 +1,7 @@ +{ + "installDependencies": false, + "startCommand": "node -e \"const fs=require('fs'); const p='package.json'; const j=JSON.parse(fs.readFileSync(p,'utf8')); ['dependencies','devDependencies','peerDependencies'].forEach(k=>{ if(j[k]) for(const n in j[k]) if(typeof j[k][n]==='string' && j[k][n].startsWith('workspace:')) j[k][n]='latest'; }); fs.writeFileSync(p, JSON.stringify(j,null,2));\" && npm install @uppy/drag-drop @uppy/file-input @uppy/progress-bar && npm install && npm run dev", + "env": { + "NODE_ENV": "development" + } +} \ No newline at end of file diff --git a/examples/sveltekit/.stackblitzrc b/examples/sveltekit/.stackblitzrc new file mode 100644 index 000000000..632cbb8aa --- /dev/null +++ b/examples/sveltekit/.stackblitzrc @@ -0,0 +1,7 @@ +{ + "installDependencies": false, + "startCommand": "node -e \"const fs=require('fs'); const p='package.json'; const j=JSON.parse(fs.readFileSync(p,'utf8')); ['dependencies','devDependencies','peerDependencies'].forEach(k=>{ if(j[k]) for(const n in j[k]) if(typeof j[k][n]==='string' && j[k][n].startsWith('workspace:')) j[k][n]='latest'; }); fs.writeFileSync(p, JSON.stringify(j,null,2));\" && npm install @uppy/drag-drop @uppy/file-input @uppy/progress-bar && npm install && npm run dev", + "env": { + "NODE_ENV": "development" + } +} \ No newline at end of file diff --git a/examples/vue/.stackblitzrc b/examples/vue/.stackblitzrc new file mode 100644 index 000000000..632cbb8aa --- /dev/null +++ b/examples/vue/.stackblitzrc @@ -0,0 +1,7 @@ +{ + "installDependencies": false, + "startCommand": "node -e \"const fs=require('fs'); const p='package.json'; const j=JSON.parse(fs.readFileSync(p,'utf8')); ['dependencies','devDependencies','peerDependencies'].forEach(k=>{ if(j[k]) for(const n in j[k]) if(typeof j[k][n]==='string' && j[k][n].startsWith('workspace:')) j[k][n]='latest'; }); fs.writeFileSync(p, JSON.stringify(j,null,2));\" && npm install @uppy/drag-drop @uppy/file-input @uppy/progress-bar && npm install && npm run dev", + "env": { + "NODE_ENV": "development" + } +} \ No newline at end of file