Browse Source

fix: compile config for antd(#master)

master
OhYee 3 years ago
parent
commit
5aa726961b
Signed by: OhYee
GPG Key ID: 5A9E1F63ED274FBB
  1. 14
      .babelrc
  2. 6
      .prettierignore
  3. 11
      .prettierrc

14
.babelrc

@ -0,0 +1,14 @@ @@ -0,0 +1,14 @@
{
"presets": [
"next/babel"
],
"plugins": [
[
"import",
{
"libraryName": "antd",
"style": "css"
}
]
]
}

6
.prettierignore

@ -0,0 +1,6 @@ @@ -0,0 +1,6 @@
**/*.md
**/*.svg
**/*.ejs
**/*.html
package.json
.next

11
.prettierrc

@ -0,0 +1,11 @@ @@ -0,0 +1,11 @@
{
"singleQuote": true,
"trailingComma": "all",
"printWidth": 100,
"overrides": [
{
"files": ".prettierrc",
"options": { "parser": "json" }
}
]
}
Loading…
Cancel
Save