Commit 7355d67a by Iwasaki Yudai

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.
1 parent 46a8b006
This diff could not be displayed because it is too large.
...@@ -1093,6 +1093,12 @@ ...@@ -1093,6 +1093,12 @@
"libapps": { "libapps": {
"version": "github:yudai/libapps#424e3e95e5346ef0c0c281aaf2ef73463a55b39e" "version": "github:yudai/libapps#424e3e95e5346ef0c0c281aaf2ef73463a55b39e"
}, },
"license-loader": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/license-loader/-/license-loader-0.5.0.tgz",
"integrity": "sha512-4p+estbTHilHxOXv/wh8qHndksfINzBT6HGvgIU4sfwWu28kCByHGV57K/HVgSujoFFv2wCITghGbK/qRiRbUQ==",
"dev": true
},
"load-json-file": { "load-json-file": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
......
{ {
"devDependencies": { "devDependencies": {
"license-loader": "^0.5.0",
"ts-loader": "^2.0.3", "ts-loader": "^2.0.3",
"typescript": "^2.3.2", "typescript": "^2.3.2",
"uglifyjs-webpack-plugin": "^1.0.0-beta.2", "uglifyjs-webpack-plugin": "^1.0.0-beta.2",
......
...@@ -14,7 +14,12 @@ module.exports = { ...@@ -14,7 +14,12 @@ module.exports = {
{ {
test: /\.tsx?$/, test: /\.tsx?$/,
loader: "ts-loader", loader: "ts-loader",
exclude: [/node_modules/], exclude: /node_modules/
},
{
test: /\.js$/,
include: /node_modules/,
loader: 'license-loader'
} }
] ]
}, },
......
This diff could not be displayed because it is too large.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!