Skip to content

Commit

Permalink
refactor jsx references
Browse files Browse the repository at this point in the history
  • Loading branch information
DanDroryAu committed Dec 18, 2024
1 parent b004645 commit 05bc873
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/sku/src/config/webpack/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const makeWebpackConfig = ({
require.resolve(polyfill, { paths: [cwd()] }),
) || [];

const skuClientEntry = require.resolve('../../entry/client/index.js');
const skuClientEntry = require.resolve('../../entry/client/index.jsx');

const createEntry = (entry: string): string[] => [
...resolvedPolyfills,
Expand Down
2 changes: 1 addition & 1 deletion packages/sku/src/entry/render/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import debug from 'debug';
import { getChunkName } from '@vocab/webpack/chunk-name';
import serializeJavascript from 'serialize-javascript';
import makeExtractor from '../makeExtractor.js';
import makeExtractor from '../makeExtractor.jsx';
import clientContextKey from '../clientContextKey.js';
import createCSPHandler from '../csp.js';
import type { RenderAppProps } from '../../../sku-types.d.ts';
Expand Down
2 changes: 1 addition & 1 deletion packages/sku/src/entry/server/server.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { getChunkName } from '@vocab/webpack/chunk-name';
import path from 'node:path';
import express, { static as expressStatic, type Express } from 'express';
import makeExtractor from '../makeExtractor.js';
import makeExtractor from '../makeExtractor.jsx';
import createCSPHandler from '../csp.js';
import serverExports from '__sku_alias__serverEntry';
import webpackStats from '__sku_alias__webpackStats';
Expand Down

0 comments on commit 05bc873

Please sign in to comment.