parent
ccbb4f42f0
commit
74db97c644
@ -129,15 +129,6 @@ export default function (env?: Env): webpack.Configuration[] {
|
|||||||
assert: false,
|
assert: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
externals: Object.assign(
|
|
||||||
{ jquery: 'jQuery', bootstrap: 'bootstrap', 'admin-lte': 'adminlte' },
|
|
||||||
isDev
|
|
||||||
? {}
|
|
||||||
: {
|
|
||||||
react: 'React',
|
|
||||||
'react-dom': 'ReactDOM',
|
|
||||||
},
|
|
||||||
) as Record<string, string>,
|
|
||||||
optimization: {
|
optimization: {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
minimizer: [new CssMinimizerPlugin({}), '...'],
|
minimizer: [new CssMinimizerPlugin({}), '...'],
|
||||||
|
Loading…
Reference in New Issue
Block a user