title: Module not found: Can't resolve custom package [React Import]
body: <p>I am trying to create my very first node package, it was successfully publish and live on npmjs.com website but whenever i include it on a sample react project using create-react-app i get this following error</p>
  
  <p>Here's how i import it </p>
  
  <pre><code>import IconTooltip from 'react-icons-tooltip';
  </code></pre>
  
  <p>Here's the error</p>
  
  <pre><code>Module not found: Can't resolve './react-icons-tooltip' in '/home/ubuntu/workspace/lasting/src/Components'
  </code></pre>
  
  <p>This is the Package <code>package.json file</code></p>
  
  <pre><code>{
    "name": "react-icons-tooltip",
    "version": "1.0.4",
    "description": "",
    "main": "./lib/IconTooltip.js",
    "scripts": {
      "test": "echo \"Error: no test specified\" &amp;&amp; exit 1",
      "build": "webpack --progress --colors --p",
      "transpile": "node_modules/.bin/babel ./src/index.js --presets babel-preset-es2015 --out-file lib/IconTooltip.js"
    },
    "author": "",
    "license": "ISC",
    "devDependencies": {
      "babel-cli": "^6.26.0",
      "babel-core": "^6.26.0",
      "babel-loader": "^7.1.3",
      "babel-preset-es2015": "^6.24.1",
      "babel-preset-react": "^6.24.1",
      "webpack": "^4.0.1",
      "webpack-cli": "^2.0.10"
    },
    "dependencies": {
      "prop-types": "^15.6.1",
      "react": "^16.2.0",
      "react-dom": "^16.2.0"
    }
  </code></pre>
  
  <p>}</p>
  
  <p>webpack.config.js</p>
  
  <pre><code>const webpack = require("webpack");
  
  module.exports = {
      entry: './src/index.js',
      output: {
          path: __dirname + '/build',
          filename: 'IconToolTip.js'
      },
      module: {
          rules: [
              {
                test: /\.js$/,
                exclude: /node_modules/,
                loader: 'babel-loader'
              },
              {
                test: /\.css$/,
                loaders: ['style-loader', 'css-loader']
              }
          ]
      },
      plugins: [
          new webpack.DefinePlugin({
              'process.env': {
                  'NODE_ENV': JSON.stringify('production')
              }
          })
      ]
  };
  </code></pre>
  
  <p>If i import the local the package seems to work fine</p>
  
  <pre><code>import IconTooltip from './lib/IconTooltip';
  </code></pre>
  
  <p>TIA!</p>