rewrited file treatment

This commit is contained in:
vorotamoroz
2021-10-14 19:27:08 +09:00
parent 44efde7762
commit 225dbc795b
5 changed files with 1140 additions and 616 deletions
+548 -289
View File
File diff suppressed because one or more lines are too long
+588 -311
View File
File diff suppressed because it is too large Load Diff
+4 -12
View File
@@ -15,23 +15,15 @@
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-typescript": "^8.2.1",
"@types/diff-match-patch": "^1.0.32",
"@types/node": "^14.14.37",
"@types/pouchdb-browser": "^6.1.3",
"obsidian": "^0.12.0",
"rollup": "^2.32.1",
"tslib": "^2.2.0",
"typescript": "^4.2.4"
},
"dependencies": {
"diff": "^5.0.0",
"diff-match-patch": "^1.0.5",
"pouchdb-adapter-http": "^7.2.2",
"pouchdb-adapter-idb": "^7.2.2",
"pouchdb-browser": "^7.2.2",
"pouchdb-core": "^7.2.2",
"pouchdb-mapreduce": "^7.2.2",
"pouchdb-replication": "^7.2.2",
"typescript": "^4.2.4",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-polyfill-node": "^0.7.0"
},
"dependencies": {
"diff-match-patch": "^1.0.5"
}
}
-1
View File
@@ -17,7 +17,6 @@
"pouchdb-browser": "^7.2.2"
},
"devDependencies": {
"@webpack-cli/generators": "^2.4.0",
"webpack": "^5.58.1",
"webpack-cli": "^4.9.0"
}
@@ -9,10 +9,7 @@ const config = {
output: {
filename: "pouchdb-browser.js",
path: path.resolve(__dirname, "dist"),
// library: "PouchDB",
// libraryTarget: "umd",
library: {
// name: "pouchdb_browser",
type: "module",
},
},