(widgets) import widgets code from Messages and setup Docker workflow (#33)

This adds Gaufre v2 with source, documentation, examples and built artefacts.
Also includes the feedback widget from Messages.
This commit is contained in:
Sylvain Zimmer
2025-11-19 15:18:21 +01:00
committed by GitHub
parent 3b2f083d3f
commit 720ee9f4f0
53 changed files with 5375 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
import { defineConfig } from 'vite'
export default defineConfig({
server: {
proxy: {
'^/widgets/dist/(.+)\\.js$': {
target: 'http://localhost:8931',
rewrite: (path) => {
const match = path.match(/^\/widgets\/dist\/(.+)\.js$/)
if (match) {
return `/src/widgets/${match[1]}/main.ts`
}
return path
}
}
}
}
})