Skip to content

Commit

Permalink
Add section to ensure correct build files
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Nov 13, 2024
1 parent 40535f3 commit 316f8d6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/content/deploy-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,19 @@ outline: deep

Once your visualization is complete and ready for deployment to Galaxy, you can publish it to `npm` and [submit a pull](deploy-request) request to the Galaxy development repository.

## Configure the Package Name
## Configure the Package Name and Files

1. Open the `package.json` file in your project.
2. Update the `name` field to specify a unique package name.
3. Adjust the `version` field if needed.
4. Ensure that the following section is in your `package.json`:

```json
"files": [
"static/dist/index.js",
"static/dist/index.css"
]
```

## Build and Publish to npm

Expand Down

0 comments on commit 316f8d6

Please sign in to comment.