Commit 2b1e9cf8 authored by wildfirecode's avatar wildfirecode

1

parent a8d8ef69
......@@ -46,6 +46,7 @@ var serverStart = opts => {
module.exports = {
close: () => { },
start: opts => {
console.log(opts)
serverStart(opts);
}
};
\ No newline at end of file
......@@ -18,7 +18,7 @@ let config = opts => {
plugins: [
new MockWebpackPlugin({
config: mockConfig,
port: 3000
port: opts.mockPort
})
]
});
......
......@@ -7,6 +7,7 @@ class DuibaGameBuild {
constructor(config) {
let defaults = {
devPort: 8081,
mockPort:3000,
devServerWatchOptions: {},
proxy: {
'/customActivity/*': 'http://localhost:3000',
......
......@@ -18,5 +18,5 @@
"webpack-dev-server": "^3.1.0",
"webpack-merge": "^4.1.2"
},
"version": "0.0.14"
"version": "0.0.16"
}
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