@web/dev-server-rollup
Advanced tools
Comparing version 0.3.17 to 0.3.18
@@ -28,2 +28,3 @@ "use strict"; | ||
hasModuleSideEffects: false, | ||
moduleSideEffects: false, | ||
syntheticNamedExports: false, | ||
@@ -30,0 +31,0 @@ meta: (_a = pluginMetaPerModule.get(id)) !== null && _a !== void 0 ? _a : {}, |
@@ -213,3 +213,3 @@ "use strict"; | ||
} | ||
if (typeof (result === null || result === void 0 ? void 0 : result.code) === 'string') { | ||
if (result != null && typeof (result === null || result === void 0 ? void 0 : result.code) === 'string') { | ||
savePluginMeta(filePath, result); | ||
@@ -216,0 +216,0 @@ return { body: result.code, type: 'js' }; |
{ | ||
"name": "@web/dev-server-rollup", | ||
"version": "0.3.17", | ||
"version": "0.3.18", | ||
"publishConfig": { | ||
@@ -51,6 +51,6 @@ "access": "public" | ||
"@rollup/plugin-node-resolve": "^13.0.4", | ||
"@web/dev-server-core": "^0.3.16", | ||
"@web/dev-server-core": "^0.3.18", | ||
"nanocolors": "^0.2.1", | ||
"parse5": "^6.0.1", | ||
"rollup": "^2.66.1", | ||
"rollup": "^2.67.0", | ||
"whatwg-url": "^11.0.0" | ||
@@ -67,3 +67,3 @@ }, | ||
"@web/test-runner-chrome": "^0.10.0", | ||
"@web/test-runner-core": "^0.10.21", | ||
"@web/test-runner-core": "^0.10.27", | ||
"chai": "^4.2.0", | ||
@@ -70,0 +70,0 @@ "node-fetch": "3.0.0-beta.9", |
@@ -42,2 +42,3 @@ import path from 'path'; | ||
hasModuleSideEffects: false, | ||
moduleSideEffects: false, | ||
syntheticNamedExports: false, | ||
@@ -44,0 +45,0 @@ meta: pluginMetaPerModule.get(id) ?? {}, |
@@ -298,3 +298,3 @@ /* eslint-disable no-control-regex */ | ||
} | ||
if (typeof result?.code === 'string') { | ||
if (result != null && typeof result?.code === 'string') { | ||
savePluginMeta(filePath, result); | ||
@@ -301,0 +301,0 @@ return { body: result.code, type: 'js' }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
78347
1259
Updated@web/dev-server-core@^0.3.18
Updatedrollup@^2.67.0