juxscript 1.1.248 → 1.1.249
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/machinery/compiler4.js +3 -3
- package/package.json +1 -1
package/machinery/compiler4.js
CHANGED
|
@@ -27,20 +27,20 @@ export class JuxCompiler {
|
|
|
27
27
|
|
|
28
28
|
const projectRoot = process.cwd();
|
|
29
29
|
|
|
30
|
-
const userPath = path.resolve(projectRoot, 'node_modules/juxscript/lib/index.js');
|
|
30
|
+
const userPath = path.resolve(projectRoot, 'node_modules/juxscript/dist/lib/index.js');
|
|
31
31
|
if (fs.existsSync(userPath)) {
|
|
32
32
|
this._juxscriptPath = userPath;
|
|
33
33
|
return userPath;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
const packageRoot = path.resolve(__dirname, '..');
|
|
37
|
-
const devPath = path.resolve(packageRoot, 'lib', 'index.js');
|
|
37
|
+
const devPath = path.resolve(packageRoot, 'dist', 'lib', 'index.js');
|
|
38
38
|
if (fs.existsSync(devPath)) {
|
|
39
39
|
this._juxscriptPath = devPath;
|
|
40
40
|
return devPath;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
const monoPath = path.resolve(projectRoot, '../jux/lib/index.js');
|
|
43
|
+
const monoPath = path.resolve(projectRoot, '../jux/dist/lib/index.js');
|
|
44
44
|
if (fs.existsSync(monoPath)) {
|
|
45
45
|
this._juxscriptPath = monoPath;
|
|
46
46
|
return monoPath;
|