Skip to content

Commit

Permalink
Removal of Useless symbol '[' (#1851)
Browse files Browse the repository at this point in the history
  • Loading branch information
PangYiMing authored Dec 7, 2020
1 parent 2b61df0 commit c573969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/_template/reference/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ An list of any npm dependencies that are added as a part of `load()` or `transfo
resolve: {input: [".sass"], output: [".css"]}
// Example: Svelte plugin compiles Svelte files to JS & CSS.
resolve: {input: [".svelte"], output: [".js",[".css"]}
resolve: {input: [".svelte"], output: [".js", ".css"]}
```

If your plugin defines a `load()` method, Snowpack will need to know what files your plugin is responsible to load and what its output will look like. **`resolve` is needed only if you also define a `load()` method.**
Expand Down

1 comment on commit c573969

@vercel
Copy link

@vercel vercel bot commented on c573969 Dec 7, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.