Remove old dev watch package

This commit is contained in:
Daniel Imms
2019-05-26 11:48:25 -07:00
parent 49c8270b1c
commit 4ed3b07199
3 changed files with 3 additions and 42 deletions
+1 -2
View File
@@ -53,7 +53,6 @@
},
"scripts": {
"package": "webpack",
"package-prod": "webpack --config webpack.prod.js",
"start": "node demo/start",
"start-debug": "node --inspect-brk demo/start",
"start-zmodem": "node demo/zmodem/app",
@@ -68,7 +67,7 @@
"prebuild": "tsc -b ./src/tsconfig.all.json",
"build": "gulp build",
"prepare": "npm run prebuild",
"prepublishOnly": "npm run package-prod",
"prepublishOnly": "npm run package",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"watch": "tsc -b -w ./src/tsconfig.all.json --preserveWatchOutput"
}
+2 -15
View File
@@ -7,24 +7,12 @@ const path = require('path');
module.exports = {
entry: './out/public/Terminal.js',
devtool: 'inline-source-map',
module: {
rules: [
{
test: /\.js$/,
use: ["source-map-loader"],
enforce: "pre",
exclude: /node_modules/
}
]
},
resolve: {
modules: ['./node_modules'],
extensions: [ '.js' ],
alias: {
common: path.resolve('./out/common'),
core: path.resolve('./out/core'),
ui: path.resolve('./out/ui')
core: path.resolve('./out/core')
}
},
output: {
@@ -33,6 +21,5 @@ module.exports = {
library: 'Terminal',
libraryTarget: 'umd'
},
mode: 'development',
watch: true
mode: 'production'
};
-25
View File
@@ -1,25 +0,0 @@
/**
* Copyright (c) 2019 The xterm.js authors. All rights reserved.
* @license MIT
*/
const path = require('path');
module.exports = {
entry: './out/public/Terminal.js',
resolve: {
modules: ['./node_modules'],
extensions: [ '.js' ],
alias: {
common: path.resolve('./out/common'),
core: path.resolve('./out/core')
}
},
output: {
filename: 'xterm.js',
path: path.resolve('./lib'),
library: 'Terminal',
libraryTarget: 'umd'
},
mode: 'production'
};