You've already forked dev-sidecar
mirror of
https://github.com/docmirror/dev-sidecar.git
synced 2025-11-26 14:10:40 +08:00
feat: 百度统计,转移config目录,防止更新后被删除
This commit is contained in:
@@ -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: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user