import AuthPlugin from './demo/elements/authorization/AuthPlugin.js'

export default /** @type {import('@web/dev-server').DevServerConfig} */ ({
  open: '/demo/',
  nodeResolve: {
    browser: true,
    dedupe: [
      'lit',
      'lit-html',
      'lit-element',
      'lit-html/directives',
      '@material/web',
      '@open-wc/dedupe-mixin',
      '@api-client/core',
    ],
  },

  preserveSymlinks: true,

  plugins: [AuthPlugin],
})
