Bug Fix: plugin will always crash since ini_one_bg.wasm is not found#397
Bug Fix: plugin will always crash since ini_one_bg.wasm is not found#397wysaid wants to merge 1 commit intofoxundermoon:masterfrom
Conversation
958828b to
28dd2fe
Compare
|
Confirmed, reverting the
The root cause is that
If vs-shell-format/src/shFormat.ts Line 20 in 1b9985d Alternative fix: include the --- a/package.json
+++ b/package.json
@@ -195,4 +195,5 @@
"@types/mocha": "10.0.1",
"@types/node": "18.16.19",
+ "copy-webpack-plugin": "13.0.0",
"husky": "8.0.3",
"lint-staged": "13.3.0",
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -8,4 +8,5 @@
'use strict';
+const CopyPlugin = require('copy-webpack-plugin')
const path = require('path');
@@ -43,4 +44,9 @@ const config = {
],
},
+ plugins: [
+ new CopyPlugin({
+ patterns: [{ from: 'node_modules/@one-ini/wasm/one_ini_bg.wasm', to: 'one_ini_bg.wasm' }]
+ })
+ ],
};PS: Potential issue with this approach: microsoft/vscode-cpptools#12579 Footnotes |
|
Can the owners please take a look after 2 weeks? |
|
Seems like @foxundermoon has abandoned this... time to fork? |
|
@foxundermoon can you please take a quick look at this PR and merge it? I am unable to use this extension in Cursor because I can't downgrade to v7.2.5 - Cursor Open IDX doesn't provide historical versions. |
Fix issue: #396
I used your plugin and recommended it to others, but after the latest update, it's completely unusable. Others have the same issue, so I hope this can be fixed soon. I reviewed the recent changes and found that reverting the
editorconfigversion solves the problem. The fix is simple: just change theeditorconfigdependency to the previous version,7.2.5.