Tamás Russ

Results 29 comments of Tamás Russ

We discussed the topic. Currently it is not urgent but we would like to slowly progress it. As a next step we need to find out if there is anything...

We have a few global things going on in our `index.html` _Settings_ ```html ``` _External Stylesheets_ ```html ``` _Favicons_ ```html ``` _Protection of Duplicate Custom Tags_ ```html const _customElementsDefine =...

I've managed to setup a build that bundles a big chunk of code into a single file with esbuild: ```sh esbuild --bundle --minify --sourcemap --target=es2020\ --platform=browser --format=esm --outdir=build src/open-scd-wrapper.ts ```...

I have tried to do it with Vite, but it does not like dynamic imports, even with plugins it does not compile something that is not referenced so OpenSCD could...

Publishing the whole build folder works, but the assets are not loading through unkpg.com, but could load if deployed to github pages

Deploying to GitHub Pages worked for the plugins. Or at least they load. However, the assets are not yet correct. I think I would bundle every asset that we need...

After a talk with the team we agreed on that distributions take care of: - service workers - bundling of favicons - plugins and their locaion Each plugin will have...

Talked about it in refinement @danyill, that is a different problem. The problem we have is for example if we add a new official plugin it is not added automatically...

The pull request with the GitHub Action to generate a preview has been already merged: - https://github.com/openscd/open-scd/pull/1547 It currently deploys the wrong folder here: https://github.com/openscd/open-scd/blob/main/.github/workflows/pr-preview.yml#L33 I've already fixed it. It...

The solution is make the referenced files' path adjustable. With snowpack we can set the base URL: [buildOptions.baseUrl](https://www.snowpack.dev/reference/configuration#buildoptionsbaseurl) Then we can use `%PUBLIC_URL%` to reference files: ```diff - + ```...