You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Result: Checking dist/index.js: ERROR InvalidDistribution: Unknown distribution format: 'index.js'
This is definitely what's expected from source - the webpack build creates a dist directory, and the the python build is output to the same directory. I was able to publish and use my widgets by moving the python artifacts to a new directory and deploying that one.
Does the Webpack configuration need updating? I see the dist dir is included as part of the files in the package.json
Can someone explain the duplicate package.json? When I build - it is copied over to {{project name}}/labextension/package.json
The text was updated successfully, but these errors were encountered:
Repro -
yarn build
python -m build .
twine check dist/*
Result:
Checking dist/index.js: ERROR InvalidDistribution: Unknown distribution format: 'index.js'
This is definitely what's expected from source - the webpack build creates a dist directory, and the the python build is output to the same directory. I was able to publish and use my widgets by moving the python artifacts to a new directory and deploying that one.
dist
dir is included as part of the files in the package.json{{project name}}/labextension/package.json
The text was updated successfully, but these errors were encountered: