Fix webpack

This commit is contained in:
Shin'ya Ueoka 2019-04-30 10:28:36 +09:00
parent 032c181613
commit 037ee5fd40
2 changed files with 4 additions and 4 deletions

View file

@ -19,9 +19,9 @@ export default class Completions {
}));
}
static EMPTY_COMPLETIONS = new Completions([]);
static empty() {
return Completions.EMPTY_COMPLETIONS;
return EMPTY_COMPLETIONS;
}
}
let EMPTY_COMPLETIONS = new Completions([]);

View file

@ -24,7 +24,7 @@ config = {
exclude: /node_modules/,
loader: 'babel-loader',
query: {
presets: ['react', 'stage-2']
presets: ['@babel/react']
}
},
{