File tree 1 file changed +2
-3
lines changed
packages/website/docs/02-Getting Started
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ The reason for splitting the design system code from the application code is tha
51
51
Having them as separate workspace projects is a good practice since it allows setting up different dependencies for each of them.
52
52
53
53
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.
55
55
56
56
Another example is _not_ setting up a styling library (like Vanilla Extract) in `app` : ideally, `app` should only use the design system components
57
57
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({
98
98
outDir: "lib",
99
99
esbuildPlugins: [vanillaExtractPlugin()],
100
100
dts: true,
101
- // See https://esbuild.github.io/content-types/#auto-import-for-jsx
102
- inject: ["./jsxShim.ts"],
101
+ jsx: "automatic",
103
102
// Include here the css files coming from external dependencies, which we
104
103
// recommend to bundle in your design system package.
105
104
noExternal: [
You can’t perform that action at this time.
0 commit comments