@plaudit/webpack-extensions 2.1.2 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -113,6 +113,7 @@ module.exports = function (config, webpackConfig = require("@wordpress/scripts/c
|
|
|
113
113
|
const copyFiles = srcIsDirectory && src !== dest;
|
|
114
114
|
const plugins = webpackConfig.plugins?.filter(isTruthy) ?? [];
|
|
115
115
|
plugins.push(new fork_ts_checker_webpack_plugin_1.default({
|
|
116
|
+
async: true,
|
|
116
117
|
typescript: {
|
|
117
118
|
diagnosticOptions: {
|
|
118
119
|
semantic: true,
|
|
@@ -209,6 +210,7 @@ module.exports = function (config, webpackConfig = require("@wordpress/scripts/c
|
|
|
209
210
|
return {
|
|
210
211
|
...webpackConfig,
|
|
211
212
|
devtool: 'source-map',
|
|
213
|
+
mode: "production",
|
|
212
214
|
output: {
|
|
213
215
|
...webpackConfig.output,
|
|
214
216
|
...output
|