title: Importing self-made library into vue project
body: <p><strong>Intro:</strong> I've generated two projects with vue-cli ~4.2.0: <code>parent-app</code> and <code>dummylib</code></p>
  
  <p><strong>Goal:</strong> to create <code>DummyButton.vue</code> component in <code>dummylib</code> project and import it in <code>parent-app</code> project.</p>
  
  <p><strong>What I've done:</strong></p>
  
  <p>Followed this <a href="https://itnext.io/create-a-vue-js-component-library-as-a-module-part-1-a1116e632751" rel="nofollow noreferrer">tutorial</a>.</p>
  
  <p>In dummylib's <em>package.json</em> I've inserted:</p>
  
  <pre><code>"main": "./dist/dummylib.common.js",
  </code></pre>
  
  <p>and build-lib script:</p>
  
  <pre><code>"build-lib": "vue-cli-service build --target lib --name dummylib src/main.js",
  </code></pre>
  
  <p>dummylib's main.js:</p>
  
  <pre><code>import DummyButton from './components/DummyButton.vue'
  
  export default DummyButton
  </code></pre>
  
  <p>Also I've created <code>DummyButton.vue</code> and now <code>vue serve src/components/DummyButton.vue</code> successfully renders DummyButton component and <code>npm run build-lib</code> generates <em>dist</em> folder with <code>dummylib.common.js</code></p>
  
  <p>In <code>parent-app</code> project I've made <code>npm i ../dummylib</code> and it has been added to <code>package.json</code>:</p>
  
  <pre><code>"dependencies": {
    ...
    "dummylib": "file:../dummylib",
    ...
  },
  </code></pre>
  
  <p><strong>Problem:</strong></p>
  
  <p>When I try to start <code>parent-app</code> with <code>npm run serve</code> a lot of linting errors occurs in <code>../dummylib/dist/dummylib.common.js</code>. As far as i understand, ESlint should not even try to process <code>dummylib.common.js</code>, but it does and it results in ~2000 errors.</p>