diff --git a/README.md b/README.md index 1b67b30..17ffbe0 100644 --- a/README.md +++ b/README.md @@ -246,7 +246,9 @@ function replace(code) { return transformSync(code, { babelrc: false, plugins: [ - [plugin, { test: /\.(less|css)$/ }] + [plugin, { + removeExportDefault: true + }] ], }).code; }