forked from adobe/react-spectrum
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.parcelrc
29 lines (29 loc) · 1.16 KB
/
.parcelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"extends": "@parcel/config-default",
"resolvers": ["@parcel/resolver-glob", "parcel-resolver-docs", "..."],
"transformers": {
"apiCheck:*.{js,ts,tsx,json}": ["parcel-transformer-docs"],
"docs:*.{js,ts,tsx,json}": ["parcel-transformer-docs", "@parcel/transformer-inline"],
"docs-json:*.{js,ts,tsx,json}": ["parcel-transformer-docs"],
"extract:*.mdx": ["parcel-transformer-mdx-extract"],
"packages/*/*/intl/*.json": ["parcel-transformer-intl"],
"bundle-text:*.svg": ["@parcel/transformer-svg", "@parcel/transformer-inline-string"],
"*.{md,mdx}": ["parcel-transformer-mdx-docs"],
"*.svg": ["@parcel/transformer-svg-react"],
"packages/@react-aria/example-theme/**/*.css": ["@parcel/transformer-css"],
"*.css": ["...", "parcel-transformer-css-env"],
"*.{js,mjs,jsm,jsx,es6,cjs,ts,tsx}": [
"@parcel/transformer-js",
"@parcel/transformer-react-refresh-wrap"
]
},
"namers": ["parcel-namer-docs", "..."],
"packagers": {
"*.json": "parcel-packager-docs",
"*.html": "parcel-packager-ssg"
},
"optimizers": {
"*.js": ["@parcel/optimizer-terser"],
"**/spectrum-theme.cjs": ["parcel-optimizer-strict-mode"]
}
}