title: Importing print.js using webpack
body: <p>I am trying to import the <a href="https://github.com/crabbly/Print.js" rel="nofollow noreferrer">print.js</a> library into the vendor bundle in my project using webpack. For some reason it cannot resolve the module. The print.js node_modules folder contains some interesting files - <code>webpack.mix.js</code> and the <code>src/index.js</code> appears to be written in ES6. Maybe I am missing a dependency or ES6 support?</p>
  
  <p>my <code>webpack.config.js</code>:</p>
  
  <pre><code>var webpack = require("webpack"),
      path = require("path");
  
  const Dotenv = require('dotenv-webpack');
  
  module.exports = {
  
   context: __dirname + "/public",
    entry: {
      app: "./application.js",
      vendor: ["angular", "angular-route", "scrollreveal", "clipboard", "print.js"]  
    },
    output: {
      path: __dirname + "/public/scripts",
      filename: "trails.bundle.js"
    },
    plugins: [
      new webpack.optimize.CommonsChunkPlugin({name: "vendor", filename: "vendor.bundle.js"}),
      new Dotenv({
        path: './.env', // Path to .env file (this is the default)
      })
    ]
  };
  </code></pre>
  
  <p>The error:</p>
  
  <pre><code>ERROR in multi angular angular-route scrollreveal clipboard print.js
  Module not found: Error: Can't resolve 'print.js'
  </code></pre>