Releases: alleyinteractive/huron
Readme updates
2.3.0-beta.2 Merge branch 'cssmodules' into beta
Implement support for basic CSS modules
Also includes:
- Switch everything to camelCase
- Switch to using webpack to build browser script (woohoo!)
- Update node target for
babel-preset-env
to latestlts
version - Remove
postbuild.js
in favor ofdist/cli/index.js
so cli will still work with dev build - Switch to using
include
everywhere we're usingindexOf
- Use
import
for everything in the CLI - Move
gaze
logic to a separatefileWatcher.js
- Update various other packages and add
package-lock.json
- Switch to using webpack module key (it's unique!) instead of an md5 hash for targeting correct markup to replace. We were using node
crypto
for the hash, which was adding a whole crapload of modules to the browser build. - Switch to using the more standard
index.js
for both web and cli entry points - Remove
prebuild
script (which used eslint cli) in favor ofeslint-loader
now that we're using webpack for browser build also
Updates to usage of HTML webpack plugin
Unit tests are live!
Installed jest and added a few starter unit tests. Test away!
2.2.0-beta.2
Merge branch 'feature/testing-framework' into beta
2.2.0-beta.1: Merge pull request #92 from alleyinteractive/feature/testing-framework
Update utils tests with describe blocks
Initial unit tests
First pass at setting up jest
and writing some tests!
Support for function configurations
Merge pull request #84 from alleyinteractive/huron-config-function Add support for function configs a-la webpack 2
Support for providing a function as your Huron config
This release will add support for huron function configs, similar to the same implementation in webpack 2. This means you'll be able to provide flags like --env.production
on the command line (or in an npm script) and { production: true }
will be passed into your huron configuration function. More information on how to use this in webpack can be found here, and the same function(env) { ... }
pattern can now be used in huron as well.
Webpack function config support
Webpack 2 allows you to pass a function that returns your config object, instead of supplying the config object directly. This release adds support for using a webpack function config (including the --env
flag).