Skip to content

Commit ce2100c

Browse files
committed
Update wp-env configuration to use 'development mode' and to store themes in an accessible place for development
1 parent 0c2d483 commit ce2100c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ build/
3535

3636
# phpunit
3737
*.result.*
38+
39+
dev-env/

.wp-env.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@
66
"plugins": [ "." ],
77
"config": {
88
"WP_UPLOAD_MAX_FILESIZE": "128M",
9-
"WP_MEMORY_LIMIT": "256M"
9+
"WP_MEMORY_LIMIT": "256M",
10+
"WP_ENVIRONMENT_TYPE": "development",
11+
"WP_DEVELOPMENT_MODE": "all"
12+
},
13+
"mappings": {
14+
"wp-content/themes": "./dev-env/themes"
1015
},
1116
"env": {
1217
"development": {

0 commit comments

Comments
 (0)