All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Looking for unreleased changes?
- Log errors and warnings by default as well
- Remove deprecated
style-loader
options - Enable
-b
flag forbuild
command
- Build errors not resulting in a
exitCode > 0
🎉
- Preset for copy-webpack-plugin
- Default value for
output.filename
in Statamic’s preset not being considered
- HMR: Using wrong socketjs port when auto detecting
- Statamic preset now should work like a charm
- Do not open page by default
- Do not use miniCssExtract in non-production (4aa8846)
- Update dependencies (4d54ad8)
- Missing
devServer
resulting in an error output.publicPath
replacinghttps
unnecessarily- Vue: Using wrong key for html template path
- Use non-zero exit code when build fails
- Use
devServer.public
for hmr client entry, and fallback tohost:port
otherwise - Webpack options not being passed to presets
- Remove
disableHostCheck
fromhttps
preset as this is a bad practice
- Vue: Set default html template path to
./src/html/index.ejs
- Export
path.resolve
asresolve
- Add Statamic preset 😎
- Source maps not being generated for CSS/Sass
- Eslint: Options being ignored
- Improve webpack speed by faster source maps
- Env helper throwing error if
.env
is not found - Clean: Adjust arguments in common preset
- Logging wrong URL in
https
mode
- Improve
https
preset and documentation - Vue: Improve default settings
- Babel: Allow overwriting configuration
- Update
package-lock.json
(fixes the "fix" from 0.4.4 🙈)
- Move
dotenv
todependencies
inpackage.json
- New preset
https
for using https withdevServer
- YAML: Importing files resulting in a
Module parse failed: Unexpected token
error - YAML: Importing files without file extension not working
- Clean: Fixed
path
option not working - Loading faulty/missing
webpack.config.js
now returns richer errors
- Vue: Allow importing vue files without
.vue
extension - HTML plugin not being loaded without options
mini-css-extract-plugin
ending up in webpack config multiple times
- CLI: Remove binary and add commands/flags for @gridonic/cli (BREAKING)
- CLI: Tell user when it’s installing dependencies
- Add
extendConfig
helper - Babel: Enable cache, which reduces compilation time by 50%
- CLI: Replace
jsome
withsapegin/q-i
as output has much more information - DevServer: Make it more quiet
- Do not ignore options that are not preconfigured
- CLI: Add
--dump
flag
- Drop write-file-webpack-plugin since webpack-dev-middleware supports this already
- ESLint: Allow overriding
exclude
and turn off autofix - DevServer: Should be accessible externally by default
- DevServer:
contentBase
is current working directory now by default
- HMR is enabled via CLI flag now and not via configuration. See #1 for details.
- Sass should pass it’s options along to CSS now
- Vue preset does not install dependencies any longer when it’s not being used
- Vue: Allow yaml content for i18n tags
- Vue:
vue-loader
not findingvue-template-compiler
- Babel: Add
core-js
foruseBuiltIns: 'usage'
- Handle fonts like
woff
andwoff2
- Add
file
preset - Add
yaml
preset - Vue: Add
vue-i18n-loader
- Install
vue
preset dependencies automatically - Allow webpack dev-server to write to disk 🎉
- Add
gridonic-webpack
CLI
- Remove defaults from raw preset
options.preset
should not contain functions- Use webpack internal overlay
First version ready for internal testing.