Skip to content

Commit ce0a670

Browse files
committed
Update Expo setup docs
1 parent 557e0e2 commit ce0a670

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

docs/setup-css.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ If you are using [Expo](https://expo.io/), you also need to add this to `app.jso
130130
{
131131
"expo": {
132132
"packagerOpts": {
133-
"config": "metro.config.js"
133+
"config": "metro.config.js",
134+
"sourceExts": ["js", "jsx", "css"]
134135
}
135136
}
136137
}

docs/setup-less.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ If you are using [Expo](https://expo.io/), you also need to add this to `app.jso
130130
{
131131
"expo": {
132132
"packagerOpts": {
133-
"config": "metro.config.js"
133+
"config": "metro.config.js",
134+
"sourceExts": ["js", "jsx", "less"]
134135
}
135136
}
136137
}

docs/setup-postcss.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ If you are using [Expo](https://expo.io/), you also need to add this to `app.jso
139139
{
140140
"expo": {
141141
"packagerOpts": {
142-
"config": "metro.config.js"
142+
"config": "metro.config.js",
143+
"sourceExts": ["js", "jsx", "css", "pcss"]
143144
}
144145
}
145146
}

docs/setup-sass.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ If you are using [Expo](https://expo.io/), you also need to add this to `app.jso
133133
{
134134
"expo": {
135135
"packagerOpts": {
136-
"config": "metro.config.js"
136+
"config": "metro.config.js",
137+
"sourceExts": ["js", "jsx", "scss", "sass"]
137138
}
138139
}
139140
}

docs/setup-stylename.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ If you are using [Expo](https://expo.io/), you also need to add this to `app.jso
154154
{
155155
"expo": {
156156
"packagerOpts": {
157-
"config": "metro.config.js"
157+
"config": "metro.config.js",
158+
"sourceExts": ["js", "jsx", "css"]
158159
}
159160
}
160161
}

docs/setup-stylus.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ If you are using [Expo](https://expo.io/), you also need to add this to `app.jso
130130
{
131131
"expo": {
132132
"packagerOpts": {
133-
"config": "metro.config.js"
133+
"config": "metro.config.js",
134+
"sourceExts": ["js", "jsx", "styl"]
134135
}
135136
}
136137
}

0 commit comments

Comments
 (0)