21 Commits

Author SHA1 Message Date
Tony Brix
9b02e477c6
chore: consolidate eslint rules (#3368) 2024-07-14 18:54:46 -06:00
Tony Brix
6055e5e402
chore: add version and copyright to marked.min.js (#2976) 2023-09-10 09:05:00 -06:00
Tony Brix
7d95a91093
fix: Clean up files in repo (#2963)
BREAKING CHANGE:

- remove built files from git repo.
  - If you need to use the latest version of marked on the web you can use a cdn to get marked.min.js from npm:
  - `https://cdn.jsdelivr.net/npm/marked/marked.min.js`
2023-09-09 17:51:42 -06:00
Tony Brix
610bc45d96
fix: use rollup to output js files (#2916) 2023-08-07 16:50:43 -06:00
Florian Dreier
cb549065f1
fix: Migrate to Typescript (#2805)
BREAKING CHANGE: Migrate to Typescript
2023-07-29 00:31:34 -06:00
Tony Brix
5c9447139e
chore: fix bench (#2840) 2023-06-07 02:19:13 -05:00
Tony Brix
79b8c0b838 fix: add version to build files 2023-01-13 20:42:59 -06:00
Tristan F
886de34853
chore(ci): add version, unify output (#2701)
Co-authored-by: Tony Brix <tony@brix.ninja>
fixes undefined
2023-01-13 20:27:58 -06:00
dependabot[bot]
fdbbec699f
chore(deps-dev): Bump rollup from 2.79.1 to 3.2.5 (#2646)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tony Brix <tony@brix.ninja>
2022-11-10 19:46:16 -06:00
Ben McCann
62faaf4c91
fix: Create separate CJS and UMD builds (#2281) 2021-11-12 15:38:04 -06:00
Ben McCann
4afb228d95
fix: Convert to ESM (#2227)
BREAKING CHANGE:

- Default export removed. Use `import { marked } from 'marked'` or `const { marked } = require('marked')` instead.
- `/lib/marked.js` removed. Use `/marked.min.js` in script tag instead.
- When using marked in a script tag use `marked.parse(...)` instead of `marked(...)`
2021-11-02 09:32:17 -05:00
Ben McCann
223e61dbdc
Fix: use named exports only for ESM build (#2226) 2021-10-07 09:07:13 -04:00
Ben McCann
4bc91215a0
fix: Remove esm interop (#2225) 2021-10-06 16:55:49 -05:00
Pirate Praveen Arimbrathodiyil
a8bd8b3593
chore(deps): Update legacy rollup plugins (#1894) 2021-01-08 10:47:25 -06:00
Mateusz Burzyński
e2aadef8fa Use Babel's loose mode for shorted & more performant code 2019-12-04 17:29:13 +01:00
Tony Brix
a8730bf7b9 update copyright year 2019-11-11 11:38:04 -06:00
Tony Brix
d979d26bb4 clean up code 2019-11-06 16:12:58 -06:00
Tony Brix
e13d6f9c72 add DO NOT EDIT comment in compiled files 2019-11-06 15:56:29 -06:00
Tony Brix
a4652f1363 add license in rollup 2019-11-06 11:54:31 -06:00
Tony Brix
f9f5580c42 use commonjs and es6 classes 2019-11-06 11:11:06 -06:00
Tony Brix
0957c22f08 update deps and add rollup and babel 2019-11-05 15:30:38 -06:00