From e7aba01f551e817acb956f7412b17a26588263d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Thu, 26 Jul 2018 23:10:32 +0800 Subject: [PATCH] delete webpackrc.js --- .webpackrc.js | 29 ----------------------------- package.json | 2 +- 2 files changed, 1 insertion(+), 30 deletions(-) delete mode 100755 .webpackrc.js diff --git a/.webpackrc.js b/.webpackrc.js deleted file mode 100755 index cf91d6d6..00000000 --- a/.webpackrc.js +++ /dev/null @@ -1,29 +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', - rollbar: 'rollbar', - }, - 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, -}; diff --git a/package.json b/package.json index 2baead22..5e82d415 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ant-design-pro", - "version": "1.3.0", + "version": "2.0.0-beta.3", "description": "An out-of-box UI solution for enterprise applications", "private": true, "scripts": { -- GitLab