fix: Fix containing various changes that stacked up in a period of time (#22)

This commit is contained in:
deytenit authored and GitHub committed 2026-08-10 09:04:39 +03:00
1 parent 1b3d7cecb2
commit 77afcca98e
163 files changed
+4268 -3852

No files matched your search

+43
View File
@@ -0,0 +1,43 @@
import { definePackageConfig } from '@ermnvldmr/rsbuild-config/dev';
export default definePackageConfig({
source: {
entry: {
index: './src/index.ts',
},
},
output: {
distPath: {
root: 'dist',
js: '',
},
filename: {
js: '[name].js',
},
cleanDistPath: true,
},
tools: {
rspack: {
output: {
library: {
type: 'module',
},
},
experiments: {
outputModule: true,
},
externals: [
'react',
'react-dom',
'react/jsx-runtime',
'react/jsx-dev-runtime',
'tailwindcss',
'@ermnvldmr/i18n',
'@ermnvldmr/stl',
'@ermnvldmr/ui',
'class-variance-authority',
],
externalsType: 'module',
},
},
});