title: How to tell ng build to include more files
body: <p>I'm trying to build my application, but the <code>ng build</code> command doesn't include all files, like <code>styles.css</code> or images or libraries like <code>c3.js</code> or <code>d3.js</code>.</p>
  
  <p>I can do this by copying and pasting those files into the <code>dist</code> folder (where the files go after the <code>ng build</code> command), but this is inefficient, because I have to do it everytime I make <code>ng build</code>.</p>
  
  <p>How can I make <code>ng build</code> automatically include the styles, images and libraries.</p>
  
  <p><strong>Edit</strong>
  <code>angular-cli.json</code> file:</p>
  
  <pre><code>{
    "project": {
      "version": "1.0.0-beta.20-4",
      "name": "scada-lts-ui"
    },
    "apps": [
      {
        "root": "src",
        "outDir": "dist",
          "assets": [
          "assets",
          "favicon.ico"
        ],
        "index": "index.html",
        "main": "main.ts",
        "test": "test.ts",
        "tsconfig": "tsconfig.json",
        "prefix": "app",
        "mobile": false,
        "styles": [
          "styles.css"
        ],
        "scripts": [
          "../node_modules/hammerjs/hammer.min.js"
        ],
        "environments": {
          "source": "environments/environment.ts",
          "dev": "environments/environment.ts",
          "prod": "environments/environment.prod.ts"
        }
      }
    ],
    "addons": [],
    "packages": [],
    "e2e": {
      "protractor": {
        "config": "./protractor.conf.js"
      }
    },
    "test": {
      "karma": {
        "config": "./karma.conf.js"
      }
    },
    "defaults": {
      "styleExt": "css",
      "prefixInterfaces": false,
      "inline": {
        "style": false,
        "template": false
      },
      "spec": {
        "class": false,
        "component": true,
        "directive": true,
        "module": false,
        "pipe": true,
        "service": true
      }
    }
  }
  </code></pre>
  
  <p>The following errors appears, because <code>ng build</code> doesnt copy these files from app directory.</p>
  
  <p><a href="https://i.stack.imgur.com/GrRVN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GrRVN.png" alt="enter image description here"></a></p>