🛠 Fixed: Don't skip auto-rendering if a function was exported.
Breaking change: CoffeeScript is no longer supported, as hot reloading now depends on Babel plugins.
--infooption to enable display of webpack stats when there are no errors.
Breaking change: Now uses React 0.14 and ReactDOM.
💥 Breaking change: Updated Webpack and loader dependencies. CSS loader 0.19.0 dropped out of the box support for Node.js 0.10 -
Promisemust be manually polyfilled if you're using Node.js 0.10.
React.render()check removed, by default heatpack now uses a dummy module as the entry point, which imports the given module and calls
ReactDOM.render()for you if nothing has been rendered to
<div id="app"></div>yet. The
--forceoption can still be used to force use of the given module as the entry point.
➕ Added optional support for React 0.14, which you must have installed in your own local
npm install -g react-heatpack@next
🏗 (This build still works fine with React 0.13, you will just see warnings about the optional
Changed: CSS is no longer minified.
Fixed: No longer throws an error if you pass the absolute path to a module.
➕ Added: Support for modules which export a React element [andreypopp]
🔄 Changed: Remove confusing warning message when the module being run doesn't contain
🔄 Changed: Use the
cheap-module-eval-source-mapdevtool in webpack config instead of
require('react')now resolves to the
node_modulesdir in scope for the working directory, if there is one. It previously always resolved to the version from heatpack's own dependencies.
🔄 Changed: enabled coloured output in webpack logging.
--portoption to specify the port to run the webpack dev server on. Defaults to 3000.
Added: the code in the given script is now checked for the presence of
React.render- if not present, it's assumed the script exports a React component and heatpack will create a new entry module which imports the component and calls
React.render()with it (#2)
--forceflags to skip the new
React.rendercheck, forcing the specified script to be used as the entry point by webpack.