Skip to content

Commit c8c2aad

Browse files
committed
Clean up and adjust copy
1 parent eb7ee4b commit c8c2aad

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ module.exports = {
3333
}
3434
```
3535
In both examples Webpack would output:
36-
common.styles.js (Not Needed)
37-
common.styles.css
36+
`` common.styles.js (Not Needed)``
37+
``common.styles.css``
38+
3839

3940
## Installation
4041
```bash

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* OmitJSforCSSPlugin
3-
* @description : This plugin will omit bundled JS files, for dependencies that are exclusively CSS, which become obsolete once extract-text-plugin extracts inlined CSS into its own .css file
3+
* @description : This plugin will omit bundled JS files, for dependencies that are exclusively CSS which become obsolete once extract-text-plugin extracts inlined CSS into its own .css file
44
*/
55

66
const chalk = require('chalk');
@@ -44,7 +44,7 @@ OmitJSforCSSPlugin.prototype.omitFiles = function(omitted, compilation){
4444
* @param {Object} compilation
4545
*/
4646
OmitJSforCSSPlugin.prototype.findOmissibleFiles = function(compilation){
47-
// For every chunk / entry point figure out if its all CSS based
47+
// Every chunk / entry point
4848
compilation.chunks.forEach((chunk) => {
4949
// Chunks origin files. ex. origin entry point, ![] entry
5050
let resourceOrigin = {};

0 commit comments

Comments
 (0)