You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/extensibility-api/web/get-started.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,19 +137,19 @@ The generator creates a project with the following structure. Some files are boi
137
137
138
138
***`package.json`** — Projectdependenciesandscripts. Use`npm run build`tobuildonce, or`npm run build:dev`tobuildandwatchforchanges. Onlyeditthisifyouneedtoaddpackages.
***`build.helpers.mjs`** — Sharedesbuildutilitiesusedby`build-extension.mjs`. Containsthecompilerconfig (`commonConfig`), apluginthatcopiesthebundletoyourapp's `extensions/` folder (`copyToAppPlugin`), and a plugin that copies `src/manifest.json` to the output directory (`copyManifestPlugin`). You do not need to edit this file.
The`dist/`folderisgeneratedby`npm run build`andisnotpresentuntilyoubuildforthefirsttime. Nevereditfilesinside`dist/`directly, asyourchangeswillbeoverwrittenonthenextbuild.
***`src/main/index.ts`** — Theextension's main logic, which runs inside Studio Pro. Gets the Studio Pro API via `getStudioProApi`, registers a menu item under **Extensions** in the top menu bar, and opens a tab that renders the UI component when clicked. This is the primary file you will edit. If you rename this file, update the corresponding entry point in `build-extension.mjs`.
0 commit comments