diff options
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/webpack.config.js b/webpack.config.js index 540418d..cb56835 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -20,21 +20,9 @@ config = { module: { rules: [ { - test: [ /\.js$/, /\.jsx$/, /\.ts$/, /\.tsx$/], + test: [ /\.ts$/, /\.tsx$/], exclude: /node_modules/, - loader: 'babel-loader', - options: { - presets: [ - { - plugins: [ - ["@babel/plugin-proposal-decorators", { "legacy": true }], - '@babel/plugin-proposal-class-properties' - ] - }, - '@babel/react', - '@babel/preset-typescript' - ] - }, + loader: 'ts-loader' }, { test: /\.css$/, |