cdn: {
options: {
/** @required - root URL of your CDN (may contains sub-paths as shown below) */
cdn: 'https://cdn.domain.com',
/** @optional - if provided both absolute and relative paths will be converted */
flatten: true,
/** @optional - if provided will be added to the default supporting types */
// supportedTypes: { 'phtml': 'html', 'js': 'js' }
},
dist: {
/** @required - gets sources here, may be same as dest */
cwd: './dist/',
/** @required - puts results here with respect to relative paths */
dest: './dist/',
/** @required - files to process */
src: ['index.html'],
}
},
Code
output