Skip to content

Commit

Permalink
feat: use VSCode API + Monaco Editor built from vscode@1.87.2 (#4860)
Browse files Browse the repository at this point in the history
Refs #4848
  • Loading branch information
char0n committed Mar 26, 2024
1 parent f13c553 commit 5d21610
Show file tree
Hide file tree
Showing 5 changed files with 121 additions and 100 deletions.
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ module.exports = {
},
plugins: [
new webpack.ProvidePlugin({
process: 'process/browser.js',
Buffer: ['buffer', 'Buffer'],
}),
],
Expand Down Expand Up @@ -155,6 +154,14 @@ module.exports = {
loader: 'file-loader',
type: 'javascript/auto', // this disables webpacks default handling of wasm
},
{
test: /@apidevtools\/json-schema-ref-parser\/lib\/util\/url.js$/,
loader: 'imports-loader',
options: {
type: 'commonjs',
imports: ['single process/browser process'],
},
},
]
}
};
Expand Down Expand Up @@ -211,7 +218,6 @@ module.exports = {
},
plugins: [
new webpack.ProvidePlugin({
process: 'process/browser.js',
Buffer: ['buffer', 'Buffer'],
}),
new CopyWebpackPlugin({
Expand All @@ -232,7 +238,15 @@ module.exports = {
{
test: /\.css$/,
use: ['style-loader', 'css-loader']
}
},
{
test: /@apidevtools\/json-schema-ref-parser\/lib\/util\/url.js$/,
loader: 'imports-loader',
options: {
type: 'commonjs',
imports: ['single process/browser process'],
},
},
]
}
};
Expand Down
188 changes: 98 additions & 90 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5d21610

Please sign in to comment.