add bundle watch
This commit is contained in:
@@ -5,7 +5,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "TS_NODE_CACHE=false TS_NODE_FILES=true mocha -r ts-node/register test/**/*.test.ts",
|
"test": "TS_NODE_CACHE=false TS_NODE_FILES=true mocha -r ts-node/register test/**/*.test.ts",
|
||||||
"repl": "TS_NODE_CACHE=false TS_NODE_FILES=true ts-node test/repl.ts",
|
"repl": "TS_NODE_CACHE=false TS_NODE_FILES=true ts-node test/repl.ts",
|
||||||
"bundle": "rollup --config"
|
"bundle": "rollup --config",
|
||||||
|
"bundle:watch": "rollup --config -w"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
|
||||||
<title>Document</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<script id="_code">
|
|
||||||
const s = document.querySelector('#_code');
|
|
||||||
eval(`window.d = 123`);
|
|
||||||
document.body.removeChild(s);
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
Reference in New Issue
Block a user