diff --git a/.webpackrc.js b/.webpackrc.js deleted file mode 100644 index 17f26da9eda63ed7c9b3043a7dc628537ddae7a8..0000000000000000000000000000000000000000 --- a/.webpackrc.js +++ /dev/null @@ -1,28 +0,0 @@ -const path = require('path'); - -export default { - entry: 'src/index.js', - extraBabelPlugins: [['import', { libraryName: 'antd', libraryDirectory: 'es', style: true }]], - env: { - development: { - extraBabelPlugins: ['dva-hmr'], - }, - }, - externals: { - '@antv/data-set': 'DataSet', - }, - alias: { - components: path.resolve(__dirname, 'src/components/'), - }, - ignoreMomentLocale: true, - theme: './src/theme.js', - html: { - template: './src/index.ejs', - }, - lessLoaderOptions: { - javascriptEnabled: true, - }, - disableDynamicImport: true, - publicPath: '/', - hash: true, -};