Skip to content

Commit afa73ee

Browse files
Update README
Remove mentions of `experimentalCodeSplitting` since we now support Rollup >= 1.
1 parent 1dc020a commit afa73ee

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

README.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -50,27 +50,6 @@ export default {
5050
}
5151
```
5252

53-
### Code Splitting via Dynamic Imports
54-
55-
This plugin supports code splitting with Rollup's `experimentalCodeSplitting` feature. Enable code splitting in your Rollup configuration and each output bundle will be minified by Closure Compiler.
56-
57-
```js
58-
// rollup.config.js
59-
import compiler from '@ampproject/rollup-plugin-closure-compiler';
60-
61-
export default {
62-
input: 'main.js',
63-
output: {
64-
dir: 'public/module',
65-
format: 'es',
66-
},
67-
experimentalCodeSplitting: true,
68-
plugins: [
69-
compiler(),
70-
],
71-
}
72-
```
73-
7453
### Automatic Closure Configuration
7554

7655
This plugin will modify the enable the `assume_function_wrapper` output option for Closure Compiler when `es` format is specifed to Rollup. **Note**: This is overrideable via passed flags and options.
@@ -120,4 +99,4 @@ The AMP Project strives for a positive and growing project community that provid
12099

121100
## License
122101

123-
rollup-plugin-closure-compiler is licensed under the [Apache License, Version 2.0](LICENSE).
102+
rollup-plugin-closure-compiler is licensed under the [Apache License, Version 2.0](LICENSE).

0 commit comments

Comments
 (0)