Add license-loader

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.
This commit is contained in:
Iwasaki Yudai 2017-08-23 10:58:18 +09:00
parent 46a8b006f0
commit 7355d67a64
5 changed files with 76 additions and 5 deletions

View file

@ -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'
}
]
},