@vtj/local 0.8.9 → 0.8.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/plugin.d.ts +1 -0
- package/dist/plugin.mjs +4 -3
- package/package.json +3 -3
package/dist/plugin.d.ts
CHANGED
package/dist/plugin.mjs
CHANGED
|
@@ -153,13 +153,14 @@ export function createDevTools(options = {}) {
|
|
|
153
153
|
devMode: false,
|
|
154
154
|
uploader: "/uploader.json",
|
|
155
155
|
packageName: "@vtj/pro",
|
|
156
|
+
nodeModulesDir: "node_modules",
|
|
156
157
|
hm: "42f2469b4aa27c3f8978f634c0c19d24",
|
|
157
158
|
...options
|
|
158
159
|
};
|
|
159
160
|
const plugins = [aliasPlugin(opts)];
|
|
160
|
-
const proPath =
|
|
161
|
-
const materialsPath1 =
|
|
162
|
-
const materialsPath2 =
|
|
161
|
+
const proPath = `${opts.nodeModulesDir}/${opts.packageName}/dist`;
|
|
162
|
+
const materialsPath1 = `${opts.nodeModulesDir}/@vtj/materials/dist`;
|
|
163
|
+
const materialsPath2 = `${opts.nodeModulesDir}/${opts.packageName}/${materialsPath1}`;
|
|
163
164
|
if (opts.copy) {
|
|
164
165
|
const copyOptions = [];
|
|
165
166
|
if (pathExistsSync(materialsPath1)) {
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vtj/local",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.10",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"formidable": "~3.5.1",
|
|
8
|
-
"@vtj/
|
|
9
|
-
"@vtj/
|
|
8
|
+
"@vtj/core": "~0.8.10",
|
|
9
|
+
"@vtj/coder": "~0.8.10",
|
|
10
10
|
"@vtj/node": "~0.8.2"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|