capacitor-resources
Version:
Generates icon & splash screen for capacitor projects using javascript only.
78 lines • 1.96 kB
JavaScript
module.exports = {
platform: 'ios',
type: 'splash',
path: 'ios/splash/',
definitions: [{
name: "Default-568h@2x~iphone.png",
width: 640,
height: 1136,
comment: ''
}, // iPhone 5 Retina
{
name: "Default-667h.png",
width: 750,
height: 1334,
comment: ''
}, // iPhone 6
{
name: "Default-736h.png",
width: 1242,
height: 2208,
comment: ''
}, // iPhone 6 Plus
{
name: "Default-Landscape-736h.png",
width: 2208,
height: 1242,
comment: ''
}, // iPhone 6 Plus
{
name: "Default-Landscape@~ipadpro.png",
width: 2732,
height: 2048,
comment: ''
}, // iPad Pro
{
name: "Default-Landscape@2x~ipad.png",
width: 2048,
height: 1536,
comment: ''
}, // iPad Retina
{
name: "Default-Landscape~ipad.png",
width: 1024,
height: 768,
comment: ''
}, // iPad
{
name: "Default-Portrait@~ipadpro.png",
width: 2048,
height: 2732,
comment: ''
}, // iPad Pro
{
name: "Default-Portrait@2x~ipad.png",
width: 1536,
height: 2048,
comment: ''
}, // iPad Retina
{
name: "Default-Portrait~ipad.png",
width: 768,
height: 1024,
comment: ''
}, // iPad
{
name: "Default@2x~iphone.png",
width: 640,
height: 960,
comment: ''
}, // iPhone Retina
{
name: "Default~iphone.png",
width: 320,
height: 480,
comment: ''
} // iPhone
]
};