Skip to content

Commit

Permalink
Properly document dependencies fo @polar/lib-passes-boundary-check
Browse files Browse the repository at this point in the history
  • Loading branch information
dopenguin committed Feb 21, 2024
1 parent fb13e4c commit 7ab1443
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/lib/passesBoundaryCheck/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
"url": "https://github.com/Dataport/polar.git",
"directory": "packages/lib/passesBoundaryCheck"
},
"peerDependencies": {
"ol": "^7.1.0"
},
"devDependencies": {
"@polar/lib-custom-types": "^1.1.0"
},
Expand Down
8 changes: 7 additions & 1 deletion packages/lib/passesBoundaryCheck/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import commonjs from '@rollup/plugin-commonjs'
import resolve from '@rollup/plugin-node-resolve'
import terser from '@rollup/plugin-terser'
import typescript from 'rollup-plugin-typescript2'
import { createFilter } from '@rollup/pluginutils'

const external = createFilter(['ol/**'], null, { resolve: false })

export default {
input: 'index.ts',
Expand All @@ -11,5 +16,6 @@ export default {
sourcemap: 'inline',
},
],
plugins: [typescript({ check: true }), terser()],
external,
plugins: [typescript({ check: true }), commonjs(), resolve(), terser()],
}

0 comments on commit 7ab1443

Please sign in to comment.