babel.config.js 483 B

12345678910111213141516171819202122
  1. /*
  2. * @Author: lf
  3. * @Date: 2022-09-28 18:56:09
  4. * @LastEditors: lf
  5. * @LastEditTime: 2022-09-29 09:28:25
  6. * @FilePath: \abc\babel.config.js
  7. * @Description:
  8. * @custom_string_lf: 你可以期待太阳从东方升起,而风却随心所欲地从四面八方吹来。 --萨特
  9. */
  10. module.exports = {
  11. presets: ["@babel/preset-env"],
  12. plugins: [
  13. [
  14. "component",
  15. {
  16. libraryName: "element-ui",
  17. styleLibraryName: "theme-chalk",
  18. },
  19. ],
  20. ],
  21. };