Include appropriate files in npm.

Fix #414
This commit is contained in:
Paris Kasidiaris
2016-12-15 23:49:43 +02:00
parent 8a146b5401
commit adaaeb6f36
2 changed files with 22 additions and 2 deletions
+2 -1
View File
@@ -24,9 +24,10 @@ mv ./$BUILD_DIR/xterm.temp.js ./$BUILD_DIR/xterm.js
# Resolve the chain of sourcemaps so that ./$BUILD_DIR/xterm.js.map points at ./src
sorcery -i $BUILD_DIR/xterm.js
# Copy all CSS files from src/ to $BUILD_DIR/
# Copy all CSS files from src/ to $BUILD_DIR/ and lib/
cd src
find . -name '*.css' | cpio -pdm ../$BUILD_DIR
find . -name '*.css' | cpio -pdm ../lib
cd ..
# Copy addons from lib/ to $BUILD_DIR/