Fix webpack

jh-changes
Shin'ya Ueoka 6 years ago
parent 032c181613
commit 037ee5fd40
  1. 6
      src/background/domains/Completions.js
  2. 2
      webpack.config.js

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

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