text: "use strict";
  
  const webpackCommonConfigCreator = require("../webpack.common");
  const { merge } = require("webpack-merge");
  var packageJson = require("./package.json");
  var path = require("path");
  
  const config = {
    entry: {
      modern: path.resolve(__dirname, "../../src/modern.scss"),
      defaultV2: path.resolve(__dirname, "../../src/defaultV2-theme/defaultV2.scss")
    },
    externals: {
        vue: {
          root: "Vue",
          commonjs2: "vue",
          commonjs: "vue",
          amd: "vue"
        }
    }
  };
  
  module.exports = function (options) {
    options.platform = "vue";
    options.libraryName = "Survey";
    return merge(webpackCommonConfigCreator(options, packageJson, "survey.vue"), config);
  }
  