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

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. Jun 13 at 5:42
  • Not to nitpick, but the Bundle command should come after the build command. Jul 7 at 2:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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