• This project
    • Loading...
  • Sign in

fe / yohobuywap-node · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohobuywap-node
  • build
  • yo.dev.conf.js
  • fix background-size
    0516819f
    by 陈峰
    2018-08-22 11:48:22 +0800  
    Browse Files
yo.dev.conf.js 305 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
const yoBase = require('./yo.base.conf.js');
const yo = require('yo-cli');

module.exports = yo(yoBase)
    .dev({
        port: 5001,
        host: '0.0.0.0',
        disableHostCheck: true,
        headers: {
            'Access-Control-Allow-Origin': '*'
        },
    })
    .sourceMap()
    .run();