Thanks Mauro for your help, I changed my snapcraft.yaml : chartjs:
plugin: dump
source: ./node_modules
source-type: local
organize:
'package-assets/*': package-assets/${SNAPCRAFT_PROJECT_NAME}/ and i import it like that in the index.html <script src="./parts/chartjs/src/chart.js"></script> After the build, it works when i run the webserver on my pc but it doesn't work when it's snapped the CtrlX3. Is my src wrong ? Thanks again Félix
... View more