You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2019. It is now read-only.
There are some component A,B,C and A.less,B.less,C.less,A belongs to entry a,B belongs to entry b.
A: import C; import A.less
B: import B.less; require.ensure([],function(require){ var C = require('C'); })
C: import C.less
About entry a ,extract the C.less into a.min.css.
About entry b the C.less should not to be extracted because of the require.ensure.
The result is the C.less is missing in entry b because the C.less has been extracted by entry a.
The text was updated successfully, but these errors were encountered:
There are some component A,B,C and A.less,B.less,C.less,A belongs to entry a,B belongs to entry b.
A:
import C; import A.less
B:
import B.less; require.ensure([],function(require){ var C = require('C'); })
C:
import C.less
webpack.config.js:
plugins: [ new ExtractTextPlugin({ filename: '[name].css', allChunks: false }) ]
About entry a ,extract the C.less into a.min.css.
About entry b the C.less should not to be extracted because of the require.ensure.
The result is the C.less is missing in entry b because the C.less has been extracted by entry a.
The text was updated successfully, but these errors were encountered: