You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.
Alan Souza edited this page Apr 5, 2016
·
1 revision
The copyAssets option allows different configurations for adding assets to your Grommet distribution.
The entry is an array and the values could be either a string or an object.
Example
varopts={copyAssets: ['README.md',{asset: 'src/js/**',babel: true//runs babel before adding to dist folder},{asset: 'src/scss/**',dist: 'dist/scss/'//adds a different dist folder},{asset: 'examples/**',dist: 'dist/examples/',ignores: [// ignores node_modules and dist folder from the copy task'node_modules/']},{filename: 'package.json',asset: "{ name: 'testing' }"}]};