arco-design / arco-cli

CLI tool for Arco Design
https://arco.design/docs/material/guide
MIT License
203 stars 76 forks source link

总是会有这个异常出现,不知道怎么解决 #51

Closed ghost closed 1 year ago

ghost commented 1 year ago

Describe the bug Module parse failed unexpected token

To Reproduce Steps to reproduce the behavior:

  1. add component
  2. yarn dev
  3. Module parse failed unexpected token

Expected behavior none

Screenshots origin_img_v2_b656b3a7-3fd4-4ad5-bc09-1a38a42b8c6g

Desktop (please complete the following information):

Additional context none

MisterLuffy commented 1 year ago

引入了什么其他的文件类型吗?拓展一下 Storybook 的 webpack 配置试试呢。