snowpack.config.js 510 B

1234567891011121314151617181920212223242526272829
  1. // Snowpack Configuration File
  2. // See all supported options: https://www.snowpack.dev/reference/configuration
  3. /** @type {import("snowpack").SnowpackUserConfig } */
  4. module.exports = {
  5. mount: {
  6. "src": "/",
  7. "assets": "/"
  8. },
  9. plugins: [
  10. "@snowpack/plugin-typescript"
  11. ],
  12. packageOptions: {
  13. /* ... */
  14. },
  15. devOptions: {
  16. open: 'none',
  17. port: 8000
  18. },
  19. buildOptions: {
  20. out: 'dist'
  21. /* ... */
  22. },
  23. optimize: {
  24. bundle: true,
  25. minify: true,
  26. target: 'es2018'
  27. }
  28. };