mirror of
https://github.com/jambonz/next-static-site.git
synced 2026-07-04 19:21:55 +00:00
Oops - cannot use babel config in package.json with nextjs
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"presets": [
|
||||
"next/babel"
|
||||
],
|
||||
"plugins": [
|
||||
[
|
||||
"prismjs",
|
||||
{
|
||||
"languages": [
|
||||
"javascript",
|
||||
"js",
|
||||
"json",
|
||||
"bash",
|
||||
"http"
|
||||
],
|
||||
"plugins": [
|
||||
"line-numbers",
|
||||
"show-language"
|
||||
],
|
||||
"theme": "okaidia",
|
||||
"css": true
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -100,30 +100,5 @@
|
||||
"next.config.js",
|
||||
"**/cypress/*"
|
||||
]
|
||||
},
|
||||
"babel": {
|
||||
"presets": [
|
||||
"next/babel"
|
||||
],
|
||||
"plugins": [
|
||||
[
|
||||
"prismjs",
|
||||
{
|
||||
"languages": [
|
||||
"javascript",
|
||||
"js",
|
||||
"json",
|
||||
"bash",
|
||||
"http"
|
||||
],
|
||||
"plugins": [
|
||||
"line-numbers",
|
||||
"show-language"
|
||||
],
|
||||
"theme": "okaidia",
|
||||
"css": true
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user