Changelog
4.2.0
clean
task will delete via a clean.patterns
optionChangelog
4.1.0
devtool
, uglifyJsPlugin
, and definePlugin
environment optionsuglifyJsPlugin.sourceMap
to true
if production.devtool
is definedpublicPath
to Craft task-config.js #432Changelog
4.0.0 Blendid!
.sass
to .scss
😭entries
option to entry
to match Webpack configinit
task generates default config files and folder structureinit-craft
and init-rails
tasks generate config files, helpers, and asset folder structures for their environments.javascripts.entries
was renamed javascript.entry
to be consistent with Webpack.extensions
in each task config, or really any non-default configuration. If you want to use default settings in any task configuration, simply set the value to true
. If you pass a configuration object, those settings will be merged with the defaults.