FuseBox will now resolve automatically paths
defined in tsconfig.json
file
in compilerOptions
when these conditions are met:
baseUrl
option should be defined incompilerOptions
baseUrl
path should behomeDir
or point to a directory withinhomeDir
If a tsconfig.json
file is not used but paths
and baseUrl
are set in
tsConfig
FuseBox options on init
, these are taken into account with the
same conditions mentioned above.
We all know this annoying moment when you create a new file and you need to refresh the page in order to make it work? Well. guess what - it has been fixed
- Automatic Vendor hydration. If you add a new module it will be recognised and automatically loaded into the browser.
- 100% properly mapped source maps are sent along with the update (!!!)
- Automatic dependency hydration. So you've modified a module, added a few components - Voilà! you have it updated with working source maps within a fraction of a second
Say no more to page refreshing!
Source maps handling has been revisited and fixed
- Properly generated vendor source maps with cache (!!!)
- Properly generated source maps paths for CSS
- Fixed sourceRoot. CSS and JS files are properly handled and respect the option
Vendor source maps are always generated under node_modules
. They are cached
too, so now, you can restart the process and get them as fast and your SSD
allows. But bear in mind, that the process of generating/retrieving/injecting is
very greedy on RAM and can and will degrade the performance.
- Keep
process
object if other thanprocess
andenv
variables are met. That used to cause problems where the browser yielded an errorprocess is not defined
because Quantum used to remove it.
- Remove chainable
sourceMaps()
as it was not working properly Own bundle
- removed due to the presense of Quantum. OwnBundle check was used to check if user requires a development Fuse bundle.- Test runner Unfortunately the test runner had to be removed. There are great
alternatives like
jest
. We will focus on bundling. - CSSPlugin no longer accepts any options. Since the production output is handled entirely by Quantum
- polyfillNonStandardDefaultUsage has been removed in favour of allowSyntheticDefaultImports
- Removed
CSSModules
exports in favour of conventionalCSSModulesPlugin
- Removed
VuePlugin
in favour ofVueComponentPlugin
- Removed
Uglify-es
plugin in favour ofTerserPlugin
- Removed
automaticAlias
from FuseBox options