Commit a5e05ff4 authored by wildfirecode's avatar wildfirecode

1

parent a29715a0
module.exports = { module.exports = {
devPort: 8080 opn: 0,
} devPort: 8080,
// const path = require('path'); proxy: {
'/ngapi/*': 'http://localhost:3000',
'/plugin/*': 'http://localhost:3000',
// module.exports = { '/ngame/*': 'http://localhost:3000',
// context: __dirname, '/activityCommon/*': 'http://localhost:3000',
// src: [path.resolve(__dirname, 'src'),path.resolve(__dirname, 'unit')], '/ctool/*': 'http://localhost:3000',
'/activityVist/*': 'http://localhost:3000',
// backup: path.resolve(__dirname, 'backup'), '/collectGoods/*': 'http://localhost:3000',
// skins: path.resolve(__dirname, 'src/skins'), '/activityPlugDrawInfo/*': 'http://localhost:3000',
// mock: path.resolve(__dirname, 'mock'), '/collectRule/*': 'http://localhost:3000',
// templates: path.resolve(__dirname, 'src/templates'), '/hdtool/*': 'http://localhost:3000',
// alias: { '/activityPlugin/*': 'http://localhost:3000',
// src: path.resolve(__dirname, 'src'), '/summer/*': 'http://localhost:3000'
// '@src': path.resolve(__dirname, 'src'), }
// '@unit': path.resolve(__dirname, 'unit'), }
// '@skins': path.resolve(__dirname, 'src/skins'), \ No newline at end of file
// '@common': path.resolve(__dirname, 'src/common'),
// react: 'preact-compat',
// 'react-dom': 'preact-compat'
// },
// customEntry: ['index', 'components'], // 自定义入口 每个皮肤的entry
// publicEntry: {
// // 皮肤入口以外的常驻入口 js会按顺序加载执行
// 'common/base': '@src/common/base/base.js',
// 'common/common': '@src/common/base/common.js',
// entry: '@src/entry.js'
// },
// entryHtmlPath: path.resolve(__dirname, 'src/entry.html'),
// remUnit: 234.375, // 640算法: 234.375 750算法: 100
// urlLimit: 1024 * 3, // url-loader 图片转base64
// devPort: 6868,
// ossPath: '/h5/activity_custom/', // oss 文件夹路径
// domain_production: '//yun.duiba.com.cn',
// domain_development: '//yun.dui88.com',
// tinify: true, // 是否需要图片压缩
// autoUpload: true, // 是否需要自动上传cdn
// tinifyKey: 'A0Wm6WCH62JcnL28CjEletF5uFqaFXYN',
// tinify: true, // 是否需要图片压缩
// autoUpload: true, // 是否需要自动上传cdn
// imageExts: ['jpg', 'jpeg', 'png'], // tinypng要压缩的图片类型
// uploadExts: ['js', 'map', 'css', 'png', 'jpg'],
// useApiProxy: false,
// proxyTarget:
// 'http://ams.dui88.com/server/index.php?g=Web&c=Mock&o=simple&projectID=3&uri='
// };
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment