vue.config.js 475 B

1234567891011121314151617181920
  1. const SentryCliPlugin = require("@sentry/webpack-plugin");
  2. module.exports = {
  3. lintOnSave: false,
  4. chainWebpack: config => {
  5. config.plugin("sentry").use(SentryCliPlugin, [
  6. {
  7. include: ".",
  8. ignoreFile: ".sentrycliignore",
  9. ignore: ["node_modules", "webpack.config.js"],
  10. configFile: "sentry.properties",
  11. dryRun: true,
  12. release: "foo"
  13. }
  14. ]);
  15. // if (process.env.NODE_ENV === "production") {
  16. // }
  17. }
  18. };