feat(react): update react-output-target #633
Conversation
|
The base branch was changed.
370eec4 to
291d8fe
Compare
|
|
c98c9bc to
03483b5
Compare
|
|
…pdate-react-output-target
|
|



Summary
This pull request includes several changes to the configuration and dependencies of the project, as well as updates to the build process for the React and Vue packages. The most important changes involve updates to the
vite.config.jsfile, dependency versions inpackage.json, and adjustments to the build configurations for React and Vue.Configuration Updates:
apps/docs-vue/vite.config.js: Updated the Vite configuration to treat tags with hyphens as custom elements.packages/core/stencil.config.ts: Added a new output target typedist-custom-elementsand updated the React output target configuration. Removed thereactBooleanFixOutputTargetconfiguration. [1] [2]Dependency Updates:
package.json: Updated versions of several dependencies, including@stencil/core,@stencil/react-output-target, and various@storybookpackages. [1] [2] [3]Build Process Adjustments:
packages/react/package.json: Simplified the build process by consolidating the CommonJS and ESM build steps into a single compile step.packages/react/tsconfig.json: Changed the module system toesnextand updated the module resolution tobundler.packages/vue/tsconfig.json: Updated the module resolution tobundler.Code Refactoring:
packages/react/src/index.ts: Adjusted the export path for components.These changes improve the overall configuration and build processes, ensuring that the project stays up-to-date with the latest dependencies and follows best practices for module resolution and output targets.