Skip to content

Commit b06098a

Browse files
committed
Upgraded rollup
1 parent 92bf8b5 commit b06098a

3 files changed

Lines changed: 13 additions & 4 deletions

File tree

example/github-pages-example/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
},
1111
"homepage": "https://texlyre.github.io/codemirror-lang-latex/",
1212
"private": true,
13+
"overrides": {
14+
"uuid": "^14.0.0"
15+
},
1316
"scripts": {
1417
"build": "webpack --mode production",
1518
"start": "webpack serve --mode development"

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@
4747
"@lezer/generator": "^1.8.0",
4848
"@lezer/highlight": "^1.2.3",
4949
"@lezer/lr": "^1.4.8",
50+
"@rollup/plugin-typescript": "^12.3.0",
5051
"rollup": "^2.70.0",
5152
"rollup-plugin-dts": "^4.2.0",
52-
"rollup-plugin-ts": "^3.0.2",
53+
"tslib": "^2.8.1",
5354
"typescript": "^4.6.2"
5455
},
5556
"files": [
@@ -65,4 +66,4 @@
6566
"latex",
6667
"lezer"
6768
]
68-
}
69+
}

rollup.config.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// rollup.config.js
2-
import typescript from 'rollup-plugin-ts'
2+
import typescript from '@rollup/plugin-typescript'
33
import dts from 'rollup-plugin-dts'
44

55
export default [
@@ -21,7 +21,12 @@ export default [
2121
'@lezer/lr',
2222
'tslib'
2323
],
24-
plugins: [typescript()]
24+
plugins: [
25+
typescript({
26+
sourceMap: true,
27+
inlineSources: true
28+
})
29+
]
2530
},
2631
{
2732
input: 'src/index.ts',

0 commit comments

Comments
 (0)