diff --git a/docs/_docs/17-javascript.md b/docs/_docs/17-javascript.md index 689fd90a..919315cb 100644 --- a/docs/_docs/17-javascript.md +++ b/docs/_docs/17-javascript.md @@ -2,7 +2,7 @@ title: "JavaScript" permalink: /docs/javascript/ excerpt: "Instructions for customizing and building the theme's scripts." -last_modified_at: 2019-05-02T08:55:27-04:00 +last_modified_at: 2021-07-23T09:33:35-04:00 --- The theme's `assets/js/main.min.js` script is built from several vendor, jQuery plugins, and other scripts found in [`assets/js/`](https://github.com/mmistakes/minimal-mistakes/tree/master/assets/js). @@ -66,14 +66,15 @@ To get started: If all goes well, running `npm run build:js` will compress/concatenate `_main.js` and all plugin scripts into `main.min.js`. ## Debugging -The minified Javascript is harder to debug in the browser than the raw source. To stop the minification and just bundle all the Javascript as-is; open up `package.json` and edit the value `scripts.uglify` from: + +The minified JavaScript is harder to debug in the browser than the raw source. To stop the minification and bundle all the JavaScript as-is --- open up `package.json` and edit the value `scripts.uglify` from: ```json "scripts": { "uglify": "uglifyjs [...] -c -m -o assets/js/main.min.js", ``` -to simply concatenating the files: +To the following: ```json "scripts": {