fuse-box-examples icon indicating copy to clipboard operation
fuse-box-examples copied to clipboard

code-splitting in dist build

Open FredericHeem opened this issue 8 years ago • 5 comments

With the latest code, the code-splitting example ceases to work: Uncaught (in promise) TypeError: Cannot read property 'AboutComponent' of undefined

FredericHeem avatar Sep 04 '17 21:09 FredericHeem

fixed in v2.2.31

FredericHeem avatar Sep 05 '17 19:09 FredericHeem

The dist build is now failing:

Error: ENAMETOOLONG: name too long, open '(function($fsx){
// moment/moment.js
$fsx.f[0] = function(module,exports){
;

FredericHeem avatar Sep 05 '17 19:09 FredericHeem

@FredericHeem install uglify-js 3

nchanged avatar Sep 05 '17 20:09 nchanged

uglify should be already installed? https://github.com/fuse-box/fuse-box-examples/blob/master/package.json#L28

FredericHeem avatar Sep 05 '17 21:09 FredericHeem

Create a sep repository so people can reproduce, these examples have been tested many times

nchanged avatar Sep 06 '17 06:09 nchanged