File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,6 @@ built-ins must be bundled along with the Snap.
164
164
Running ` yarn start ` bundles your Snap for you.
165
165
166
166
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/ ) .
168
168
This command finds all dependencies using your specified main entry point and outputs a bundle
169
169
file to your specified output path.
Original file line number Diff line number Diff line change @@ -41,8 +41,10 @@ yarn mm-snap build --analyze
41
41
</TabItem >
42
42
</Tabs >
43
43
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.
46
48
47
49
::: info
48
50
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
67
69
</TabItem >
68
70
</Tabs >
69
71
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.
71
74
72
75
` -c ` is an alias for ` --config ` .
73
76
You can’t perform that action at this time.
0 commit comments