Shin'ya Ueoka 5 years ago
parent 54d274e9fd
commit c7803e7c29
  1. 7
      webpack.config.js

@ -25,7 +25,12 @@ config = {
loader: 'babel-loader',
options: {
presets: [
{ plugins: ['@babel/plugin-proposal-class-properties'] },
{
plugins: [
["@babel/plugin-proposal-decorators", { "legacy": true }],
'@babel/plugin-proposal-class-properties'
]
},
'@babel/react',
'@babel/preset-typescript'
]