mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
19 lines
352 B
TypeScript
19 lines
352 B
TypeScript
import * as webpack from "webpack";
|
|
import * as UglifyjsWebpackPlugin from "uglifyjs-webpack-plugin";
|
|
|
|
const compiler = webpack({
|
|
plugins: [
|
|
new UglifyjsWebpackPlugin(),
|
|
],
|
|
});
|
|
|
|
const compilerOptions = webpack({
|
|
plugins: [
|
|
new UglifyjsWebpackPlugin({
|
|
cache: false,
|
|
parallel: true,
|
|
sourceMap: true,
|
|
}),
|
|
],
|
|
});
|