Fix webpack
This commit is contained in:
parent
032c181613
commit
037ee5fd40
2 changed files with 4 additions and 4 deletions
|
@ -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([]);
|
||||
|
|
|
@ -24,7 +24,7 @@ config = {
|
|||
exclude: /node_modules/,
|
||||
loader: 'babel-loader',
|
||||
query: {
|
||||
presets: ['react', 'stage-2']
|
||||
presets: ['@babel/react']
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Reference in a new issue