Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 1.48 KB

integrations.md

File metadata and controls

64 lines (48 loc) · 1.48 KB

Setup integrations

Setup or debug integration with Webpack, Jest, etc

alias cli

The Integrations menu allows you to:

Setup integration

This menu shows you the documented list of integrations:

? What do you want to do? Setup integration
? Integration:
❯ - VS Code
  - WebStorm
  - Webpack
  - Rollup
  - Vite
  - Jest
  - Vue
  - React
  - Node
  - JSON-only

They simply link to this documentation and provide specifics of setting up each IDE / framework / lib.

Debug integration

This menu lets you choose from the available plugins and format options, then prints the results:

? What do you want to do? Debug integration
? Which integration? Rollup
? Which format? Array

    [
      {
        "find": "@app",
        "replacement": "/Volumes/Data/AliasHQ/demos/alias-hq-demo/src/app"
      },
      {
        "find": "@data",
        "replacement": "/Volumes/Data/AliasHQ/demos/alias-hq-demo/src/app/data"
      },
      {
        "find": "@views",
        "replacement": "/Volumes/Data/AliasHQ/demos/alias-hq-demo/src/app/views"
      }
    ]

You can use this to:

  • see the raw output to debug a paths problem
  • copy and paste if you need hardcoded JSON
  • help develop and debug your own plugins