Skip to content

Commit

Permalink
chore: build for node
Browse files Browse the repository at this point in the history
  • Loading branch information
joelvoss committed Jun 8, 2024
1 parent 95886fa commit 2ae4405
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as fs from 'fs';
import * as fs from 'node:fs';
import * as path from 'node:path';
import { execSync } from 'node:child_process';
import * as tmp from 'tmp';
import * as path from 'path';
import { execSync } from 'child_process';
import * as mkdirp from 'mkdirp';
import { readPackageUpSync } from 'readpkg-lit';

Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
export default defineConfig({
plugins: [dts({ rollupTypes: true, logLevel: 'error' })],
build: {
ssr: true,
// NOTE(joel): Don't minify, because every consumer will minify themselves
// anyway. We're only bundling for the sake of publishing to npm.
minify: false,
Expand Down

0 comments on commit 2ae4405

Please sign in to comment.