1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/packages/infrastructure/webpack/index.ts
Iku-turso b408d5693d chore!: Make linkable-push opt-in for shared build scripts
This is because linkable-push is a non-deterministic side-effect, and
thus breaks fundamentals of nx-cacheing. Running it elsewhere in later
commit will give us best-of-both-worlds, where builds get cached, and
linkable-push still gets run automatically when required.

BREAKING CHANGE: Add "new LinkablePushPlugin()" in your
"plugins" of webpack.config to restore automatic linkable-push when
using "lens-webpack-build", "lens-webpack-build --watch" or just
"webpack".

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Mikko Aspiala <mikko.aspiala@gmail.com>
2023-06-06 11:55:52 +03:00

6 lines
300 B
TypeScript

export { configForNode } from "./src/node-config";
export { configForReact } from "./src/react-config";
export { getMultiExportConfig } from "./src/get-multi-export-config";
export { doWebpackBuild } from "./do-webpack-build";
export { LinkablePushPlugin } from "./src/plugins/linkable-push-plugin";