Skip to content

Commit 30f87c5

Browse files
committed
fix(webpack): remove ./ from resolved file name
See nodejs/node#18408
1 parent 456f258 commit 30f87c5

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
<a name="0.8.1"></a>
2+
## [0.8.1](https://github.com/Beg-in/build/compare/0.8.0...0.8.1) (2018-01-27)
3+
4+
5+
### Bug Fixes
6+
7+
* **webpack:** remove `./` from resolved file name ([5133022](https://github.com/Beg-in/build/commit/5133022))
8+
9+
10+
111
<a name="0.8.0"></a>
212
# [0.8.0](https://github.com/Beg-in/build/compare/0.7.0...0.8.0) (2018-01-26)
313

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "begin-build",
33
"main": "index.js",
4-
"version": "0.8.0",
4+
"version": "0.8.1",
55
"engines": {
66
"node": ">=8.9"
77
},

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ let webpack = require('webpack');
88
let ExtractTextPlugin = require('extract-text-webpack-plugin');
99
let OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin');
1010

11-
const MAIN = './index.js';
11+
const MAIN = 'index.js';
1212

1313
/* eslint-disable global-require, import/no-dynamic-require, security/detect-non-literal-require */
1414
module.exports = (opts = {}) => {

0 commit comments

Comments
 (0)