Skip to content

Commit

Permalink
Merge 8644a10 into 4edbdec
Browse files Browse the repository at this point in the history
  • Loading branch information
yoriiis committed Feb 23, 2020
2 parents 4edbdec + 8644a10 commit 8414018
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
@@ -1,5 +1,3 @@
os: linux

language: node_js

node_js:
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,17 @@
# CHANGELOG

## 4.0.1

### Updates

* Optimize `utils.getFileExtension` with native Node.js `extname` function
* Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.10 to 3.3.11.
* Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.20.0 to 2.20.1.
* Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.3 to 7.8.4.
* Bumps [webpack](https://github.com/webpack/webpack) from 4.41.5 to 4.41.6.
* Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.3.2 to 2.3.5.
* Bumps [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) from 0.21.0 to 0.22.0.

## 4.0.0

### Updates
Expand Down
2 changes: 1 addition & 1 deletion README.md
@@ -1,6 +1,6 @@
# ChunksWebpackPlugin

![Chunks Webpack Plugin](https://img.shields.io/badge/chunks--webpack--plugin-v4.0.0-546e7a.svg?style=for-the-badge) [![TravisCI](https://img.shields.io/travis/com/yoriiis/chunks-webpack-plugin/master?style=for-the-badge)](https://travis-ci.com/yoriiis/chunks-webpack-plugin) [![Coverage Status](https://img.shields.io/coveralls/github/yoriiis/chunks-webpack-plugin?style=for-the-badge)](https://coveralls.io/github/yoriiis/chunks-webpack-plugin?branch=master) ![Node.js](https://img.shields.io/node/v/chunks-webpack-plugin?style=for-the-badge) [![Bundlephobia](https://img.shields.io/bundlephobia/minzip/chunks-webpack-plugin?style=for-the-badge)](https://bundlephobia.com/result?p=fela@latest) [![Npm downloads](https://img.shields.io/npm/dm/chunks-webpack-plugin?color=fb3e44&label=npm%20downloads&style=for-the-badge)](https://npmjs.com/package/chunks-webpack-plugin) [![Chat on Discord](https://img.shields.io/badge/chat-on%20discord-7289da.svg?style=for-the-badge)](https://discordapp.com/invite/uC8FkDn)
![Chunks Webpack Plugin](https://img.shields.io/badge/chunks--webpack--plugin-v4.0.1-546e7a.svg?style=for-the-badge) [![TravisCI](https://img.shields.io/travis/com/yoriiis/chunks-webpack-plugin/master?style=for-the-badge)](https://travis-ci.com/yoriiis/chunks-webpack-plugin) [![Coverage Status](https://img.shields.io/coveralls/github/yoriiis/chunks-webpack-plugin?style=for-the-badge)](https://coveralls.io/github/yoriiis/chunks-webpack-plugin?branch=master) ![Node.js](https://img.shields.io/node/v/chunks-webpack-plugin?style=for-the-badge) [![Bundlephobia](https://img.shields.io/bundlephobia/minzip/chunks-webpack-plugin?style=for-the-badge)](https://bundlephobia.com/result?p=fela@latest) [![Npm downloads](https://img.shields.io/npm/dm/chunks-webpack-plugin?color=fb3e44&label=npm%20downloads&style=for-the-badge)](https://npmjs.com/package/chunks-webpack-plugin) [![Chat on Discord](https://img.shields.io/badge/chat-on%20discord-7289da.svg?style=for-the-badge)](https://discordapp.com/invite/uC8FkDn)

The `ChunksWebpackPlugin` create HTML files to serve your webpack bundles. It is very convenient with multiple entry points and it works without configuration.

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "chunks-webpack-plugin",
"version": "4.0.0",
"version": "4.0.1",
"description": "ChunksWebpackPlugin create HTML files to serve your webpack bundles. It is very convenient with multiple entrypoints and it works without configuration.",
"keywords": [
"chunks",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
@@ -1,7 +1,7 @@
/**
* @license MIT
* @name ChunksWebpackPlugin
* @version 4.0.0
* @version 4.0.1
* @author: Yoriiis aka Joris DANIEL <joris.daniel@gmail.com>
* @description: ChunksWebpackPlugin create HTML files to serve your webpack bundles. It is very convenient with multiple entrypoints and it works without configuration.
* {@link https://github.com/yoriiis/chunks-webpack-plugins}
Expand Down
2 changes: 1 addition & 1 deletion src/utils.js
Expand Up @@ -27,7 +27,7 @@ const isAbsolutePath = currentPath => {
* @returns {String} Extension of the filename
*/
const getFileExtension = file => {
return file.substr(file.lastIndexOf('.') + 1, file.length);
return path.extname(file).substr(1);
};

/**
Expand Down

0 comments on commit 8414018

Please sign in to comment.