Skip to content

Commit

Permalink
Add license-loader
Browse files Browse the repository at this point in the history
Since xterm and hterm do not have proper comments for their license,
add license-loader to keep their license information in the minimized
bundle file.
  • Loading branch information
yudai committed Aug 23, 2017
1 parent 46a8b00 commit 7355d67
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 5 deletions.
63 changes: 61 additions & 2 deletions js/dist/gotty-bundle.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions js/package-lock.json

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

1 change: 1 addition & 0 deletions js/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"devDependencies": {
"license-loader": "^0.5.0",
"ts-loader": "^2.0.3",
"typescript": "^2.3.2",
"uglifyjs-webpack-plugin": "^1.0.0-beta.2",
Expand Down
7 changes: 6 additions & 1 deletion js/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ module.exports = {
{
test: /\.tsx?$/,
loader: "ts-loader",
exclude: [/node_modules/],
exclude: /node_modules/
},
{
test: /\.js$/,
include: /node_modules/,
loader: 'license-loader'
}
]
},
Expand Down
4 changes: 2 additions & 2 deletions server/asset.go

Large diffs are not rendered by default.

0 comments on commit 7355d67

Please sign in to comment.