// vue.config.js
const yalcpushwatchplugin = require("yalc-watch-webpack-plugin");
module.exports = {
  // 将 examples 目录添加为新的页面
  devServer: {
    port: 2000,
    open: true,
    overlay: {
      warnings: false,
      errors: true,
    },
    // before: require("./mock/mock-server.js"),
  },
  lintOnSave: false,
  configureWebpack: {
    plugins: [
      new yalcpushwatchplugin({
        watchPushAction: true,
        linkName: "logicflow-vue",
      }),
    ],
  },
};