feat: 百度统计,转移config目录,防止更新后被删除

This commit is contained in:
xiaojunnuo
2020-11-12 17:59:34 +08:00
parent 87ac9173f9
commit 274ce7968c
9 changed files with 419 additions and 18355 deletions

View File

@@ -1,4 +1,6 @@
const path = require('path')
const webpack = require('webpack')
module.exports = {
pages: {
index: {
@@ -8,6 +10,9 @@ module.exports = {
},
configureWebpack: config => {
const configNew = {
plugins: [
new webpack.DefinePlugin({ 'global.GENTLY': true })
],
module: {
rules: [
{