Skip to content

Commit

Permalink
Fixed webpack configuration issue (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlhaufe authored Jun 9, 2020
1 parent 7daa32d commit 86bea91
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.18.1

* Fixed webpack configuration issue

## v0.18.0

* Fixed missing PredicateType issue
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.18.0",
"version": "0.18.1",
"description": "Code Contracts for TypeScript and ECMAScript classes",
"main": "dist/index.js",
"scripts": {
Expand Down
6 changes: 5 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
module: {
rules: [
{
test: /\.ts?$/,
test: /\.ts$/,
use: 'ts-loader',
exclude: /node_modules/,
},
Expand All @@ -24,6 +24,10 @@ module.exports = {
},
output: {
filename: 'index.js',
library: 'Contracts',
libraryExport: 'default',
libraryTarget: 'umd',
globalObject: 'this',
path: path.resolve(__dirname, 'dist'),
},
};

0 comments on commit 86bea91

Please sign in to comment.