mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-22 04:14:25 +00:00
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:
parent
46a8b006f0
commit
7355d67a64
63
js/dist/gotty-bundle.js
vendored
63
js/dist/gotty-bundle.js
vendored
File diff suppressed because one or more lines are too long
6
js/package-lock.json
generated
6
js/package-lock.json
generated
@ -1093,6 +1093,12 @@
|
||||
"libapps": {
|
||||
"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": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
|
||||
|
@ -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",
|
||||
|
@ -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'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user