module.exports = { env: { NODE_ENV: '"production"', BASE_URL: '"https://api.81812333.com"', BASE_URL_JX: '"https://api.jx818.com"', OSS_URL: '"https://parkmanagement.oss-cn-hangzhou.aliyuncs.com"', WEMAP_KEY: 'DYRBZ-ZGPCF-X3OJN-N2AA3-JWUCE-HEBXJ', }, defineConstants: {}, mini: {}, h5: { /** * WebpackChain ��篁狗��臀� * @docs https://github.com/neutrinojs/webpack-chain */ // webpackChain (chain) { // /** // * 絋��� h5 腴��莚����腱��紊э���札篏睡�� webpack-bundle-analyzer ��篁九�����篏�腱��茵������� // * @docs https://github.com/webpack-contrib/webpack-bundle-analyzer // */ // chain.plugin('analyzer') // .use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin, []) // /** // * 絋��� h5 腴��絮��颰醇�狗�頑��随���札篏睡�� prerender-spa-plugin ��篁狗���莉初�蕁泣�� // * @docs https://github.com/chrisvfritz/prerender-spa-plugin // */ // const path = require('path') // const Prerender = require('prerender-spa-plugin') // const staticDir = path.join(__dirname, '..', 'dist') // chain // .plugin('prerender') // .use(new Prerender({ // staticDir, // routes: [ '/pages/index/index' ], // postProcess: (context) => ({ ...context, outputPath: path.join(staticDir, 'index.html') }) // })) // } }, };