Currently the @mendix/pluggable-widgets-tools package scaffold has some issues. First of all the linting errors on the 'createElement' import being unused, but this can be fixed.What I'm unable to fix is the package.xml missing from the build. Which makes the widget unusable in the editor.This is a newly generated pluggable widget, to reproduce:Run `npx @mendix/generator-widget Page` in powershell (i'm on node 22.14.0), the generator-widget is on 11.3.1Let it run and install the packagesrun `npm run build`Fix the createElement errors by removing the imports in the component filesRun it againIf succesful there should be a dist folder without the package.xmlUsing the widget in Mendix will cause the error "File 'package.xml' not found." after scanning the application for file changes.Happens in Mendix 10.24.13 but also in 11.6.6
asked
Niels Roozemond
1 answers
1
Hi Niels,
We are aware of the bundling issues introduced in version 11.11.0 of the pluggable widgets tools. A fix has been prepared and will be released shortly with version 11.12.0.