Commit Graph
235 Commits
Author SHA1 Message Date
fisker Cheung badff2d1d6 Update esm-utils to v3 (#12274) 2022-02-11 18:02:04 +08:00
fisker Cheung b1e59dd70a Save vendor licenses for build script (#12258) 2022-02-08 10:33:09 +08:00
fisker Cheung ac348c1dbb Build: Add --compare-size flag (#12187) 2022-02-07 12:00:43 +08:00
fisker Cheung 4ff9461a29 Improve build script (#12190) 2022-02-05 22:51:17 +08:00
fisker Cheung 8886e6310a Build: Add --clean (#12186) 2022-02-02 11:23:51 +09:00
fisker Cheung e3efd11401 Drop color support for standalone build (#12182) 2022-01-28 18:27:27 +08:00
fisker Cheung 08da4e55b0 Build: Remove define on second run (#12183) 2022-01-28 16:31:48 +08:00
fisker Cheung 9691e7bc37 Add acorn parser (#12172) 2022-01-28 15:25:30 +08:00
fisker Cheung 350c05330e Build: Minor tweak to the umd plugin (#12179) 2022-01-28 10:34:59 +08:00
fisker Cheung 02052fd6ce Build: Verbose text report (#12178) 2022-01-28 10:11:35 +08:00
fisker Cheung 9106e7ea13 Remove esm/doc.mjs (#12166) 2022-01-27 21:14:31 +08:00
fisker Cheung e73ee65d97 Reduce size of inherits module in parser-markdown.js (#12175) 2022-01-27 21:14:05 +08:00
Sosuke Suzuki 893f43a599 Remove unused api at build time (#12171) 2022-01-27 19:24:36 +09:00
fisker Cheung c9543b9fef Build: More reporter format (#12165) 2022-01-27 16:53:07 +08:00
fisker Cheung 950196fb88 Replace tslib entry when bundling parser-yaml.js (#12169) 2022-01-27 16:52:43 +08:00
fisker Cheung 54e9feb2d3 Build: Add --report flag (#12159) 2022-01-27 11:16:50 +08:00
fisker Cheung b08b79cc87 Update build script (#12157) 2022-01-27 09:37:55 +08:00
fisker Cheung f2ab2f9306 Remove useless TypeScriptServices from parser-typescript.js (#12155) 2022-01-26 22:27:10 +08:00
fisker Cheung f265e584df Build: Add --no-babel flag (#12153) 2022-01-26 20:33:15 +08:00
fisker Cheung 93af7641c9 Remove ts.sys in parser-typescript.js (#12151) 2022-01-26 19:38:03 +08:00
fisker Cheung d5bf36060f Exclude process shim (#12149) 2022-01-26 19:08:55 +08:00
fisker Cheung 7fbd4fcab3 Replace esbuild-plugin-browserslist with browserslist-to-esbuild (#12150) 2022-01-26 17:55:45 +08:00
fisker Cheung 2c5839b4ac Exclude assert shim (#12147) 2022-01-26 08:56:44 +08:00
dependabot[bot]andfisker Cheung 7b480b1400 Build(deps-dev): Bump esbuild from 0.14.11 to 0.14.13 (#12129)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-01-24 17:29:31 +08:00
fisker Cheung 16aa669141 Update rollup-plugin-license (#12081) 2022-01-16 10:21:29 +08:00
fisker Cheung cc6856ae20 Build: Switch to esbuild (backport #12052 and #10006) (#12055) 2022-01-14 15:58:13 +08:00
Sosuke Suzuki 6b254d57ec Add build script requirements (#11905) 2021-12-02 20:59:38 +09:00
fisker Cheung 62ede8b710 Build: Remove unnecessary aliases (#11868) 2021-11-29 12:52:43 +08:00
dependabot[bot]andfisker Cheung 2c9adaed39 Build(deps): Bump lines-and-columns from 1.1.6 to 2.0.3 (#11861)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-11-29 10:06:40 +08:00
fisker Cheung 569111e708 Update build script (#11858) 2021-11-27 18:47:02 +08:00
fisker Cheung 4d5f865373 Improve parser-postcss.js minify config (backport #11674) (#11677)
* Improve `parser-postcss.js` minify config (backport #11674)

* Add `string-replace-loader`

* Linting
2021-10-15 14:35:09 +09:00
fisker Cheung e96dc509ec Update eslint config (#11595) 2021-09-28 11:16:39 +08:00
dependabot[bot]andfisker Cheung 737d436a95 Build(deps-dev): Bump @rollup/plugin-commonjs from 18.1.0 to 20.0.0 (#11288)
* Build(deps-dev): Bump @rollup/plugin-commonjs from 18.1.0 to 20.0.0

Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 18.1.0 to 20.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v20.0.0/packages/commonjs)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Hack

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-09-24 06:22:57 +09:00
fisker Cheung 5ce28ddd7f Refactor website build script (#11488) 2021-09-11 09:55:46 +08:00
fisker Cheung 8a01dee53e Refactor build script (#11475) 2021-09-10 10:20:43 +08:00
Sosuke Suzukiandfisker Cheung 2664fcb2ba Enable import/no-anonymous-default-export (#11478)
* Enable import/no-anonymous-default-export

* Add names to default exported

* More

* Ignore shims

* Update scripts/build/config.mjs

Co-authored-by: fisker Cheung <lionkay@gmail.com>

* lint  for shims

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-09-10 11:17:09 +09:00
fisker Cheung 62a2629743 Build: Support build single file (#11469) 2021-09-09 12:23:53 +08:00
fisker Cheung 051e20591a Lint dist files with eslint-plugin-compat (#11245) 2021-08-16 15:08:19 +08:00
fisker Cheung 4f1e554566 Fix a rollup warning (#11270) 2021-07-26 15:04:38 +08:00
fisker Cheung c9e6ada108 Build: Fix unexpected require()s in parser-typescript.js (#11130) 2021-07-26 09:17:34 +08:00
fisker Cheung 894f841fbd Style: Enforce extensions (#11227) 2021-07-21 09:10:34 +08:00
fisker Cheung 14a952aafb Move js parsers to a separate directory (#11195) 2021-07-15 09:53:34 +08:00
fisker Cheung e1afe1adc2 Remove parser getters from universal bundles (#11137) 2021-07-13 15:16:31 +08:00
fisker Cheung ff1870ab77 Remove useless package info from standalone build (#11138) 2021-07-12 14:33:52 +08:00
Sosuke Suzuki 392c72b3cd Fix replace-module plugin name (#11192) 2021-07-12 07:45:33 +08:00
fisker Cheung d3b777dd7d Update build script (#10946) 2021-05-27 08:54:42 +08:00
fisker Cheung c286d847d9 Remove more Array#reduce() (#10907) 2021-05-24 01:26:00 +03:00
fisker Cheung f4a6232848 Switch some scripts to ESM (#10867) 2021-05-15 20:09:52 +08:00
fisker Cheung 2eb2df6ed2 Update babel config (#10855) 2021-05-12 08:11:43 +08:00
fisker Cheung 98abb990cc Use Object.fromEntries(), Array#flat() and Array#flatMap() (#10853) 2021-05-12 01:05:29 +08:00