标签:cin sentry clu add amp specific nbsp 项目 pre
vue项目 安装sentry监控日志 https://sentry.io/chaoling/vue11/getting-started/javascript-vue/
# Using yarn yarn add @sentry/vue @sentry/tracing # Using npm npm install --save @sentry/vue @sentry/tracing
npm install --save-dev @sentry/webpack-plugin
const SentryWebpackPlugin = require("@sentry/webpack-plugin"); module.exports = { // other configuration configureWebpack: { plugins: [ new SentryWebpackPlugin({ // sentry-cli configuration authToken: process.env.SENTRY_AUTH_TOKEN, org: "example-org", project: "example-project", release: process.env.SENTRY_RELEASE, // webpack specific configuration include: ".", ignore: ["node_modules", "webpack.config.js"], }), ], }, };
标签:cin sentry clu add amp specific nbsp 项目 pre
原文地址:https://www.cnblogs.com/hill-foryou/p/14856321.html