1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-23 06:51:12 +02:00

fix codemirror mode path

This commit is contained in:
Kushagra Gour
2024-05-22 14:09:58 +05:30
parent fa5da01aa9
commit aa568320bc
2 changed files with 3 additions and 3 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "web-maker",
"version": "6.2.0",
"version": "6.3.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "web-maker",
"version": "6.2.0",
"version": "6.3.1",
"license": "MIT",
"dependencies": {
"@emmetio/codemirror-plugin": "^0.5.4",

View File

@@ -5,7 +5,7 @@ import CodeMirror from 'codemirror';
// Make CodeMirror available globally so the modes' can register themselves.
window.CodeMirror = CodeMirror;
if (!CodeMirror.modeURL) CodeMirror.modeURL = '/lib/codemirror/mode/%N/%N.js';
if (!CodeMirror.modeURL) CodeMirror.modeURL = './lib/codemirror/mode/%N/%N.js';
var loading = {};