为项目中的ts配置添加了style module的增强插件(typescript server)
This commit is contained in:
parent
79dd78795a
commit
646953d544
|
|
@ -1,2 +1,3 @@
|
|||
{
|
||||
"typescript.tsdk": "node_modules\\typescript\\lib"
|
||||
}
|
||||
|
|
@ -62,7 +62,6 @@
|
|||
"antd-mobile-icons": "^0.3.0",
|
||||
"classnames": "^2.3.1",
|
||||
"crypto-browserify": "3.12.0",
|
||||
"readable-stream": "3.6.2",
|
||||
"crypto-js": "^4.1.1",
|
||||
"dayjs": "^1.11.5",
|
||||
"echarts": "^5.3.0",
|
||||
|
|
@ -95,6 +94,7 @@
|
|||
"react-responsive": "^9.0.0-beta.10",
|
||||
"react-router-dom": "^6.4.0",
|
||||
"react-slick": "^0.29.0",
|
||||
"readable-stream": "3.6.2",
|
||||
"rmc-pull-to-refresh": "^1.0.13",
|
||||
"uuid": "^8.3.2"
|
||||
},
|
||||
|
|
@ -205,7 +205,8 @@
|
|||
"webpack": "^5.86.0",
|
||||
"webpack-dev-server": "^4.15.1",
|
||||
"webpack-manifest-plugin": "^4.0.2",
|
||||
"workbox-webpack-plugin": "^6.4.1"
|
||||
"workbox-webpack-plugin": "^6.4.1",
|
||||
"typescript-plugin-css-modules": "^5.1.0"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
|
|
@ -230,4 +231,4 @@
|
|||
"readable-stream": "3.6.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,6 +16,11 @@
|
|||
"dom.iterable",
|
||||
"esnext"
|
||||
],
|
||||
"plugins": [
|
||||
{
|
||||
"name": "typescript-plugin-css-modules",
|
||||
},
|
||||
],
|
||||
//"outDir": "lib", /* Redirect output structure to the directory. */
|
||||
//"rootDir": "src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
|
||||
"types": [
|
||||
|
|
|
|||
Loading…
Reference in New Issue