env.js 869 B

1234567891011121314151617181920
  1. const { version, homepage } = require('./package.json');
  2. const cdn = process.env.NEXT_PUBLIC_LOCAL_QUILL
  3. ? `http://localhost:${process.env.npm_package_config_ports_webpack}`
  4. : `https://cdn.jsdelivr.net/npm/quill@${version}/dist`;
  5. module.exports = {
  6. version,
  7. cdn,
  8. github: 'https://github.com/slab/quill/tree/main/packages/website/',
  9. highlightjs: 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0',
  10. katex: 'https://cdn.jsdelivr.net/npm/katex@0.16.9/dist',
  11. url: homepage,
  12. title: 'Quill - Your powerful rich text editor',
  13. shortTitle: 'Quill Rich Text Editor',
  14. description:
  15. 'Quill is a free, open source WYSIWYG editor built for the modern web. Completely customize it for any need with its modular architecture and expressive API.',
  16. shortDescription:
  17. 'Quill is a free, open source rich text editor built for the modern web.',
  18. };