tag:github.com,2008:https://github.com/scriptex/webpack-mpa-ts/releasesRelease notes from webpack-mpa-ts2023-02-06T09:13:20Ztag:github.com,2008:Repository/151210142/4.0.02023-02-06T09:14:10ZRemove "Optisize"<p><strong>BREAKING</strong>: This release removes the ability to optimize images via <code>@three11/optisize</code>. All NPM scripts related to this functionality have been removed. This <em>might</em> introduce breaking changes in CI/CD environments.</p>scriptextag:github.com,2008:Repository/151210142/3.12.02022-11-07T07:47:37ZUpdate the SVG generator<p>This release switches from <a href="https://www.npmjs.com/package/svgo" rel="nofollow">SVGO</a> + <a href="https://www.npmjs.com/package/spritesh" rel="nofollow">spritesh</a> to <a href="https://www.npmjs.com/package/svg-symbol-sprite" rel="nofollow">svg-symbol-sprite</a></p>scriptextag:github.com,2008:Repository/151210142/3.11.02021-12-01T13:37:50ZFix usage of "url" and "server" CLI arguments<p>Migrating to Webpack 5 seemed to break usage of custom arguments such as <code>--url</code> or <code>--server</code>.<br>
Webpack 5 supports the <code>--env</code> flag which allows passing of custom arguments.<br>
This release takes care of this bug and makes it possible to pass those arguments like this:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="yarn start --env server
yarn start --env url=http://your-proxy.local"><pre>yarn start --env server
yarn start --env url=http://your-proxy.local</pre></div>scriptextag:github.com,2008:Repository/151210142/3.10.02021-10-24T11:24:28ZUpdate Stylelint<p>This release updates Stylelint and all of its related plugins and extensions.</p>scriptextag:github.com,2008:Repository/151210142/3.9.12021-08-10T08:31:13ZExtended linting and migrating away from node-sass<p>This release:</p>
<ol>
<li>Switches to <code>sass</code> (<code>dart-sass</code>) from <code>node-sass</code> which allows usage of most recent SCSS features.</li>
<li>Extends the linting by adding</li>
</ol>
<ul>
<li>eslint-plugin-compat</li>
<li>stylelint-no-unsupported-browser-features</li>
</ul>
<ol start="3">
<li>Upgrades all dependencies to their latest versions</li>
</ol>scriptextag:github.com,2008:Repository/151210142/3.9.02021-08-10T08:23:57ZSwitch from tslint to eslint<p>This release:</p>
<ol>
<li>Switches from <code>tslint</code> to <code>eslint</code></li>
<li>Updates all dependencies to their latest versions</li>
</ol>scriptextag:github.com,2008:Repository/151210142/3.8.02021-06-01T12:15:36ZUpdated SVG sprite<p>This release</p>
<ol>
<li>Updates the way SVG sprite is being generated by extracting the config in a separate svgo.config.js file and using SVGO v2.</li>
<li>Installs the missing browserslist peer dependency.</li>
</ol>scriptextag:github.com,2008:Repository/151210142/3.7.12021-03-10T13:41:58ZFix issue with path being undefined on Windows<p>This release fixes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="482875007" data-permission-text="Title is private" data-url="https://github.com/scriptex/webpack-mpa-ts/issues/350" data-hovercard-type="pull_request" data-hovercard-url="/scriptex/webpack-mpa-ts/pull/350/hovercard" href="https://github.com/scriptex/webpack-mpa-ts/pull/350">#350</a> - the <code>process.env.PWD</code> is undefined on Windows. It has been replaced with <code>process.cwd()</code></p>scriptextag:github.com,2008:Repository/151210142/3.7.02021-03-08T10:20:34ZUpgrade Webpack to v.5<p>This release updates Webpack to the latest version and also updates all other dependencies (including all Webpack plugins).</p>scriptextag:github.com,2008:Repository/151210142/3.6.12021-01-07T15:22:00ZFix CSS HMR and Critical CSS<p>This release fixes the HMR (hot module replacement) for CSS files.<br>
This release also introduces a new approach for generating critical CSS.</p>scriptex