web-dev-server.config.js 363 B

1234567891011121314151617181920
  1. /**
  2. * @license
  3. * Copyright 2021 Google LLC
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. import {legacyPlugin} from '@web/dev-server-legacy';
  7. export default {
  8. nodeResolve: true,
  9. preserveSymlinks: true,
  10. plugins: [
  11. legacyPlugin({
  12. polyfills: {
  13. // Manually imported in index.html file
  14. webcomponents: false,
  15. },
  16. }),
  17. ],
  18. };