基于Taro.js开发的H5应用
This commit is contained in:
25
config/dev.ts
Normal file
25
config/dev.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
import type { UserConfigExport } from "@tarojs/cli";
|
||||
export default {
|
||||
logger: {
|
||||
quiet: false,
|
||||
stats: true
|
||||
},
|
||||
mini: {
|
||||
miniCssExtractPluginOption: {
|
||||
ignoreOrder: true
|
||||
}
|
||||
},
|
||||
h5: {
|
||||
devServer: {
|
||||
hot: true,
|
||||
liveReload: false,
|
||||
client: {
|
||||
overlay: {
|
||||
errors: true,
|
||||
warnings: false,
|
||||
runtimeErrors: false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} satisfies UserConfigExport<'webpack5'>
|
||||
Reference in New Issue
Block a user