|
|
@ -63,6 +63,8 @@ export default {
|
|
|
|
module: true
|
|
|
|
module: true
|
|
|
|
})
|
|
|
|
})
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
preserveEntrySignatures: false,
|
|
|
|
onwarn
|
|
|
|
onwarn
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
@ -91,6 +93,8 @@ export default {
|
|
|
|
require('module').builtinModules || Object.keys(process.binding('natives'))
|
|
|
|
require('module').builtinModules || Object.keys(process.binding('natives'))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
preserveEntrySignatures: 'strict',
|
|
|
|
onwarn
|
|
|
|
onwarn
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
@ -105,6 +109,9 @@ export default {
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
commonjs(),
|
|
|
|
commonjs(),
|
|
|
|
!dev && terser()
|
|
|
|
!dev && terser()
|
|
|
|
]
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
preserveEntrySignatures: false,
|
|
|
|
|
|
|
|
onwarn
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|