add babel loader

This commit is contained in:
kmvan
2020-02-06 16:34:48 +08:00
parent 857d5657a6
commit 78cb6449b7

View File

@@ -2,7 +2,6 @@
const webpack = require('webpack')
const path = require('path')
const LodashModuleReplacementPlugin = require('lodash-webpack-plugin')
const { CleanWebpackPlugin } = require('clean-webpack-plugin')
const createStyledComponentsTransformer = require('typescript-plugin-styled-components')
.default
@@ -49,11 +48,6 @@ module.exports = {
new CleanWebpackPlugin({
cleanOnceBeforeBuildPatterns: ['.tmp'],
}),
new LodashModuleReplacementPlugin({
shorthands: true,
collections: true,
paths: true,
}),
],
module: {
rules: [