From 701b1e4072c88e6916b88d31ae715ad6d36df4fe Mon Sep 17 00:00:00 2001 From: Dylan Piercey Date: Tue, 3 Mar 2020 13:13:51 -0800 Subject: [PATCH] fix: babelConfig typo in README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 71c7767..2351d25 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ export default [ ## Babel options (Marko 5+) -If you are using Marko 5 with this plugin you can manually override the Babel configuration used by passing a `babelOptions` object along side the `@marko/webpack/loader`. By default Babels regular [config file resolution](https://babeljs.io/docs/en/config-files) will be used. +If you are using Marko 5 with this plugin you can manually override the Babel configuration used by passing a `babelConfig` object along side the `@marko/webpack/loader`. By default Babels regular [config file resolution](https://babeljs.io/docs/en/config-files) will be used. ```javascript export default { @@ -110,7 +110,7 @@ export default { test: /\.marko$/, loader: "@marko/webpack/loader", options: { - babelOptions: { + babelConfig: { presets: [ ["@babel/preset-env", { node: "current" }] ]