text: const path = require( 'path' );
  
  // Add dependancies to exclode in externals.
  // Ex externals : { moment: 'moment' }
  module.exports = {
    entry: path.resolve( __dirname, 'src/main.vue' ),
    output: {
      filename: 'index.js',
  		path: path.resolve( __dirname, 'dist' ),
  		library: 'TextInput',
  		libraryTarget: 'umd',
  		umdNamedDefine: true
    },
    module: {
      rules : [
  			{
  				test: /\.js$/,
  				loader: 'babel-loader',
  				exclude: /node_modules/
  			},
  			{
          test: /\.css$/,
          use: [
            'vue-style-loader',
            'css-loader'
          ],
        },
        {
          test: /\.scss$/,
          use: [
            'vue-style-loader',
            'css-loader',
            'sass-loader'
          ],
        },
        {
          test: /\.sass$/,
          use: [
            'vue-style-loader',
            'css-loader',
            'sass-loader?indentedSyntax'
          ],
        },
        {
          test: /\.vue$/,
          loader: 'vue-loader',
          options: {
            loaders: {
              // Since sass-loader (weirdly) has SCSS as its default parse mode, we map
              // the "scss" and "sass" values for the lang attribute to the right configs here.
              // other preprocessors should work out of the box, no loader config like this necessary.
              'scss': [
                'vue-style-loader',
                'css-loader',
                'sass-loader'
              ],
              'sass': [
                'vue-style-loader',
                'css-loader',
                'sass-loader?indentedSyntax'
              ]
            }
            // other vue-loader options go here
          }
        },
  		]
  	},
  	resolve: {
      alias: {
        'vue$': 'vue/dist/vue.esm.js'
      },
      extensions: ['*', '.js', '.vue', '.json']
    },
    externals : {
  
    },
  	devtool: 'source-map',
  }
  