From b3db51d2cc5a09c33f399cf64dbec0f0fdfcdfa4 Mon Sep 17 00:00:00 2001 From: vsn4ik Date: Sun, 29 Mar 2020 00:32:23 +0300 Subject: [PATCH] Don't Use esm Output Format (Alias) --- docs/04-tutorial.md | 2 +- docs/05-plugin-development.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/04-tutorial.md b/docs/04-tutorial.md index 5cd0b5f568c..ddc3c18a41d 100755 --- a/docs/04-tutorial.md +++ b/docs/04-tutorial.md @@ -381,7 +381,7 @@ You can build the same code for the browser via native ES modules, an AMD loader For example, with `-f es` for native modules: ``` -rollup src/main.js src/main2.js -f esm -d dist +rollup src/main.js src/main2.js -f es -d dist ``` ```html diff --git a/docs/05-plugin-development.md b/docs/05-plugin-development.md index 6142c499f1b..a4c9519a068 100644 --- a/docs/05-plugin-development.md +++ b/docs/05-plugin-development.md @@ -41,7 +41,7 @@ export default ({ plugins: [myExample()], output: [{ file: 'bundle.js', - format: 'esm' + format: 'es' }] }); ```