text: const path = require('path')
  
  module.exports = {
    entry: './src/index.js',
    output: {
      path: path.resolve(__dirname, './'),
      filename: '../index.js',
      library: 'IlliterateEditor',
      libraryTarget: 'umd'
    },
    module: {
      rules: [
        {
          test: /\.js$/,
          use: ['babel-loader'],
          exclude: /node_modules/
        }
      ]
    },
    resolve: {
      alias: {
        '@': path.resolve(__dirname, '../src')
      }
    }
  }
  