Skip to content

Commit

Permalink
chore: upgrade libundler
Browse files Browse the repository at this point in the history
  • Loading branch information
surmon-china committed Mar 19, 2022
1 parent 499fb1e commit a5f96bf
Show file tree
Hide file tree
Showing 3 changed files with 320 additions and 123 deletions.
9 changes: 5 additions & 4 deletions libundler.config.js → libundler.config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/** @type {import('@surmon-china/libundler/lib/interface').LibundlerConfigObject} */
module.exports = {
import { defineConfig } from '@surmon-china/libundler'

export default defineConfig({
libName: 'MongoDBDataAPI',
outFileName: 'mongodb-data-api',
targets: ['cjs', 'esm'],
entry: './src/index.ts',
outDir: './dist',
external: ['axios', 'mongodb'],
minimize: false,
terser: false,
sourcemap: false
}
})
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"mongodb": "^4.0.0"
},
"devDependencies": {
"@surmon-china/libundler": "^1.1.1",
"@surmon-china/libundler": "^2.1.0",
"@types/jest": "^27.4.0",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
Expand Down
Loading

0 comments on commit a5f96bf

Please sign in to comment.