Skip to content

Commit

Permalink
chore(ui): add father config
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshinesmilelk committed May 7, 2024
1 parent 76cadd2 commit 95eb30c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .changeset/six-carpets-matter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
'@difizen/mana-ui': patch
'@difizen/mana-docs': patch
'@difizen/mana-app': patch
'@difizen/mana-common': patch
'@difizen/mana-core': patch
'@difizen/mana-l10n': patch
'@difizen/mana-observable': patch
'@difizen/mana-react': patch
'@difizen/mana-syringe': patch
---

chore: add father config
9 changes: 8 additions & 1 deletion packages/mana-ui/.fatherrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ export default {
cjs: {
output: 'lib',
},
extraBabelPlugins: [],
extraBabelPlugins: [
['@babel/plugin-proposal-decorators', { legacy: true }],
['@babel/plugin-transform-flow-strip-types'],
['@babel/plugin-transform-class-properties', { loose: true }],
['@babel/plugin-transform-private-methods', { loose: true }],
['@babel/plugin-transform-private-property-in-object', { loose: true }],
'babel-plugin-parameter-decorator',
],
extraBabelPresets: [
[
'@babel/preset-react',
Expand Down

0 comments on commit 95eb30c

Please sign in to comment.