Skip to content

Commit 778dc9a

Browse files
committed
add more context
1 parent 23ea88a commit 778dc9a

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

snaps/learn/about-snaps/files.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,6 @@ built-ins must be bundled along with the Snap.
164164
Running `yarn start` bundles your Snap for you.
165165

166166
You can also run [`yarn mm-snap build`](../../reference/cli/subcommands.md#b-build) to bundle your
167-
Snap using [webpack](https://webpack.js.org/) or [Browserify](https://browserify.org).
167+
Snap using [webpack](https://webpack.js.org/).
168168
This command finds all dependencies using your specified main entry point and outputs a bundle
169169
file to your specified output path.

snaps/reference/cli/subcommands.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ yarn mm-snap build --analyze
4141
</TabItem>
4242
</Tabs>
4343

44-
Enables analyzing the Snap bundle.
45-
This uses [`webpack-bundle-analyzer`](https://github.com/webpack-contrib/webpack-bundle-analyzer) under the hood.
44+
Enables analyzing the Snap [bundle](../../learn/about-snaps/files.md#bundle-file).
45+
This uses [`webpack-bundle-analyzer`](https://github.com/webpack-contrib/webpack-bundle-analyzer) under the hood,
46+
which creates an interactive visualization of the contents of your bundle.
47+
The visualization is located at the port displayed in the command line output.
4648

4749
:::info
4850
This option requires [`@metamask/snaps-cli`](https://github.com/MetaMask/snaps/tree/main/packages/snaps-cli) version 6.7.0 or later.
@@ -67,7 +69,8 @@ yarn mm-snap build --config ./snap.config.build.ts
6769
</TabItem>
6870
</Tabs>
6971

70-
Path to the [configuration file](../../learn/about-snaps/files.md#configuration-file).
72+
Path to the [configuration file](../../learn/about-snaps/files.md#configuration-file),
73+
which specifies [options](options.md) with which to the build the Snap.
7174

7275
`-c` is an alias for `--config`.
7376

0 commit comments

Comments
 (0)