Skip to content

Commit

Permalink
fix postinstall and webpack.config.ssr.ts types
Browse files Browse the repository at this point in the history
  • Loading branch information
DanDroryAu committed Jan 17, 2025
1 parent a608647 commit f81b194
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/sku/scripts/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ try {

// Suppressing eslint. These imports will work after the build steps for postinstall.

const { setCwd } = await import('../dist/lib/cwd.js');
const { setCwd } = await import('../dist/utils/cwd.js');

const banner = (await import('../dist/lib/banner.js')).default;
const banner = (await import('../dist/utils/banners/banner.js')).default;

const log = debug('sku:postinstall');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { dirname, join, sep } from 'node:path';
import { fileURLToPath } from 'node:url';
import { createRequire } from 'node:module';
import webpack, { type Configuration } from 'webpack';
import webpack from 'webpack';
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
import nodeExternals from 'webpack-node-externals';
import findUp from 'find-up';
Expand Down

0 comments on commit f81b194

Please sign in to comment.