Browse Source

chore: update ts config

pull/3053/head
tangjinzhou 4 years ago
parent
commit
8e9157aeaa
  1. 3
      antd-tools/getWebpackConfig.js
  2. 1
      package.json
  3. 3
      webpack.config.js

3
antd-tools/getWebpackConfig.js

@ -123,9 +123,6 @@ function getWebpackConfig(modules) {
},
{
loader: 'ts-loader',
options: {
transpileOnly: true,
},
},
],
},

1
package.json

@ -41,7 +41,6 @@
"pretty-quick": "pretty-quick",
"dist": "node antd-tools/cli/run.js dist",
"lint": "eslint -c ./.eslintrc --fix --ext .jsx,.js,.vue,.ts,.tsx ./components",
"lint:types": "eslint -c ./.eslintrc --fix --ext .ts ./types",
"lint:site": "eslint -c ./.eslintrc --fix --ext .jsx,.js,.vue ./antdv-demo",
"lint:docs": "eslint -c ./.eslintrc --fix --ext .jsx,.js,.vue,.md ./antdv-demo/docs/**/demo/**",
"lint:style": "stylelint \"{site,components}/**/*.less\" --syntax less",

3
webpack.config.js

@ -68,9 +68,6 @@ module.exports = {
},
{
loader: 'ts-loader',
options: {
transpileOnly: true,
},
},
],
exclude: /node_modules/,

Loading…
Cancel
Save