Skip to content

Commit df7073f

Browse files
authored
chore: upgrade webpack/babel build and improve markmap integration (#1934)
2 parents d0e9ea0 + dc81ffb commit df7073f

File tree

8 files changed

+5080
-4769
lines changed

8 files changed

+5080
-4769
lines changed

.babelrc

Lines changed: 0 additions & 13 deletions
This file was deleted.

babel.config.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
module.exports = {
2+
presets: [
3+
['@babel/preset-env', {
4+
targets: {
5+
node: '14'
6+
},
7+
useBuiltIns: 'usage',
8+
corejs: 3,
9+
modules: 'auto'
10+
}]
11+
],
12+
plugins: [
13+
['@babel/plugin-transform-runtime', {
14+
corejs: 3
15+
}],
16+
'@babel/plugin-transform-nullish-coalescing-operator',
17+
'@babel/plugin-transform-optional-chaining'
18+
]
19+
}

0 commit comments

Comments
 (0)