Skip to content

Commit

Permalink
chore(configuration-panel): add babel config
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshinesmilelk committed Dec 16, 2024
1 parent 875ebfe commit 2b83e6c
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"dependencies": {
"@ant-design/icons": "^5.1.0",
"@difizen/mana-app": "^0.1.31",
"@difizen/mana-configuration-panel": "0.0.1",
"@difizen/mana-configuration-panel": "0.1.31",
"@difizen/mana-l10n": "^0.1.31",
"@difizen/mana-react": "^0.1.31",
"@difizen/umi-plugin-mana": "^0.1.31",
Expand Down
20 changes: 20 additions & 0 deletions packages/mana-configuration-panel/babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"presets": [
"@babel/preset-env",
[
"@babel/preset-react",
{
"runtime": "automatic"
}
],
"@babel/preset-typescript"
],
"plugins": [
["@babel/plugin-proposal-decorators", { "legacy": true }],
["@babel/plugin-transform-flow-strip-types", { "allowDeclareFields": true }],
["@babel/plugin-transform-private-methods", { "loose": true }],
["@babel/plugin-transform-private-property-in-object", { "loose": true }],
["@babel/plugin-transform-class-properties", { "loose": true }],
"babel-plugin-parameter-decorator"
]
}
2 changes: 1 addition & 1 deletion packages/mana-configuration-panel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@difizen/mana-configuration-panel",
"version": "0.0.1",
"version": "0.1.31",
"keywords": [
"mana",
"difizen",
Expand Down
2 changes: 1 addition & 1 deletion packages/mana-configuration-panel/src/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import assert from 'assert';

describe('mana-configuration-panel', () => {
it('import', () => {
it('#import', () => {
assert(true);
});
});

0 comments on commit 2b83e6c

Please sign in to comment.