mirror of
https://github.com/woodchen-ink/obsidian-lskypro-uploader.git
synced 2025-07-18 05:42:07 +08:00
更新 .gitignore 文件以排除不必要的文件,并删除 rollup.config.js 配置文件。
This commit is contained in:
parent
6e7d189e60
commit
797574042e
17
.gitignore
vendored
17
.gitignore
vendored
@ -1,15 +1,22 @@
|
|||||||
|
# vscode
|
||||||
|
.vscode
|
||||||
|
|
||||||
# Intellij
|
# Intellij
|
||||||
*.iml
|
*.iml
|
||||||
.idea
|
.idea
|
||||||
|
|
||||||
# npm
|
# npm
|
||||||
node_modules
|
node_modules
|
||||||
package-lock.json
|
|
||||||
# build
|
# Don't include the compiled main.js file in the repo.
|
||||||
*.js.map
|
# They should be uploaded to GitHub releases instead.
|
||||||
main.js
|
main.js
|
||||||
|
|
||||||
# ignore
|
# Exclude sourcemaps
|
||||||
|
*.map
|
||||||
|
|
||||||
|
# obsidian
|
||||||
data.json
|
data.json
|
||||||
|
|
||||||
workspace.code-workspace
|
# Exclude macOS Finder (System Explorer) View States
|
||||||
|
.DS_Store
|
1989
package-lock.json
generated
Normal file
1989
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,16 +0,0 @@
|
|||||||
import typescript from "@rollup/plugin-typescript";
|
|
||||||
import { nodeResolve } from "@rollup/plugin-node-resolve";
|
|
||||||
import commonjs from "@rollup/plugin-commonjs";
|
|
||||||
import json from "@rollup/plugin-json";
|
|
||||||
|
|
||||||
export default {
|
|
||||||
input: "src/main.ts",
|
|
||||||
output: {
|
|
||||||
dir: ".",
|
|
||||||
sourcemap: "inline",
|
|
||||||
format: "cjs",
|
|
||||||
exports: "default",
|
|
||||||
},
|
|
||||||
external: ["obsidian", "electron"],
|
|
||||||
plugins: [typescript(), nodeResolve({ browser: false }), commonjs(), json()],
|
|
||||||
};
|
|
Loading…
x
Reference in New Issue
Block a user