Arunoda Susiripala
373661aafa
Handle empty assetPrefix scenario properly. ( #3667 )
...
Also make sure to init assetPrefix in next/asset in
the context of next-export.
2018-02-03 17:12:01 +01:00
Arunoda Susiripala
60cb06c1ba
Improved next/asset support ( #3664 )
...
* Allow next/asset to work properly with dynamic assetPrefix
Now we use webpack's publicPath via client side.
* Add test cases for dynamic assetPrefix and next/asset.
2018-02-02 21:09:24 +01:00
Arunoda Susiripala
4c7f6cc76a
Set assetPrefix dynamically ( #3661 )
...
* Introduce the setAssetPrefix API for dynamic assetPrefix.
* Remove unwanted node_modules dir in a test dir.
* Change test main description.
2018-02-02 15:43:36 +01:00