Skip to content

Commit 3735ad5

Browse files
committed
refactor: split code into node/ and client/ dirs
1 parent 0a40268 commit 3735ad5

17 files changed

+20
-19
lines changed

docs/.vuepress/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
const { defineConfig } = require('vuepress/config')
22

3-
const demoCode = require('../../src')
3+
const demoCode = require('../../src/node')
44
const { name, description } = require('../../package.json')
55

66
/**
7-
* @type {import('../../src/').DemoCodePluginOptions}
7+
* @type {import('../../src/node').DemoCodePluginOptions}
88
*/
99
const demoCodeOptions = {
1010
cssLibs: [

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "vuepress-plugin-demo-code",
33
"version": "0.7.2",
44
"description": "📝 Demo and code plugin for vuepress",
5-
"main": "src/index.js",
6-
"types": "src/index.d.ts",
5+
"main": "src/node/index.js",
6+
"types": "src/node/index.d.ts",
77
"files": [
88
"src"
99
],
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)