Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit eadf5c9

Browse files
committed
remove -spec from test files
1 parent 0ee6100 commit eadf5c9

File tree

8 files changed

+15
-0
lines changed

8 files changed

+15
-0
lines changed

β€Ž.gitignoreβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules
22
dist
3+
spec/tree-view-spec.js*

β€Žbabel.config.jsβ€Ž

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
const presets = [['@babel/preset-env', { targets: { electron: 5 } }]]
2+
3+
const plugins = []
4+
5+
if (process.env.BABEL_ENV === 'development') {
6+
plugins.push('@babel/plugin-transform-modules-commonjs')
7+
}
8+
9+
module.exports = {
10+
presets,
11+
plugins,
12+
exclude: 'node_modules/**',
13+
sourceMaps: 'inline',
14+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
Β (0)