babel.config.js 293 B

123456789101112
  1. module.exports = {
  2. presets: ["@vue/cli-plugin-babel/preset", "@linaria"],
  3. plugins: [
  4. "@vue/babel-plugin-jsx",
  5. [
  6. "import",
  7. { libraryName: "ant-design-vue", libraryDirectory: "es", style: true },
  8. "antd",
  9. ],
  10. "@babel/plugin-proposal-class-properties"
  11. ],
  12. };