widget-ts-cookiecutter
widget-ts-cookiecutter copied to clipboard
.js dist directory & build
trafficstars
Repro -
yarn buildpython -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.
- Does the Webpack configuration need updating? I see the
distdir 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