Skip to content

Commit

Permalink
chore: add codemirror to libundler externals
Browse files Browse the repository at this point in the history
  • Loading branch information
surmon-china committed Jun 11, 2022
1 parent d624c58 commit a8b4356
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### 5.1.0 (2022-06-12)

- Update codemirror dependencies to 6.x
- Upgrade codemirror dependencies to 6.x
- The package no longer exports `@codemirror/view` `@codemirror/state` `@codemirror/basic-setup`.
- Change the package [from `@codemirror/example-setup` to just `codemirror`](https://github.com/codemirror/basic-setup/blob/main/CHANGELOG.md#breaking-changes).

Expand Down
2 changes: 1 addition & 1 deletion libundler.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ export default defineConfig({
entry: './src/index.ts',
outDir: './dist',
targets: ['esm', 'cjs'],
external: ['vue', 'csstype', /@codemirror\/.*/],
external: ['vue', 'csstype', 'codemirror', /@codemirror\/.*/],
exports: 'named'
})

0 comments on commit a8b4356

Please sign in to comment.