module.exports = {
  outputDir: 'fns_backend',
  css: {
    loaderOptions: {
      less: {
        modifyVars: {
          'primary-color': '#3E4FAF',
        //   'link-color': '#1DA57A',
        //   'border-radius-base': '2px',
        },
        javascriptEnabled: true, // 加载LESS 需要把JS设置一下
      },
      sass: {
        // @/ is an alias to src/
        // so this assumes you have a file named `src/variables.scss`
        prependData: `@import "@/assets/sass/main.scss";`
    }
    }
  },
  devServer: {
      proxy: {
          "/proxyApi": {
              target: 'http://172.16.102.150:8091',
              pathRewrite: {
                  '^/proxyApi': '',
              },
          }
      },
  },
}