]> git.lizzy.rs Git - rust.git/commit
Merge #3158
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Sat, 15 Feb 2020 22:14:42 +0000 (22:14 +0000)
committerGitHub <noreply@github.com>
Sat, 15 Feb 2020 22:14:42 +0000 (22:14 +0000)
commite4054f7e35a9a6c6e518066697567db92036607c
tree267844783734912d4a002a8144b653a8e66abb4c
parent58f4dcf79ecf3b8dcec83d46a27a29340900a0ef
parentcc43f07e11e2a7715ab6eb14a18f23fc93e5fcdb
Merge #3158

3158: Disable rollup warning r=matklad a=edwin0cheng

In https://rollupjs.org/guide/en/#output-exports

```
As with regular entry points, files that mix default and named exports will produce warnings. You can avoid the warnings by forcing all files to use named export mode via output.exports: "named".
```

This PR try added `output.exports: "named"` and disabe this warning. It is because vscode consume our plugins only by named functions such that it should be saved to disable it.

cc @Veetaha

Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>