Skip to content

Commit 4be91b3

Browse files
authored
Update 03-project-structure.mdx
1 parent fbdf19d commit 4be91b3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/website/docs/02-Getting Started/03-project-structure.mdx

+2-3
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The reason for splitting the design system code from the application code is tha
5151
Having them as separate workspace projects is a good practice since it allows setting up different dependencies for each of them.
5252
5353
For example, we recommend _not_ adding a i18n library (like `react-intl` or `react-i18next`) to the `design-system` project, so you
54-
will autoomatically make sure the UI components are parametric with respect to the localization aspects.
54+
will automatically make sure the UI components are parametric with respect to the localization aspects.
5555

5656
Another example is _not_ setting up a styling library (like Vanilla Extract) in `app`: ideally, `app` should only use the design system components
5757
and in those rare cases in which this isn't true, plain CSS support (as it comes with tools like Create React App) should be enough.
@@ -98,8 +98,7 @@ export default defineConfig({
9898
outDir: "lib",
9999
esbuildPlugins: [vanillaExtractPlugin()],
100100
dts: true,
101-
// See https://esbuild.github.io/content-types/#auto-import-for-jsx
102-
inject: ["./jsxShim.ts"],
101+
jsx: "automatic",
103102
// Include here the css files coming from external dependencies, which we
104103
// recommend to bundle in your design system package.
105104
noExternal: [

0 commit comments

Comments
 (0)