Skip to content

Commit 21b7ce4

Browse files
committed
Compensate for netlify URL normalization and fix scrolling again
1 parent 928d7d6 commit 21b7ce4

File tree

36 files changed

+81
-81
lines changed

36 files changed

+81
-81
lines changed

.github/ISSUE_TEMPLATE/BUG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ about: Something went awry and you'd like to tell us about it.
2626

2727
<!--
2828
Issues without minimal reproductions will be closed! Please provide one by:
29-
1. Using the REPL at https://rollupjs.org/repl, or
29+
1. Using the REPL at https://rollupjs.org/repl/, or
3030
2. Work to isolate the problem and provide the exact steps in this issue, or
3131
3. Provide a minimal repository link (Read https://git.io/fNzHA for instructions).
3232
These may take more time to triage than the other options.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
First, thank you for considering contributing to rollup! It's people like you that make the open source community such a great community! 😊
66

77
We welcome any type of contribution, not only code. You can help with
8-
- **QA**: file bug reports, the more details you can give the better (i.e. [REPL](https://rollupjs.org/repl)-links or repos that demonstrate the specific issue)
8+
- **QA**: file bug reports, the more details you can give the better (i.e. [REPL](https://rollupjs.org/repl/)-links or repos that demonstrate the specific issue)
99
- **Marketing**: writing blog posts, howto's, printing stickers, ...
1010
- **Community**: presenting the project at meetups, organizing a dedicated meetup for the local community, ...
1111
- **Code**: take a look at the [open issues](https://github.com/rollup/rollup/issues). Even if you can't write code, commenting on them, showing that you care about a given issue matters. It helps us triage them.

bin/src/run/batchWarnings.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ const deferredHandlers: {
137137
UNRESOLVED_IMPORT: {
138138
fn: warnings => {
139139
title('Unresolved dependencies');
140-
info('https://rollupjs.org/guide/en#warning-treating-module-as-external-dependency');
140+
info('https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency');
141141

142142
const dependencies = new Map();
143143
warnings.forEach(warning => {
@@ -156,7 +156,7 @@ const deferredHandlers: {
156156
MISSING_EXPORT: {
157157
fn: warnings => {
158158
title('Missing exports');
159-
info('https://rollupjs.org/guide/en#error-name-is-not-exported-by-module-');
159+
info('https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module-');
160160

161161
warnings.forEach(warning => {
162162
stderr(tc.bold(warning.importer as string));
@@ -170,7 +170,7 @@ const deferredHandlers: {
170170
THIS_IS_UNDEFINED: {
171171
fn: warnings => {
172172
title('`this` has been rewritten to `undefined`');
173-
info('https://rollupjs.org/guide/en#error-this-is-undefined');
173+
info('https://rollupjs.org/guide/en/#error-this-is-undefined');
174174
showTruncatedWarnings(warnings);
175175
},
176176
priority: 1
@@ -179,7 +179,7 @@ const deferredHandlers: {
179179
EVAL: {
180180
fn: warnings => {
181181
title('Use of eval is strongly discouraged');
182-
info('https://rollupjs.org/guide/en#avoiding-eval');
182+
info('https://rollupjs.org/guide/en/#avoiding-eval');
183183
showTruncatedWarnings(warnings);
184184
},
185185
priority: 1
@@ -225,7 +225,7 @@ const deferredHandlers: {
225225
SOURCEMAP_BROKEN: {
226226
fn: warnings => {
227227
title(`Broken sourcemap`);
228-
info('https://rollupjs.org/guide/en#warning-sourcemap-is-likely-to-be-incorrect');
228+
info('https://rollupjs.org/guide/en/#warning-sourcemap-is-likely-to-be-incorrect');
229229

230230
const plugins = Array.from(new Set(warnings.map(w => w.plugin).filter(Boolean)));
231231
const detail =

bin/src/run/loadConfigFile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default function loadConfigFile(
6363
handleError({
6464
code: 'MISSING_CONFIG',
6565
message: 'Config file must export an options object, or an array of options objects',
66-
url: 'https://rollupjs.org/guide/en#configuration-files'
66+
url: 'https://rollupjs.org/guide/en/#configuration-files'
6767
});
6868
}
6969

docs/00-introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Rollup is a module bundler for JavaScript which compiles small pieces of code in
88

99
### Quick start
1010

11-
Install with `npm install --global rollup`. Rollup can be used either through a [command line interface](guide/en#command-line-reference) with an optional configuration file, or else through its [JavaScript API](guide/en#javascript-api). Run `rollup --help` to see the available options and parameters.
11+
Install with `npm install --global rollup`. Rollup can be used either through a [command line interface](guide/en/#command-line-reference) with an optional configuration file, or else through its [JavaScript API](guide/en/#javascript-api). Run `rollup --help` to see the available options and parameters.
1212

1313
> See [rollup-starter-lib](https://github.com/rollup/rollup-starter-lib) and
1414
[rollup-starter-app](https://github.com/rollup/rollup-starter-app) to see

docs/01-command-line-reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = {
2424

2525
It may be pertinent if you want to use the config file not only from the command line, but also from your custom scripts programmatically.
2626

27-
Consult the [big list of options](guide/en#big-list-of-options) for details on each option you can include in your config file.
27+
Consult the [big list of options](guide/en/#big-list-of-options) for details on each option you can include in your config file.
2828

2929
```javascript
3030
// rollup.config.js
@@ -238,7 +238,7 @@ Many options have command line equivalents. In those cases, any arguments passed
238238
--treeshake.pureExternalModules Assume side-effect free externals
239239
```
240240

241-
The flags listed below are only available via the command line interface. All other flags correspond to and override their config file equivalents, see the [big list of options](guide/en#big-list-of-options) for details.
241+
The flags listed below are only available via the command line interface. All other flags correspond to and override their config file equivalents, see the [big list of options](guide/en/#big-list-of-options) for details.
242242

243243
#### `-h`/`--help`
244244

docs/02-javascript-api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ build();
6868

6969
#### inputOptions object
7070

71-
The `inputOptions` object can contain the following properties (see the [big list of options](guide/en#big-list-of-options) for full details on these):
71+
The `inputOptions` object can contain the following properties (see the [big list of options](guide/en/#big-list-of-options) for full details on these):
7272

7373
```js
7474
const inputOptions = {
@@ -105,7 +105,7 @@ const inputOptions = {
105105

106106
#### outputOptions object
107107

108-
The `outputOptions` object can contain the following properties (see the [big list of options](guide/en#big-list-of-options) for full details on these):
108+
The `outputOptions` object can contain the following properties (see the [big list of options](guide/en/#big-list-of-options) for full details on these):
109109

110110
```js
111111
const outputOptions = {
@@ -188,4 +188,4 @@ const watchOptions = {
188188
};
189189
```
190190

191-
See above for details on `inputOptions` and `outputOptions`, or consult the [big list of options](guide/en#big-list-of-options) for info on `chokidar`, `include` and `exclude`.
191+
See above for details on `inputOptions` and `outputOptions`, or consult the [big list of options](guide/en/#big-list-of-options) for info on `chokidar`, `include` and `exclude`.

docs/03-es-module-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ It is bad practice to mix default and named exports in the same module, though i
103103

104104
### How bindings work
105105

106-
ES modules export *live bindings*, not values, so values can be changed after they are initially imported as per [this demo](https://rollupjs.org/repl?shareable=JTdCJTIybW9kdWxlcyUyMiUzQSU1QiU3QiUyMm5hbWUlMjIlM0ElMjJtYWluLmpzJTIyJTJDJTIyY29kZSUyMiUzQSUyMmltcG9ydCUyMCU3QiUyMGNvdW50JTJDJTIwaW5jcmVtZW50JTIwJTdEJTIwZnJvbSUyMCcuJTJGaW5jcmVtZW50ZXIuanMnJTNCJTVDbiU1Q25jb25zb2xlLmxvZyhjb3VudCklM0IlNUNuaW5jcmVtZW50KCklM0IlNUNuY29uc29sZS5sb2coY291bnQpJTNCJTIyJTdEJTJDJTdCJTIybmFtZSUyMiUzQSUyMmluY3JlbWVudGVyLmpzJTIyJTJDJTIyY29kZSUyMiUzQSUyMmV4cG9ydCUyMGxldCUyMGNvdW50JTIwJTNEJTIwMCUzQiU1Q24lNUNuZXhwb3J0JTIwZnVuY3Rpb24lMjBpbmNyZW1lbnQoKSUyMCU3QiU1Q24lNUN0Y291bnQlMjAlMkIlM0QlMjAxJTNCJTVDbiU3RCUyMiU3RCU1RCUyQyUyMm9wdGlvbnMlMjIlM0ElN0IlMjJmb3JtYXQlMjIlM0ElMjJjanMlMjIlMkMlMjJnbG9iYWxzJTIyJTNBJTdCJTdEJTJDJTIybW9kdWxlSWQlMjIlM0ElMjIlMjIlMkMlMjJuYW1lJTIyJTNBJTIybXlCdW5kbGUlMjIlN0QlMkMlMjJleGFtcGxlJTIyJTNBbnVsbCU3RA==):
106+
ES modules export *live bindings*, not values, so values can be changed after they are initially imported as per [this demo](https://rollupjs.org/repl/?shareable=JTdCJTIybW9kdWxlcyUyMiUzQSU1QiU3QiUyMm5hbWUlMjIlM0ElMjJtYWluLmpzJTIyJTJDJTIyY29kZSUyMiUzQSUyMmltcG9ydCUyMCU3QiUyMGNvdW50JTJDJTIwaW5jcmVtZW50JTIwJTdEJTIwZnJvbSUyMCcuJTJGaW5jcmVtZW50ZXIuanMnJTNCJTVDbiU1Q25jb25zb2xlLmxvZyhjb3VudCklM0IlNUNuaW5jcmVtZW50KCklM0IlNUNuY29uc29sZS5sb2coY291bnQpJTNCJTIyJTdEJTJDJTdCJTIybmFtZSUyMiUzQSUyMmluY3JlbWVudGVyLmpzJTIyJTJDJTIyY29kZSUyMiUzQSUyMmV4cG9ydCUyMGxldCUyMGNvdW50JTIwJTNEJTIwMCUzQiU1Q24lNUNuZXhwb3J0JTIwZnVuY3Rpb24lMjBpbmNyZW1lbnQoKSUyMCU3QiU1Q24lNUN0Y291bnQlMjAlMkIlM0QlMjAxJTNCJTVDbiU3RCUyMiU3RCU1RCUyQyUyMm9wdGlvbnMlMjIlM0ElN0IlMjJmb3JtYXQlMjIlM0ElMjJjanMlMjIlMkMlMjJnbG9iYWxzJTIyJTNBJTdCJTdEJTJDJTIybW9kdWxlSWQlMjIlM0ElMjIlMjIlMkMlMjJuYW1lJTIyJTNBJTIybXlCdW5kbGUlMjIlN0QlMkMlMjJleGFtcGxlJTIyJTNBbnVsbCU3RA==):
107107

108108
```js
109109
// incrementer.js

docs/04-tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Rollup will use the dynamic import to create a separate chunk that is only loade
215215
rollup src/main.js -f cjs -d dist
216216
```
217217

218-
This will create a folder `dist` containing two files, `main.js` and `chunk-[hash].js`, where `[hash]` is a content based hash string. You can supply your own naming patterns by specifying the [`output.chunkFileNames`](guide/en#outputchunkfilenames) and [`output.entryFileNames`](guide/en#outputentryfilenames) options.
218+
This will create a folder `dist` containing two files, `main.js` and `chunk-[hash].js`, where `[hash]` is a content based hash string. You can supply your own naming patterns by specifying the [`output.chunkFileNames`](guide/en/#outputchunkfilenames) and [`output.entryFileNames`](guide/en/#outputentryfilenames) options.
219219

220220
You can still run your code as before with the same output, albeit a little slower as loading and parsing of `./foo.js` will only commence once we call the exported function for the first time.
221221

0 commit comments

Comments
 (0)