Skip to content

Commit 5007aab

Browse files
committed
🐛 fixed only node error
1 parent 7863a00 commit 5007aab

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@micro-app/cli",
3-
"version": "0.1.1-rc.1",
3+
"version": "0.1.1-rc.3",
44
"description": "[CLI] Pluggable micro application framework.",
55
"bin": {
66
"micro-app": "./bin/micro-app.js",
@@ -45,7 +45,7 @@
4545
"webpack": "^4.39.2"
4646
},
4747
"dependencies": {
48-
"@micro-app/core": "^0.1.1-rc.4",
48+
"@micro-app/core": "^0.1.1-rc.5",
4949
"koa": "^2.8.1",
5050
"koa-static": "^5.0.0",
5151
"opn": "^5.5.0",

plugins/commands/serve/runServe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = function runServe(api, isDev, { type, onlyNode, progress, port,
1515
port, host,
1616
};
1717

18-
if (isDev) {
18+
if (isDev && !onlyNode) {
1919
const { compiler, devOptions, webpackConfig } = webpackAdapter(api, { type, isDev, progress });
2020

2121
startInfo.compiler = compiler;

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,10 +379,10 @@
379379
"@types/istanbul-reports" "^1.1.1"
380380
"@types/yargs" "^13.0.0"
381381

382-
"@micro-app/core@^0.1.1-rc.4":
383-
version "0.1.1-rc.4"
384-
resolved "https://registry.yarnpkg.com/@micro-app/core/-/core-0.1.1-rc.4.tgz#ac1e8ca9b0d3411ee795cb2a4118c90a8d9f4870"
385-
integrity sha512-yAZFPBnNC++cX7pX9fi7Xg1k6wPjC3nG+irWckbfaJYPrl5PWDptNPYs+fZIzYUmcBP5L54wVeecvHwEyjOJwA==
382+
"@micro-app/core@^0.1.1-rc.5":
383+
version "0.1.1-rc.5"
384+
resolved "https://registry.yarnpkg.com/@micro-app/core/-/core-0.1.1-rc.5.tgz#0a9167aca0b6583e62c7837950c228b6af2c82f7"
385+
integrity sha512-p7cxoWpq/ji8qW3TFPiwJm1U8NHQ37fcChHLv0aQCVuQLYBvlSvhCSTY8wQPJRxr1J1vlopat+0h52I8w4HRZg==
386386
dependencies:
387387
ajv "^6.10.2"
388388
ajv-keywords "^3.4.1"

0 commit comments

Comments
 (0)