mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-22 04:14:25 +00:00
Rename bundle.js to gotty-bundle.js
This commit is contained in:
parent
27b6436196
commit
a8bb23f570
8
Makefile
8
Makefile
@ -7,7 +7,7 @@ gotty: server/asset.go main.go server/*.go webtty/*.go backend/*.go Makefile
|
|||||||
|
|
||||||
asset: server/asset.go
|
asset: server/asset.go
|
||||||
|
|
||||||
server/asset.go: bindata/static/js/bundle.js bindata/static/index.html bindata/static/favicon.png bindata/static/css/index.css bindata/static/css/xterm.css bindata/static/css/xterm_customize.css
|
server/asset.go: bindata/static/js/gotty-bundle.js bindata/static/index.html bindata/static/favicon.png bindata/static/css/index.css bindata/static/css/xterm.css bindata/static/css/xterm_customize.css
|
||||||
go-bindata -prefix bindata -pkg server -ignore=\\.gitkeep -o server/asset.go bindata/...
|
go-bindata -prefix bindata -pkg server -ignore=\\.gitkeep -o server/asset.go bindata/...
|
||||||
gofmt -w server/asset.go
|
gofmt -w server/asset.go
|
||||||
|
|
||||||
@ -27,8 +27,8 @@ bindata/static/js: bindata/static
|
|||||||
mkdir -p bindata/static/js
|
mkdir -p bindata/static/js
|
||||||
|
|
||||||
|
|
||||||
bindata/static/js/bundle.js: bindata/static/js js/dist/bundle.js
|
bindata/static/js/gotty-bundle.js: bindata/static/js js/dist/gotty-bundle.js
|
||||||
cp js/dist/bundle.js bindata/static/js/bundle.js
|
cp js/dist/gotty-bundle.js bindata/static/js/gotty-bundle.js
|
||||||
|
|
||||||
bindata/static/css: bindata/static
|
bindata/static/css: bindata/static
|
||||||
mkdir -p bindata/static/css
|
mkdir -p bindata/static/css
|
||||||
@ -46,7 +46,7 @@ js/node_modules/xterm/dist/xterm.css:
|
|||||||
cd js && \
|
cd js && \
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
js/dist/bundle.js:
|
js/dist/gotty-bundle.js:
|
||||||
cd js && \
|
cd js && \
|
||||||
webpack
|
webpack
|
||||||
|
|
||||||
|
1
js/dist/bundle.js.map
vendored
1
js/dist/bundle.js.map
vendored
File diff suppressed because one or more lines are too long
2
js/dist/bundle.js → js/dist/gotty-bundle.js
vendored
2
js/dist/bundle.js → js/dist/gotty-bundle.js
vendored
@ -23983,4 +23983,4 @@ exports.contains = contains;
|
|||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
/******/ ]);
|
/******/ ]);
|
||||||
//# sourceMappingURL=bundle.js.map
|
//# sourceMappingURL=gotty-bundle.js.map
|
1
js/dist/gotty-bundle.js.map
vendored
Normal file
1
js/dist/gotty-bundle.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
entry: "./src/main.ts",
|
entry: "./src/main.ts",
|
||||||
output: {
|
output: {
|
||||||
filename: "./dist/bundle.js"
|
filename: "./dist/gotty-bundle.js"
|
||||||
},
|
},
|
||||||
devtool: "source-map",
|
devtool: "source-map",
|
||||||
resolve: {
|
resolve: {
|
||||||
|
@ -11,6 +11,6 @@
|
|||||||
<div id="terminal"></div>
|
<div id="terminal"></div>
|
||||||
<script src="./auth_token.js"></script>
|
<script src="./auth_token.js"></script>
|
||||||
<script src="./config.js"></script>
|
<script src="./config.js"></script>
|
||||||
<script src="./js/bundle.js"></script>
|
<script src="./js/gotty-bundle.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user