@greenwood/cli
Advanced tools
Comparing version 0.27.0-alpha.6 to 0.27.0-alpha.7
{ | ||
"name": "@greenwood/cli", | ||
"version": "0.27.0-alpha.6", | ||
"version": "0.27.0-alpha.7", | ||
"description": "Greenwood CLI.", | ||
@@ -69,3 +69,3 @@ "type": "module", | ||
}, | ||
"gitHead": "4f627bc70191723b62e446fafb2921afb15c8fa4" | ||
"gitHead": "8c4fc754c996614564e94153f3fe7e610be0189f" | ||
} |
@@ -28,2 +28,3 @@ import fs from 'fs'; | ||
if (extension !== '.js') { | ||
const originalUrl = `${id}?type=${extension.replace('.', '')}`; | ||
let contents; | ||
@@ -34,3 +35,3 @@ | ||
request: { | ||
originalUrl: id | ||
originalUrl | ||
}, | ||
@@ -37,0 +38,0 @@ response: { |
@@ -122,3 +122,3 @@ /* eslint-disable complexity, max-depth */ | ||
} else if (isDynamic) { | ||
const routeWorkerUrl = compilation.config.plugins.filter(plugin => plugin.type === 'renderer')[0].provider().workerUrl; | ||
const routeWorkerUrl = compilation.config.plugins.filter(plugin => plugin.type === 'renderer')[0].provider(compilation).workerUrl; | ||
let ssrFrontmatter; | ||
@@ -125,0 +125,0 @@ |
145385
47
3435