Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Essem
Sharkey
Commits
a79e2cba
Commit
a79e2cba
authored
7 years ago
by
syuilo
Browse files
Options
Downloads
Patches
Plain Diff
✌️
parent
84160653
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
webpack/plugins/index.ts
+5
-1
5 additions, 1 deletion
webpack/plugins/index.ts
with
5 additions
and
1 deletion
webpack/plugins/index.ts
+
5
−
1
View file @
a79e2cba
import
*
as
webpack
from
'
webpack
'
;
const
ProgressBarPlugin
=
require
(
'
progress-bar-webpack-plugin
'
);
import
chalk
from
'
chalk
'
;
import
consts
from
'
./consts
'
;
import
hoist
from
'
./hoist
'
;
...
...
@@ -10,7 +11,10 @@ const isProduction = env === 'production';
export
default
(
version
,
lang
)
=>
{
const
plugins
=
[
new
ProgressBarPlugin
(),
new
ProgressBarPlugin
({
format
:
chalk
` {cyan.bold yes we can} {bold [}:bar{bold ]} {green.bold :percent} {gray (:current/:total)} :elapseds`
,
clear
:
false
}),
consts
(
lang
),
new
webpack
.
DefinePlugin
({
'
process.env
'
:
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment