打包html的内容类型

This commit is contained in:
2024-11-02 19:56:26 +08:00
parent 53b286ef99
commit 45dc0c422c
4 changed files with 87 additions and 1 deletions

View File

@@ -5,11 +5,24 @@
"main": "index.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"build": "rollup -c",
"build:app": "rsync dist/* ../deploy/dist"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-typescript": "^12.1.1",
"@types/crypto-js": "^4.2.2",
"@types/react": "^18.3.12",
"rimraf": "^6.0.1",
"rollup": "^4.24.3",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-dts": "^6.1.1",
"typescript": "^5.6.3"
},
"dependencies": {
"lit-html": "^3.2.1"
}