Skip to content

Commit afb1f26

Browse files
committed
4.3.0
1 parent e8e0910 commit afb1f26

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
**Please note that Webpacker 4.1.0 has an installer bug. Please use 4.2.0 or above**
44

5+
## [[4.3.0]](https://github.com/rails/webpacker/compare/v4.2.2...v4.3.0) - 2019-08-16
6+
7+
- Bump dependencies
8+
59
## [[4.2.2]](https://github.com/rails/webpacker/compare/v4.2.1...v4.2.2) - 2019-12-09
610

711
- Fixed issue with webpack clean task for nested assets [#2391](https://github.com/rails/webpacker/pull/2391)
@@ -293,7 +297,7 @@ const { environment } = require('@rails/webpacker')
293297
// Enable with default config
294298
environment.splitChunks()
295299
// Configure via a callback
296-
environment.splitChunks(config =>
300+
environment.splitChunks((config) =>
297301
Object.assign({}, config, { optimization: { splitChunks: false } })
298302
)
299303
```
@@ -617,7 +621,9 @@ environment.resolvedModules.append('vendor', 'vendor')
617621
```js
618622
// Enable css modules with sass loader
619623
const sassLoader = environment.loaders.get('sass')
620-
const cssLoader = sassLoader.use.find(loader => loader.loader === 'css-loader')
624+
const cssLoader = sassLoader.use.find(
625+
(loader) => loader.loader === 'css-loader'
626+
)
621627
622628
cssLoader.options = Object.assign({}, cssLoader.options, {
623629
modules: true,

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
webpacker (4.2.2)
4+
webpacker (4.3.0)
55
activesupport (>= 4.2)
66
rack-proxy (>= 0.6.1)
77
railties (>= 4.2)

lib/webpacker/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module Webpacker
22
# Change the version in package.json too, please!
3-
VERSION = "4.2.2".freeze
3+
VERSION = "4.3.0".freeze
44
end

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rails/webpacker",
3-
"version": "4.2.2",
3+
"version": "4.3.0",
44
"description": "Use webpack to manage app-like JavaScript modules in Rails",
55
"main": "package/index.js",
66
"files": [

0 commit comments

Comments
 (0)