Skip to content

Commit b4ec7f2

Browse files
fix: pass images option from Vite plugin (#351)
1 parent 9f18900 commit b4ec7f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/vite-plugin/src/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,13 @@ export default function netlify(options: NetlifyPluginOptions = {}): any {
3030
return
3131
}
3232
const logger = createLoggerFromViteLogger(viteDevServer.config.logger)
33-
const { blobs, edgeFunctions, functions, middleware = true, redirects, staticFiles } = options
33+
const { blobs, edgeFunctions, functions, images, middleware = true, redirects, staticFiles } = options
3434

3535
const netlifyDev = new NetlifyDev({
3636
blobs,
3737
edgeFunctions,
3838
functions,
39+
images,
3940
logger,
4041
redirects,
4142
serverAddress: null,

0 commit comments

Comments
 (0)