Commit a5e05ff4 authored by wildfirecode's avatar wildfirecode

1

parent a29715a0
module.exports = { module.exports = {
devPort: 8080 opn: 0,
devPort: 8080,
proxy: {
'/ngapi/*': 'http://localhost:3000',
'/plugin/*': 'http://localhost:3000',
'/ngame/*': 'http://localhost:3000',
'/activityCommon/*': 'http://localhost:3000',
'/ctool/*': 'http://localhost:3000',
'/activityVist/*': 'http://localhost:3000',
'/collectGoods/*': 'http://localhost:3000',
'/activityPlugDrawInfo/*': 'http://localhost:3000',
'/collectRule/*': 'http://localhost:3000',
'/hdtool/*': 'http://localhost:3000',
'/activityPlugin/*': 'http://localhost:3000',
'/summer/*': 'http://localhost:3000'
}
} }
\ No newline at end of file
// const path = require('path');
// module.exports = {
// context: __dirname,
// src: [path.resolve(__dirname, 'src'),path.resolve(__dirname, 'unit')],
// backup: path.resolve(__dirname, 'backup'),
// skins: path.resolve(__dirname, 'src/skins'),
// mock: path.resolve(__dirname, 'mock'),
// templates: path.resolve(__dirname, 'src/templates'),
// alias: {
// src: path.resolve(__dirname, 'src'),
// '@src': path.resolve(__dirname, 'src'),
// '@unit': path.resolve(__dirname, 'unit'),
// '@skins': path.resolve(__dirname, 'src/skins'),
// '@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