mirror of
https://github.com/jaywcjlove/wxmp.git
synced 2026-01-10 23:38:48 +08:00
type: fix type error.
This commit is contained in:
@@ -20,6 +20,8 @@ export default (conf: Configuration, env: 'development' | 'production', options:
|
||||
}),
|
||||
);
|
||||
|
||||
/** https://github.com/kktjs/kkt/issues/446 */
|
||||
conf.ignoreWarnings = [{ module: /node_modules[\\/]parse5[\\/]/ }];
|
||||
conf.module!.exprContextCritical = false;
|
||||
if (env === 'production') {
|
||||
conf.output = { ...conf.output, publicPath: './' };
|
||||
|
||||
Reference in New Issue
Block a user