mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 05:38:46 +00:00
Merge pull request #3641 from darinmorrison/rollup-typescript
Some improvements to rollup and ts config
This commit is contained in:
commit
13af63a403
2 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,10 @@
|
|||
// @ts-check
|
||||
|
||||
import resolve from '@rollup/plugin-node-resolve';
|
||||
import commonjs from '@rollup/plugin-commonjs';
|
||||
import nodeBuiltins from 'builtin-modules';
|
||||
|
||||
/** @type { import('rollup').RollupOptions } */
|
||||
export default {
|
||||
input: 'out/main.js',
|
||||
plugins: [
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es2018",
|
||||
"target": "es2019",
|
||||
"outDir": "out",
|
||||
"lib": [
|
||||
"es2019"
|
||||
|
|
Loading…
Reference in a new issue