Commit Graph

19 Commits

Author SHA1 Message Date
Derrick Hammer 2077d4e70d
fix: use optional chain syntax as the property might not be set 2023-07-02 11:34:41 -04:00
Derrick Hammer 70a531e5aa
fix: inject browser options into node-resolve plugin if config.browser is true 2023-07-02 03:59:42 -04:00
Derrick Hammer d31720ce14
fix: need to split ts moduleResolution to the tsconfig file 2023-07-02 00:46:20 -04:00
Derrick Hammer f1b82f85b1
fix: set TS moduleResolution to nodenext 2023-07-02 00:40:34 -04:00
Derrick Hammer d526d8ad6c
fix: needs to extend presetter-preset-strict 2023-07-02 00:22:06 -04:00
Derrick Hammer f3920365cc
fix: outDir should not be an array and needs to be under compilerOptions 2023-06-30 04:35:37 -04:00
Derrick Hammer f1d13d00f1
fix: buildSource needs to be src 2023-06-30 04:12:23 -04:00
Derrick Hammer ab3c7bada2
refactor: change source to build, and add new buildSource var. Add tsconfig.build overrides 2023-06-30 03:45:26 -04:00
Derrick Hammer 0d2816fb8e
refactor: do not use a TS rollup plugin, but instead call tsc directly first 2023-06-30 01:11:55 -04:00
Alvis HT Tang 4e671b7289 refactor(preset-rollup): normalize config in functional way 2023-06-13 10:50:26 +01:00
Alvis HT Tang bc498596b8 feat: convert the whole project into ESM
BREAKING CHANGE:
- by default, client project emit ESM and for clarity preset-essentials has been renamed to preset-esm
- ts-node is removed in favor of a more powerful and less buggy tsx
2023-06-08 10:50:25 +01:00
Alvis HT Tang 5bb53481b0 feat(types): separate types from presetter 2023-06-05 13:55:42 +01:00
Alvis HT Tang 57578e9398 style: make any node build-in modules explicitly imported first 2023-05-21 10:47:56 +08:00
Alvis HT Tang 21f28a21d2 refactor(rollup): remove unnecessary async waits 2022-09-23 13:50:33 +01:00
Alvis HT Tang 93a1ed2b0d refactor(presetter): remove dependency on fs-extra 2022-09-23 13:18:11 +01:00
Alvis HT Tang cf8be54e88 fix(presetter): merge arrays only if the values are all primitive 2022-08-10 08:40:29 +01:00
Alvis HT Tang 3c7d318f06 refactor: use American English 2022-05-16 21:35:20 +01:00
Alvis HT Tang bfd08357a2 chore: update package dependencies 2022-05-16 21:32:36 +01:00
Alvis HT Tang dfebcbe9a5 feat(preset-rollup): provide a preset for code bundling via rollup 2021-09-30 11:13:13 +01:00