Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
崔立强
db-game-template
Commits
a5e05ff4
Commit
a5e05ff4
authored
Oct 09, 2018
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a29715a0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
47 deletions
+17
-47
.buildrc.js
.buildrc.js
+17
-47
No files found.
.buildrc.js
View file @
a5e05ff4
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment