mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
* Add type definition of webpack-pkg-plugin-v4 * webpack-pkg-plugin-v4: Fix formatting errors * webpack-pkg-plugin-v4: Remove assets, scripts from Configuration Seems source on the main branch and on the package is different
18 lines
329 B
TypeScript
18 lines
329 B
TypeScript
import { Plugin } from 'webpack';
|
|
import { WebpackPkgPlugin } from 'webpack-pkg-plugin-v4';
|
|
|
|
function acceptWebpackPlugin(_: Plugin) {}
|
|
|
|
acceptWebpackPlugin(
|
|
new WebpackPkgPlugin({
|
|
output: 'pkg',
|
|
}),
|
|
);
|
|
|
|
acceptWebpackPlugin(
|
|
new WebpackPkgPlugin({
|
|
output: 'pkg',
|
|
targets: ['host'],
|
|
}),
|
|
);
|