1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-29 08:39:58 +02:00

Use Prism

This commit is contained in:
Phuoc Nguyen
2021-03-28 19:55:16 +07:00
parent 58b1c76d45
commit 09151bb8c4
3 changed files with 15 additions and 10 deletions

View File

@@ -1,5 +1,12 @@
{
"plugins": ["@loadable/babel-plugin"],
"plugins": [
"@loadable/babel-plugin",
["prismjs", {
"languages": ["css", "html", "javascript", "jsx", "tsx"],
"theme": "twilight",
"css": true
}]
],
"presets": [
"@babel/preset-env",
"@babel/preset-react"