Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
new SentryPlugin({
release: process.env.npm_package_version,
include: output.path,
dryRun: !shouldPackage,
}),
)
}
// CI build doesn't need to use linting plugins
if (isCI) {
return [...plugins, initTsPlugin(false)]
}
if (notifsEnabled) {
plugins.push(
new BuildNotifPlugin({
title: 'Memex Build',
}),
)
}
if (shouldPackage) {
plugins.push(
new ZipPlugin({
path: packagePath,
filename: extPackageName,
exclude: [/\.map/],
}),
new PostCompilePlugin(() =>
exec('git archive -o dist/source-code.zip master'),
),
)