Asset Files

Any files that you add to the src/templates directory will be copied over to the root of the build destination directory.

This way, you can organize your email templates into folders.

Global assets

You can define a global email assets folder that will be copied to the build directory.

The Starter sets it to the src/assets/images folder by default:

// config.js
module.exports = {
  build: {
    assets: {
      source: 'src/assets/images',
      destination: 'images',
    },
    // ...
  }
}

Everything inside build.assets.source will be copied to the build.assets.destination directory, which is relative to build.destination.path