Skip to content

Commit

Permalink
fix: add babel
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitskvmdam committed Sep 24, 2023
1 parent a872531 commit 453d2b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ If you want to add some js in the beginning of your example then you can use `js
"enable_for": ["examples"],
"options": {
"js_external": "https://code.jquery.com/jquery-3.6.0.min.js",
"js_pre_processor": "babel"
"js": "import Something from 'some-package'"
}
}
Expand Down Expand Up @@ -375,7 +376,7 @@ To create custom style rules. Example:
Use this option to add third party css library. If you want to add your own custom css file then consider
using [Add custom css files](#add-custom-css-files)

> Note: you have to pass an array of objects. Each object key will be an attribute inside the generated script tag.
> Note: you have to pass an array of objects. Each object key will be an attribute inside the generated style tag.
Example:

Expand Down

0 comments on commit 453d2b6

Please sign in to comment.