0

I create my package with this command

gulp clean

gulp build --ship

gulp package-solution --ship

in my sppkg there aren't javascript files in package, and when I deploy this in the app catalog, and use my webpart, I don't see anything and there are a lot of error of 404

1 Answer 1

1

I find alone the solution :) Add the command gulp bundle

gulp clean

gulp bundle --ship

gulp build --ship

gulp package-solution --ship

2
  • The Bundle action was missing. Commented Jun 13, 2021 at 5:42
  • Not to nitpick, but the Bundle command should come after the build command. Commented Jul 7, 2021 at 2:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.