fisker Cheung
fisker Cheung
For better tree-shaking.
I have one component, which include two SFC file, and they both include a common SCSS file ```html ``` And I bundled this component as `"lib"`, I also use `cssCodeSplit:...
## Description ## Checklist - [ ] I’ve added tests to confirm my change works. - [ ] (If changing the API or CLI) I’ve documented the changes I’ve made...
Should be able to replace `path.each()` in some case.
The new `plugins` can be an array, so we can run multiple plugins on the same file. ```js { overrides: [ { files: "*.js", plugins: [ "core:babel", "prettier-plugin-format-markdown-in-js", require("prettier-plugin-remove-final-new-line"), {...
## Description Reason https://github.com/prettier/prettier/issues/8772#issuecomment-1209163206 All public APIs are async now. ## Checklist - [ ] I’ve added tests to confirm my change works. - [ ] (If changing the API...
## Description Fix #8772 [TBD] ## Checklist - [ ] I’ve added tests to confirm my change works. - [ ] (If changing the API or CLI) I’ve documented the...
## Description Size change not because `import()`, I changed entry to more specific file. **Size Change:** -131 kB (-1%) **Total Size:** 15.1 MB | Filename | Size | Change |...
Breaking changes in version 3.0. Like #6773, use next branch. #### Try locally: ``` yarn add prettier/prettier#next --dev ``` The source has been convert to ES Module, please use `import`...
## Description This change should not noticeable to users. ## Checklist - [ ] I’ve added tests to confirm my change works. - [ ] (If changing the API or...