Skip to content

Commit b7eb831

Browse files
committed
5.2.0
1 parent f929500 commit b7eb831

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

CHANGELOG.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,18 @@
22

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

5+
## [[5.2.0]](https://github.com/rails/webpacker/compare/v5.1.1...5.2.0) - 2020-08-16
6+
7+
- Bump dependencies and fixes. See [diff](https://github.com/rails/webpacker/compare/v5.1.1...5-x-stable) for changes.
8+
59
## [[5.1.1]](https://github.com/rails/webpacker/compare/v5.1.0...v5.1.1) - 2020-04-20
610

711
- Update [TypeScript documentation](https://github.com/rails/webpacker/blob/master/docs/typescript.md) and installer to use babel-loader for typescript.[(#2541](https://github.com/rails/webpacker/pull/2541)
812

913
## [[5.1.0]](https://github.com/rails/webpacker/compare/v5.0.1...v5.1.0) - 2020-04-19
1014

1115
- Remove yarn integrity check [#2518](https://github.com/rails/webpacker/pull/2518)
12-
- Switch from ts-loader to babel-loader [#2449](https://github.com/rails/webpacker/pull/2449)
16+
- Switch from ts-loader to babel-loader [#2449](https://github.com/rails/webpacker/pull/2449)
1317
Please see the [TypeScript documentation](https://github.com/rails/webpacker/blob/master/docs/typescript.md) to upgrade existing projects to use typescript with 5.1
1418
- Resolve multi-word snakecase WEBPACKER_DEV_SERVER env values [#2528](https://github.com/rails/webpacker/pull/2528)
1519

@@ -325,7 +329,7 @@ const { environment } = require('@rails/webpacker')
325329
// Enable with default config
326330
environment.splitChunks()
327331
// Configure via a callback
328-
environment.splitChunks(config =>
332+
environment.splitChunks((config) =>
329333
Object.assign({}, config, { optimization: { splitChunks: false } })
330334
)
331335
```
@@ -649,7 +653,9 @@ environment.resolvedModules.append('vendor', 'vendor')
649653
```js
650654
// Enable css modules with sass loader
651655
const sassLoader = environment.loaders.get('sass')
652-
const cssLoader = sassLoader.use.find(loader => loader.loader === 'css-loader')
656+
const cssLoader = sassLoader.use.find(
657+
(loader) => loader.loader === 'css-loader'
658+
)
653659
654660
cssLoader.options = Object.assign({}, cssLoader.options, {
655661
modules: true,

Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
webpacker (5.1.1)
4+
webpacker (5.2.0)
55
activesupport (>= 5.2)
66
rack-proxy (>= 0.6.1)
77
railties (>= 5.2)

lib/webpacker/version.rb

+1-1
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 = "5.1.1".freeze
3+
VERSION = "5.2.0".freeze
44
end

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rails/webpacker",
3-
"version": "5.1.1",
3+
"version": "5.2.0",
44
"description": "Use webpack to manage app-like JavaScript modules in Rails",
55
"main": "package/index.js",
66
"files": [
@@ -12,7 +12,7 @@
1212
"yarn": ">=1 <2"
1313
},
1414
"dependencies": {
15-
"@babel/core": "^7.11.1",
15+
"@babel/core": "^7.11.1",
1616
"@babel/plugin-proposal-class-properties": "^7.10.4",
1717
"@babel/plugin-proposal-object-rest-spread": "^7.10.1",
1818
"@babel/plugin-syntax-dynamic-import": "^7.8.3",

0 commit comments

Comments
 (0)