file-changes-action icon indicating copy to clipboard operation
file-changes-action copied to clipboard

Fix package.json main to use dist/index.js instead of lib/main.js

Open theoomoregbee opened this issue 4 years ago • 1 comments

Type of Change

  • [ ] New feature
  • [x] Bug fix
  • [ ] Documentation
  • [ ] Refactor
  • [ ] Chore

Describe Changes

I tried requiring the npm package for this action, and require was looking for the pkg main which is an invalid path

theoomoregbee avatar Sep 06 '20 04:09 theoomoregbee

my current workaround is:

const fileChanges = require("@trilom/file-changes-action/dist/index.js");

theoomoregbee avatar Sep 06 '20 04:09 theoomoregbee