Skip to content

Commit

Permalink
🐛 bundle retext case police support node16
Browse files Browse the repository at this point in the history
  • Loading branch information
JiangWeixian committed Jun 30, 2023
1 parent d70da4a commit c166103
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .changeset/late-impalas-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@aiou/remark-config": patch
---

bundle retext-case-police, support node16
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
"remark-lint-unordered-list-marker-style": "^3.1.2",
"remark-preset-lint-recommended": "^6.1.3",
"remark-retext": "^5.0.1",
"retext-case-police": "^1.1.7",
"retext-contractions": "^5.2.0",
"retext-english": "^4.1.0",
"retext-indefinite-article": "^4.3.0",
Expand All @@ -101,6 +100,7 @@
"publish-police": "^0.1.0",
"remark": "^14.0.3",
"remark-cli": "^11.0.0",
"retext-case-police": "^1.1.7",
"rimraf": "3.0.2",
"rollup": "3.19.1",
"rollup-plugin-condition-exports": "1.3.1",
Expand Down
13 changes: 5 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import path from 'node:path'

import alias from '@rollup/plugin-alias'
import commonjs from '@rollup/plugin-commonjs'
import json from '@rollup/plugin-json'
import resolve from '@rollup/plugin-node-resolve'
import { defineConfig } from 'rollup'
import ce from 'rollup-plugin-condition-exports'
import esbuild from 'rollup-plugin-esbuild'
import size from 'rollup-plugin-filesize'
import json from '@rollup/plugin-json'
import { externals } from 'rollup-plugin-node-externals'

export default defineConfig([
Expand All @@ -25,7 +25,6 @@ export default defineConfig([
*/
externals({
devDeps: false,
exclude: ['@julian_cataldo/retext-case-police'],
}),
commonjs(),
esbuild({
Expand Down
2 changes: 1 addition & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ export default defineConfig({
},
},
ssr: {
noExternal: ['@julian_cataldo/retext-case-police'],
noExternal: ['retext-case-police'],
},
})

0 comments on commit c166103

Please sign in to comment.