1
1
# CHANGELOG
2
2
3
- ## 0.21.0 Webpack 4 Upgrade
3
+ ## 0.21.0
4
4
5
5
* [ BC BREAK] Webpack was upgraded to version 4. This includes a number of major
6
- and minor changes. The changes are listed below.
6
+ and minor changes. The changes are listed below under the
7
+ ` Webpack 4 Upgrade ` section.
7
8
8
9
* [ DEPRECATION] You must now call either ` Encore.enableSingleRuntimeChunk() `
9
10
or ` Encore.disableSingleRuntimeChunk() ` : not calling either method is
33
34
See the [ browserslist] ( https://github.com/browserslist/browserslist ) library
34
35
for a full description of all of the valid browser descriptions.
35
36
36
- * Node 7 is no longer supported. This is because the new
37
- ` mini-css-extract-plugin ` does not support it ( and neither)
38
- does Yarn.
37
+ * Added a new ` copyFiles() ` method that is able to copy static files
38
+ into your build directory and allows them to be versioned. # 409
39
+ thanks to @ Lyrkan
39
40
40
41
* Introduced a new ` configureSplitChunks() ` method that can be
41
42
used to further configure the ` optimizations.splitChunks ` configuration.
@@ -52,6 +53,33 @@ for a full description of all of the valid browser descriptions.
52
53
is always enabled. This allows you to do "Dynamic Imports"
53
54
as described here: https://webpack.js.org/guides/code-splitting/#dynamic-imports
54
55
56
+ * A new "version check" system was added for optional dependencies.
57
+ Now, when you install optional plugins to support a feature, if
58
+ you are using an unsupported version, you will see a warning.
59
+ "Package recommendation" errors (i.e. when you enable a feature
60
+ but you are missing some packages) will also contain the version
61
+ in the install string when necessary (e.g. ` yarn add foo@^2.0 ` ).
62
+
63
+ * Support was added ` handlebars-loader ` by calling ` enableHandlebarsLoader() ` .
64
+ #301 thanks to @ogiammetta
65
+
66
+ * Support was added for ` eslint-loader ` by calling ` enableEslintLoader() ` .
67
+ #243 thanks to @pinoniq
68
+
69
+ * The ` css-loader ` can now be configured by calling ` configureCssLoader() ` .
70
+ #335 thanks to @XWB
71
+
72
+ * It's not possible to control the ` exclude ` for Babel so that you can
73
+ process certain node_modules packages through Babel - use
74
+ the new second argument to ` configureBabel() ` - #401 thanks to
75
+ @Lyrkan .
76
+
77
+ ## Webpack 4 Upgrade Details
78
+
79
+ * Node 7 is no longer supported. This is because the new
80
+ ` mini-css-extract-plugin ` does not support it (and neither)
81
+ does Yarn.
82
+
55
83
* For Preact, the necessary plugin the user needs to install
56
84
changed from ` babel-plugin-transform-react-jsx ` to ` @babel/plugin-transform-react-jsx ` .
57
85
@@ -66,13 +94,6 @@ for a full description of all of the valid browser descriptions.
66
94
67
95
* Support for CoffeeScript was entirely removed.
68
96
69
- * A new "version check" system was added for optional dependencies.
70
- Now, when you install optional plugins to support a feature, if
71
- you are using an unsupported version, you will see a warning.
72
- "Package recommendation" errors (i.e. when you enable a feature
73
- but you are missing some packages) will also contain the version
74
- in the install string when necessary (e.g. ` yarn add foo@^2.0 ` ).
75
-
76
97
* Actual lang="sass" no longer works for Vue. However, lang="scss"
77
98
continues to work fine.
78
99
0 commit comments