- Put bundle
.js
files toassets/js
dir. - Fix issues with
asset-prefix
parameter. - Initialize tests. https://github.com/denis-ok/rescript-ssg/commit/89a831147f487923db83e78c55bb797008daca60
- Update dependencies, remove unused
webpack-cli
dep. - Provide env vars to browser via webpack define plugin. https://github.com/denis-ok/rescript-ssg/commit/3222bad9c39a895a928c5aaa30c493ef69944ff3
- Add
writeWebpackStatsJson
flag to disable writing webpackstats.json
. Now disabled by default. - Catch error in
RebuildPageWorker
to avoid stopping of Webpack/watcher after renaming files. https://github.com/denis-ok/rescript-ssg/commit/cde6b81b09db11f552b9d0f1ef100fbc82c8c659 - Allow choosing minimizer for production bundle build.
Terser
is Webpack default,Esbuild
is an alternative/experimental option added viaesbuild-loader
(it's fast). https://github.com/denis-ok/rescript-ssg/commit/21eb9d450d603267bcbd5742bf0e412591fae991
- Inject emotion styles to
<head>
instead on inline Commit. - Build React App files with ReScript syntax.
- Remove
webpackOutputDir
param Commit. - Tweak webpack chunks Commit.
- Add
headCssFilepaths
field to inject CSS to page's<head>
, PR. - Refactor watcher, rebuild pages on demand with a debounced function instead of checking queue with
setInterval
, Commit. - Improve/refactor logging, add
logLevel
parameter to build/start commands, PR.
- Add
headCss
field to page to inject CSS into result HTML. - Minify HTML in production mode.
- Refactor node-loader.
- Reorganize modules, remove unused code, some refactoring.
- Add
aggregateTimeout
option to Webpack config to avoid too often rebuilding. - Move some dependencies to peerDependencies.
- Bump
webpack-dev-server
dependency.
- Format files, add
.css
to asset regex.
- Fix path to node loader in binary.
- Make node-loader compatible with prev node versions.
- Add binary file that runs node with experimental loader.
- Switch to major version.