@monaco-editor/react
Advanced tools
Comparing version 4.0.3 to 4.0.4
### Versions | ||
## 4.0.4 | ||
###### *Jan 18, 2021* | ||
- package.json: update husky precommit hook to remove lib folder | ||
## 4.0.3 | ||
@@ -4,0 +9,0 @@ ###### *Jan 18, 2021* |
{ | ||
"name": "@monaco-editor/react", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "Monaco Editor for React - use the monaco-editor in any React application without needing to use webpack (or rollup/parcel/etc) configuration files / plugins", | ||
@@ -77,3 +77,3 @@ "author": "Suren Atoyan <contact@surenatoyan.com>", | ||
"hooks": { | ||
"pre-commit": "npm test && npm run lint" | ||
"pre-commit": "rm -rf ./lib && npm test && npm run lint" | ||
} | ||
@@ -80,0 +80,0 @@ }, |
@@ -559,5 +559,5 @@ # @monaco-editor/react · [![monthly downloads](https://img.shields.io/npm/dm/@monaco-editor/react)](https://www.npmjs.com/package/@monaco-editor/react) [![gitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/suren-atoyan/monaco-react/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/@monaco-editor/react.svg?style=flat)](https://www.npmjs.com/package/@monaco-editor/react) [![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/suren-atoyan/monaco-react/pulls) | ||
```javascript | ||
import { monaco } from '@monaco-editor/react'; | ||
import { loader } from '@monaco-editor/react'; | ||
monaco.config({ paths: { vs: '../path-to-monaco' } }); | ||
loader.config({ paths: { vs: '../path-to-monaco' } }); | ||
``` | ||
@@ -580,3 +580,3 @@ | ||
monaco.config({ | ||
loader.config({ | ||
paths: { | ||
@@ -583,0 +583,0 @@ vs: uriFromPath( |
148562
53
2541