@mapbox/batfish
Advanced tools
Changelog
1.6.0
sitemap
option, allowing user to turn off sitemap generation.Changelog
1.5.1
Changelog
1.4.0
webpackStaticStubReactComponent
option.node
option in the client config to stub core Node libraries, resulting in fewer errors buried in users' dependencies.Changelog
1.3.0
devBrowserslist
option. This will change the browser support of your development (not production) build.-b, --browsers
option for batfish start
.browserslist
and devBrowserslist
affect babel-preset-env, not just Autoprefixer.Changelog
1.2.0
babel-plugin-transform-object-rest-spread
by default.manageScrollRestoration
option.spa
option.
This option might suffer breaking changes on any release until it's no longer "experimental".Changelog
1.1.0
-i, --include
option to batfish start
command, and corresponding includePages
configuration option, which allows you to speed up your development build by only building the specified pages.batfish write-bablerc
command (batfish.writeBabelrc
in Node API), which writes a .babelrc
file that you can use to tell other process, like a test runner, how to interpret your source files.babelInclude
option.node_modules
from Babel compilation, as intended and documented.
Warning: this fix makes the functionality fit the documented public API, but if you were accidentally relying on a node_module
being accidentally compiled, this could break your build.
You'll want to use the new babelInclude
option to indicate those node_modules
that need to be compiled.babelExclude
value to ensure it excludes nested node_modules
directories.node_modules/.cache/babel-loader
).Changelog
1.0.4
npm link
(or yarn link
), with a message about failing to find Babel plugins.Changelog
1.0.3