Skip to content

Update README.md #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions samples/000-HelloWorld/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,17 @@ Add the plugin to a button and call the plugin with the parameters. It does not

2. Build and compress the plugin

`webpack --mode=production`
`webpack --mode=production`

3. Create the zip file that can be uploaded to OFS
you might also need to use this command instead, if the webpack folder is not added to the PATH list

`./node_modules/.bin/webpack --mode=production`

3. Copy index.html from the project root folder to the dist folder

`cp index.html dist/`

4. Create the zip file that can be uploaded to OFS

`cd dist; zip plugin.zip index.html main.js`