Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
fix: 修复属性 namespace 构建错误的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck committed Apr 3, 2020
1 parent 79db52d commit 838043b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-preset-remax/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function preset(api: any, presetOption: PresetOption) {
decoratorsBeforeExport: true,
};
const throwIfNamespace =
typeof presetOption['throw-if-namespace'] === 'undefined' ? true : presetOption['throw-if-namespace'];
typeof presetOption['throw-if-namespace'] === 'undefined' ? false : presetOption['throw-if-namespace'];

const presets = [require('@babel/preset-env')];

Expand Down

1 comment on commit 838043b

@vercel
Copy link

@vercel vercel bot commented on 838043b Apr 3, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.