David Anson
|
89eef68dbd
|
Remove @babel/core, @babel/preset-env, babel-loader packages as (dev) dependencies.
|
2024-02-17 15:46:13 -08:00 |
|
David Anson
|
ff1f3e32e6
|
Update markdownlint-browser.js generation to use browserslist "default" target (reduces size by roughly half).
|
2024-01-06 20:47:01 -08:00 |
|
David Anson
|
c15262a0f5
|
Switch to using npm version of markdownlint-micromark package and browser script.
|
2023-02-25 15:50:57 -08:00 |
|
David Anson
|
ed854f7092
|
Convert demo from using ts-loader to babel-loader for transpiling JavaScript for web browsers (adds support for .cjs, see https://github.com/TypeStrong/ts-loader/pull/1503).
|
2023-02-25 15:50:52 -08:00 |
|
David Anson
|
5684685d5b
|
Update markdownlint-browser.(min.)js to export library and helpers objects (near-zero effect on file size), do not output markdownlint-rule-helpers-browser.(min.)js any more, update demo web page accordingly.
|
2022-12-29 00:44:29 +00:00 |
|
David Anson
|
8c622a9bac
|
Refactor webpack.config.js for better code sharing, use default options for TerserPlugin, restore copyright banner for minified scripts.
|
2022-08-20 16:24:53 -07:00 |
|
David Anson
|
4c00ffa2f0
|
Fix new violations from eslint-plugin-unicorn update.
|
2022-08-15 21:20:27 -07:00 |
|
David Anson
|
a8f946e0b3
|
Refactor/simplify helpers.getPreferredLineEnding to use os.EOL instead of process.platform.
|
2022-05-06 21:04:34 -07:00 |
|
David Anson
|
295e481552
|
Fix null dereference in helpers.getPreferredLineEnding when running in browser (platform unknown, process object not available) and input string does not contain line endings.
|
2022-05-04 22:09:11 -07:00 |
|
David Anson
|
fd24b9552b
|
Remove require("os") from helpers to reduce dependencies for browser scenarios.
|
2021-12-27 03:41:43 +00:00 |
|
David Anson
|
8e22c009fd
|
Add transpileOnly=true to ts-loader/webpack to reduce build-demo script time by ~40%.
|
2021-11-13 12:40:51 -08:00 |
|
David Anson
|
febfcd73c9
|
Trivial simplifications to webpack.config.js.
|
2021-11-09 22:11:35 -08:00 |
|
David Anson
|
5838b62e6d
|
Use ts-loader with webpack to avoid needing to compile lib-es3.
|
2021-01-06 19:45:15 -08:00 |
|
David Anson
|
369b0b5934
|
Replace browserify/uglify-js with webpack, shrink markdownlint-browser.js (fixes #362).
|
2021-01-05 20:55:09 -08:00 |
|