mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +00:00
Add typing annotations for rollup config
This commit is contained in:
parent
21a35b49ee
commit
0ec20234a7
1 changed files with 3 additions and 0 deletions
|
@ -1,7 +1,10 @@
|
||||||
|
// @ts-check
|
||||||
|
|
||||||
import resolve from '@rollup/plugin-node-resolve';
|
import resolve from '@rollup/plugin-node-resolve';
|
||||||
import commonjs from '@rollup/plugin-commonjs';
|
import commonjs from '@rollup/plugin-commonjs';
|
||||||
import nodeBuiltins from 'builtin-modules';
|
import nodeBuiltins from 'builtin-modules';
|
||||||
|
|
||||||
|
/** @type { import('rollup').RollupOptions } */
|
||||||
export default {
|
export default {
|
||||||
input: 'out/main.js',
|
input: 'out/main.js',
|
||||||
plugins: [
|
plugins: [
|
||||||
|
|
Loading…
Reference in a new issue