Skip to content

Commit

Permalink
fixing names for renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Drakae committed Jan 6, 2025
1 parent b22a66d commit 2a89ba2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extension/build-util/prepare-extension-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var fs = require('fs');
console.log("HI");

var data = fs.readFileSync('filelist.txt', 'utf-8');
var newValue = data.replace(/^\./gim, 'myString');
var newValue = data.replace('"main": "./pack/src/extension.cjs"', '"main": "./pack/src/extension.js"');
fs.writeFileSync('filelistSync.txt', newValue, 'utf-8');

console.log('Bad magic');
2 changes: 1 addition & 1 deletion extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@
"src-webview",
"pack"
],
"main": "./pack/src/extension.js",
"main": "./pack/src/extension.cjs",
"dependencies": {
"langium": "^3.0.0",
"langium-sprotty": "^3.0.0",
Expand Down

0 comments on commit 2a89ba2

Please sign in to comment.