Skip to content

Commit

Permalink
[Bugfix]优化系统管理子应用无法正常启动 (#1167)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wyb7290 authored Oct 15, 2023
1 parent 3b72f73 commit 3f81799
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ const babelOptions = {
cacheDirectory: true,
babelrc: false,
presets: [require.resolve('@babel/preset-env'), require.resolve('@babel/preset-typescript'), require.resolve('@babel/preset-react')],
overrides: [
// TODO:编译时需要做的事情更多,应该只针对目标第三方库
{
include: './node_modules',
sourceType: 'unambiguous'
}
],
plugins: [
[require.resolve('@babel/plugin-proposal-decorators'), { legacy: true }],
[require.resolve('@babel/plugin-proposal-class-properties'), { loose: true }],
Expand Down

0 comments on commit 3f81799

Please sign in to comment.