new
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
const path = require('path')
|
||||
|
||||
const config = {
|
||||
projectName: 'market-miniprogram',
|
||||
date: '2023-10-27',
|
||||
@@ -30,6 +32,13 @@ const config = {
|
||||
enable: false // Disable cache to fix prebundle error
|
||||
},
|
||||
mini: {
|
||||
webpackChain(chain) {
|
||||
chain.module
|
||||
.rule('script')
|
||||
.include
|
||||
.add(path.resolve('src'))
|
||||
.add(path.resolve('node_modules/marked'))
|
||||
},
|
||||
postcss: {
|
||||
pxtransform: {
|
||||
enable: true,
|
||||
|
||||
Reference in New Issue
Block a user