前端公共模板采用 ejs 模板
在模板内直接引用外部文件
<script async src="https://www.googletagmanager.com/gtag/js"</script>
报错内容形式:
Warning: ENOENT: no such file or directory, stat '/data/deploy/www/***/app/release/***/www.googletagmanager.com/gtag/js' Use --force to continue.
<script async src="https://www.googletagmanager....;</script>
把这个放到index.html里面去