chore: fix some packages required prepare scripts

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-04-14 14:42:00 -04:00
1 parent 0bd7b1fe92
commit f8ac072df9
12 files changed
+461 -239

No files matched your search

@@ -2,6 +2,10 @@ const ForkTsCheckerPlugin = require("fork-ts-checker-webpack-plugin");
const { MakePeerDependenciesExternalPlugin } = require("./plugins/make-peer-dependencies-external");
const { ProtectFromImportingNonDependencies } = require("./plugins/protect-from-importing-non-dependencies");
/**
*
* @returns {import("webpack").Configuration}
*/
module.exports = ({ entrypointFilePath, outputDirectory }) => ({
name: entrypointFilePath,
entry: { index: entrypointFilePath },
@@ -45,7 +49,9 @@ module.exports = ({ entrypointFilePath, outputDirectory }) => ({
? "index.js"
: `${pathData.chunk.name}/index.js`,
libraryTarget: "commonjs2",
library: {
type: "commonjs2"
}
},
externalsPresets: { node: true },