Skip to content

Commit

Permalink
fix: Fix rollup.config.js for Windows (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
svanherk committed Jan 3, 2024
1 parent 9d5f7e4 commit 46f5888
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { cwd } from 'node:process';
import { rollupPluginHTML as html } from '@web/rollup-plugin-html';
import { join } from 'path';
import { nodeResolve } from '@rollup/plugin-node-resolve';
import { PATHS } from './visual-diff-plugin.js';

export default {
input: join(PATHS.VDIFF_ROOT, PATHS.REPORT_ROOT, './temp/index.html'),
input: join(cwd(), PATHS.VDIFF_ROOT, PATHS.REPORT_ROOT, './temp/index.html'),
output: {
dir: join(PATHS.VDIFF_ROOT, PATHS.REPORT_ROOT)
},
Expand Down

0 comments on commit 46f5888

Please sign in to comment.