babel.config.js 432 B

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