Skip to content

Commit

Permalink
fix: APP-2596: Fix library build (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgero-eth authored Nov 9, 2023
1 parent 6725788 commit 5c74a20
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Mark all dependencies as external to fix library build

## [1.0.3] - 2023-11-08

### Fixed
Expand Down
3 changes: 1 addition & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const { visualizer } = require('rollup-plugin-visualizer');
const tsConfig = require('./tsconfig.json');
const { outDir } = tsConfig.compilerOptions;

const package = require('./package.json');
const analyze = process.env.ANALYZE === 'true';

module.exports = [
Expand All @@ -35,7 +34,7 @@ module.exports = [
plugins: [analyze ? visualizer({ filename: 'stats.cjs.html', open: true }) : undefined],
},
],
external: Object.keys(package.dependencies),
external: [/node_modules/, 'tslib'],
plugins: [
nodeResolve(),
commonjs(),
Expand Down

0 comments on commit 5c74a20

Please sign in to comment.