-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes.txt
23 lines (15 loc) · 787 Bytes
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
upgrading from webpack v2 to v4
react-toolbox problems
https://github.com/csstools/postcss-preset-env/issues/32 => has info about many solutions (custom-properties, postcss-calc, variables, postcss-custom-properties preserve, nesting-rules)
1. extract-text-webpack-plugin => mini-css-extract-plugin
2. postcss-cssnext => postcss-preset-env, postcss-custom-properties, postcss-calc, postcss-color-function
3. Error: composition is only allowed when selector is single :local class name not in ".raised", ".raised" is weird
for css-loader, set modules to true
{
loader: 'css-loader',
options: {
modules: true,
}
}
https://www.npmjs.com/package/cost-of-modules
you can't catch errors from forked tasks. A failure in an attached fork will cause the forking parent to abort