From e16fd8397eee4fafc11d142cd2b3e86e2e85b5b4 Mon Sep 17 00:00:00 2001 From: Claudia Meadows Date: Mon, 2 Sep 2024 07:06:18 -0700 Subject: [PATCH] Fix outstanding docs issues, so everything checks (again). --- docs/installation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 07ac4db89..13c1e4fb4 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -127,7 +127,7 @@ m.render(document.body, "hello world") Modularization is the practice of separating the code into files. Doing so makes it easier to find code, understand what code relies on what code, and test. -CommonJS is a de-facto standard for modularizing JavaScript code, and it's used by Node.js, as well as tools like [Browserify](http://browserify.org/) and [Webpack](https://webpack.js.org/). It's a robust, battle-tested precursor to ES6 modules. Although the syntax for ES6 modules is specified in Ecmascript 6, the actual module loading mechanism is not. If you wish to use ES6 modules despite the non-standardized status of module loading, you can use tools like [Rollup](https://rollupjs.org/) or [Babel](https://babeljs.io/). +CommonJS is a de-facto standard for modularizing JavaScript code, and it's used by Node.js, as well as tools like [Browserify](https://browserify.org/) and [Webpack](https://webpack.js.org/). It's a robust, battle-tested precursor to ES6 modules. Although the syntax for ES6 modules is specified in Ecmascript 6, the actual module loading mechanism is not. If you wish to use ES6 modules despite the non-standardized status of module loading, you can use tools like [Rollup](https://rollupjs.org/) or [Babel](https://babeljs.io/). Most browser today do not natively support modularization systems (CommonJS or ES6), so modularized code must be bundled into a single JavaScript file before running in a client-side application. @@ -206,7 +206,7 @@ If you open bin/app.js, you'll notice that the Webpack bundle is not minified, s "name": "my-project", "scripts": { "start": "webpack src/index.js --output bin/app.js -d --watch", - "build": "webpack src/index.js --output bin/app.js -p", + "build": "webpack src/index.js --output bin/app.js -p" } } ```