Skip to content

Commit

Permalink
Direct Import fix (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlhaufe authored Apr 25, 2021
1 parent b796f76 commit d1f4219
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## v0.20.1

* Fixed bug [#197](https://github.com/final-hill/decorator-contracts/issues/197)
## v0.20.0

* Updated license headers to reference Final Hill LLC
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@final-hill/decorator-contracts",
"version": "0.20.0",
"version": "0.20.1",
"description": "Code Contracts for TypeScript and ECMAScript classes",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
5 changes: 2 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ module.exports = {
resolve: {
extensions: [ '.ts' ],
},
// https://github.com/riversun/making-library-with-webpack#1-4publish-an-export-default-class-with-the-setting-library-name--class-name
// https://github.com/riversun/making-library-with-webpack
output: {
filename: 'index.js',
library: 'Contracts',
libraryExport: 'default',
library: 'decoratorContracts',
libraryTarget: 'umd',
globalObject: 'this',
path: path.resolve(__dirname, 'dist'),
Expand Down

0 comments on commit d1f4219

Please sign in to comment.