text: const webpack = require('webpack');
  const path = require('path');
  const VueLoaderPlugin = require('vue-loader/lib/plugin');
  
  module.exports = {
    entry: './src/vue-naver-map/index.js',
    output: {
      library: 'nMap',
      libraryTarget: 'umd',
      filename: 'index.js',
      path: path.resolve(__dirname, 'bundle')
    },
    module: {
      rules: [
        { 
          test: /\.js$/, 
          exclude: /(node_modules)/,
          use: {
            loader: 'babel-loader',
            options: {
              presets: ['@babel/preset-env']
            }
          }
        },
        { test: /\.vue$/, loader: 'vue-loader', options: { target: 'node' }}
      ]
    },
    plugins: [
      new VueLoaderPlugin(),
      new webpack.optimize.LimitChunkCountPlugin({
        maxChunks: 1, // disable creating additional chunks
      })
    ]
  }
  