diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..3465227 --- /dev/null +++ b/.babelrc @@ -0,0 +1,25 @@ +{ + "presets": [ + "next/babel" + ], + "plugins": [ + [ + "prismjs", + { + "languages": [ + "javascript", + "js", + "json", + "bash", + "http" + ], + "plugins": [ + "line-numbers", + "show-language" + ], + "theme": "okaidia", + "css": true + } + ] + ] +} \ No newline at end of file diff --git a/package.json b/package.json index 508af11..08981cd 100644 --- a/package.json +++ b/package.json @@ -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 - } - ] - ] } }