Skip to content

Commit

Permalink
v0.2.16
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoo0122 authored Oct 28, 2020
2 parents c99e794 + daa1c1e commit 0ef570f
Show file tree
Hide file tree
Showing 4 changed files with 735 additions and 33 deletions.
22 changes: 22 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,35 @@ module.exports = {
'@babel/preset-react',
['@babel/preset-typescript', { isTSX: true, allExtensions: true }],
],
plugins: [
["@babel/plugin-proposal-decorators", { legacy: true }],
['@babel/plugin-proposal-class-properties', { loose: false }],
['@babel/plugin-transform-classes', { loose: true }],
['transform-imports', {
'core-decorators': {
transform: 'core-decorators/lib/${member}',
preventFullImport: true,
},
}],
],
},
build: {
presets: [
['@babel/preset-env'],
'@babel/preset-react',
['@babel/preset-typescript', { isTSX: true, allExtensions: true }],
],
plugins: [
["@babel/plugin-proposal-decorators", { legacy: true }],
['@babel/plugin-proposal-class-properties', { loose: false }],
['@babel/plugin-transform-classes', { loose: true }],
['transform-imports', {
'core-decorators': {
transform: 'core-decorators/lib/${member}',
preventFullImport: true,
},
}],
],
},
},
}
Loading

0 comments on commit 0ef570f

Please sign in to comment.