Updated component library build.
This commit is contained in:
1 parent
280f6a9113
commit
89db57a380
14 files changed
+146
-99
No files matched your search
@@ -44,11 +44,6 @@ const jsBundle = {
|
||||
output: [
|
||||
{
|
||||
file: 'dist/index.js',
|
||||
format: 'cjs',
|
||||
sourcemap: true,
|
||||
},
|
||||
{
|
||||
file: 'dist/index.mjs',
|
||||
format: 'es',
|
||||
sourcemap: true,
|
||||
},
|
||||
@@ -78,7 +73,7 @@ const jsBundle = {
|
||||
alias(aliasConfig),
|
||||
esbuild({
|
||||
target: 'es6',
|
||||
jsx: 'transform',
|
||||
jsx: 'automatic',
|
||||
loaders: {
|
||||
'.js': 'jsx',
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user