title: Resource files in Angular 5 package
body: <p>I'm having a problem developing an Angular 5 package. My component uses some JSON files from a resources folder. But I'm only able to export my component and I need to export these files too.</p>
  
  <p><strong>package.json</strong></p>
  
  <pre><code>{
        "name": "@package_4effect/mypackage",
        "version": "0.0.3",
        "description": "Description for mypackage",
        "private": true,
        "license": "UNLICENSED",
        "cacheDirectories": [
             "node_modules"
        ],
        "perDependencies": {
             ...
             "ng-packagr": "^2.0.0"
        },
        "devDependencies": {
             ...
        },
        "engines": {
             "node": "&gt;=6.9.0"
        },
        "scripts": {
             .....
             "build": "yarn run webpack:prod",
             "build-pack": "ng-packagr -p package.json",
        }
  }
  </code></pre>
  
  <p><strong>ng-package.json</strong></p>
  
  <pre><code>{
        "$schema": "./node_modules/ng-packagr/ng-package.schema.json",
        "lib": {
            "entryFile": "public_api.ts"
        }
  }
  </code></pre>
  
  <p><strong>public_api.ts</strong></p>
  
  <pre><code>export * from './src/main/webapp/app/home/home.module'
  export * from './src/main/webapp/app/home/home.component'
  </code></pre>
  
  <p>This code exports my Home component, however this component uses a /i18n/home.json file. I would also like to export this file.</p>
  
  <p>thankful.</p>