こちらのページを参考にして、モバイルのCSSをプラグインに設定しようとしていますが、pluguin-packerを実行すると以下のようなエラーが表示されパッケージングに失敗します。
- “.mobile[‘css’]” is an invalid additional property
Failed: Invalid manifest.json
manifest.jsonの中には以下の通りです。
何か書き方に問題があるのでしょうか?
{
“manifest_version”: 1,
“version”: 1,
“type”: “APP”,
“desktop”: {
“js”: [
“js/desktop.js”
],
“css”: [
“css/desktop.css”
]
},
“mobile”: {
“js”: [
“js/mb_desktop.js”
],
“css”: [
“css/mb_desktop.css”
]
},
“icon”: “image/icon.png”,
“config”: {
“html”: “html/config.html”,
“js”: [
“js/config.js”
],
“css”: [
“css/config.css”
]
},
“name”: {
“en”: “sample plugin”,
“ja”: “サンプルプラグイン”
},
“description”: {
“en”: “sample plugin”,
“ja”: “サンプルプラグイン”
}
}