mirror of
https://github.com/danbulant/monaco-yaml
synced 2026-05-26 13:21:53 +00:00
* Update dependencies and remove language server Dependency upgrades: - monaco-editor 0.16.2 -> 0.20.0 - monaco-editor-core 0.16.1 -> 0.20.0 - monaco-languages 1.6.0 -> 1.10.0 - monaco-plugin-helpers 1.0.2 -> 1.0.3 Remove dependencies that are also dependencies of yaml-language-server Remove all code from - src/languageservice - src/yaml-ast-parser-custom-tags - test * Update paths and deps in react examples * fix: 🐛 fix package (#29) Co-authored-by: DMY <147dmy@gmail.com>
41 lines
745 B
JavaScript
41 lines
745 B
JavaScript
const HtmlWebPackPlugin = require('html-webpack-plugin');
|
|
const path = require('path');
|
|
|
|
module.exports = {
|
|
entry: {
|
|
main: './index.jsx',
|
|
},
|
|
output: {
|
|
globalObject: 'this',
|
|
filename: '[name].bundle.js',
|
|
path: path.resolve(__dirname, 'dist'),
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.(js|jsx)$/,
|
|
exclude: /node_modules/,
|
|
use: {
|
|
loader: 'babel-loader',
|
|
},
|
|
},
|
|
{
|
|
test: /\.css$/,
|
|
use: ['style-loader', 'css-loader'],
|
|
},
|
|
{
|
|
test: /\.ttf$/,
|
|
loader: 'file-loader',
|
|
},
|
|
],
|
|
},
|
|
plugins: [
|
|
new HtmlWebPackPlugin({
|
|
template: './index.html',
|
|
}),
|
|
],
|
|
node: {
|
|
fs: 'empty',
|
|
module: 'empty',
|
|
},
|
|
};
|