mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
chore: fix typo
This commit is contained in:
parent
f32711085d
commit
e575dbc8e7
2 changed files with 3 additions and 3 deletions
|
|
@ -12,7 +12,7 @@
|
|||
"dev": "VERSION=dev-v$(node scripts/get-version.js) webpack --watch",
|
||||
"dev-safari": "TARGET=safari yarn run dev",
|
||||
"debug-firefox": "web-ext run --source-dir=dist --firefox-profile=firefox-profile --profile-create-if-missing --keep-profile-changes --start-url https://github.com/EnixCoda/Gitako",
|
||||
"analyse-bundle": "ANALYSE= NODE_ENV=production webpack",
|
||||
"analyze-bundle": "ANALYZE= NODE_ENV=production webpack",
|
||||
"postinstall": "node scripts/fix-deps",
|
||||
"preversion": "make version-safari && git add .",
|
||||
"build": "VERSION=v$(node scripts/get-version.js) NODE_ENV=production webpack",
|
||||
|
|
|
|||
|
|
@ -72,8 +72,8 @@ const plugins = [
|
|||
new MiniCssExtractPlugin(),
|
||||
]
|
||||
|
||||
const analyse = process.env.ANALYSE !== undefined
|
||||
if (analyse) {
|
||||
const analyze = process.env.ANALYZE !== undefined
|
||||
if (analyze) {
|
||||
plugins.push(new BundleAnalyzerPlugin())
|
||||
console.log(`BundleAnalyzerPlugin added`)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue