Quantcast
Channel: WordPress | サポートフォーラム »トピック一覧
Viewing all articles
Browse latest Browse all 813

wp-envを使用してインストールされるテーマを減らしたい

$
0
0

返信: 3

wp-envを使用して

npm run wp-env start

をした際にDockerのthemes/ディレクトリにインストールされるテーマを減らせますか?

.wp-env.jsonはこのようになってます。

{
"core": null,
"phpVersion": null,
"plugins": [],
"themes": [],
"port": 12345,
"env": {
"tests": {
"port": 12346
}
},
"config": {
"WP_DEBUG": true
},
"mappings": {
"wp-content/themes/wp-theme-name/": "./dist/wp-theme-name/",
"sql": "./sql"
}
}

"themes" : []の部分を消してもDockerにインストールされるのは、古くからのテーマ全てなので不要です。

最新の1つだけでいいのですが可能でしょうか?

https://ja.wordpress.org/team/handbook/block-editor/reference-guides/packages/packages-env/

公式ドキュメントを見ても知見は得られませんでした…

  • このトピックはcodecraneが16時間、 10分前に変更しました。

Viewing all articles
Browse latest Browse all 813

Trending Articles