Skip to content

Commit

Permalink
fix: ignore browserslist config when compiling demo (#1825)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript authored Aug 8, 2023
1 parent fe560f9 commit de13aa5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/preset-dumi/src/transformer/demo/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const getBabelOptions = ({ isTSX, fileAbsPath, transformRuntime }: IDemoO
{
reactRequire: false,
typescript: isTSX,
env: { ignoreBrowserslistConfig: true },
...(transformRuntime === undefined ? {} : { transformRuntime }),
},
],
Expand Down

1 comment on commit de13aa5

@vercel
Copy link

@vercel vercel bot commented on de13aa5 Aug 8, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

dumi – ./

dumi-git-1x-chencheng.vercel.app
dumi-chencheng.vercel.app
v1.d.umijs.org

Please sign in to comment.