Skip to content

Commit

Permalink
Move unnecessary deps to devDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinovantes committed Jun 25, 2024
1 parent 5e30e26 commit 6a09f38
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"clean": "rm -rf ./dist ./demo/dist",
"build": "yarn clean && vite build",
"prepublishOnly": "yarn build",
"postinstall": "patch-package",
"prepare": "patch-package",
"lint": "vue-tsc --noEmit && eslint",
"test": "vitest",
"playPy": "python3 ./tests/playground/run.py",
Expand All @@ -45,10 +45,7 @@
"cloc": "cloc --vcs=git"
},
"dependencies": {
"date-fns": "^3.6.0",
"katex": "^0.16.10",
"lodash.merge": "^4.6.2",
"patch-package": "^8.0.0",
"shiki": "^1.5.2"
},
"devDependencies": {
Expand All @@ -64,14 +61,17 @@
"@types/lodash.merge": "^4.6.9",
"@types/node": "^20.7.0",
"@vitejs/plugin-vue": "^5.0.5",
"date-fns": "^3.6.0",
"eslint": "^9.4.0",
"eslint-plugin-n": "^17.7.0",
"eslint-plugin-vue": "^9.9.0",
"globals": "^15.3.0",
"lodash.debounce": "^4.0.8",
"lodash.merge": "^4.6.2",
"lz-string": "^1.5.0",
"mitt": "^3.0.1",
"monaco-editor": "^0.50.0",
"patch-package": "^8.0.0",
"quasar": "^2.16.4",
"sass": "^1.77.6",
"typescript": "^5.4.5",
Expand Down
4 changes: 4 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ export default mergeConfig(commonConfig, defineConfig({
name: 'RstCompiler',
fileName: 'index',
},

rollupOptions: {
external: ['katex', 'shiki'],
},
},

plugins: [
Expand Down

0 comments on commit 6a09f38

Please sign in to comment.