Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
waves
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Bye
waves
Commits
a1bec1a4
Commit
a1bec1a4
authored
1 year ago
by
Bye
Browse files
Options
Downloads
Patches
Plain Diff
Remove webpack config.
parent
b2e9dace
Branches
Branches containing commit
Tags
v3.0.0-prealpha
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
webpack.common.js
+0
-12
0 additions, 12 deletions
webpack.common.js
webpack.config.dev.js
+0
-13
0 additions, 13 deletions
webpack.config.dev.js
webpack.config.prod.js
+0
-26
0 additions, 26 deletions
webpack.config.prod.js
with
0 additions
and
51 deletions
webpack.common.js
deleted
100644 → 0
+
0
−
12
View file @
b2e9dace
const
path
=
require
(
'
path
'
);
module
.
exports
=
{
entry
:
{
app
:
'
./js/app.js
'
,
},
output
:
{
path
:
path
.
resolve
(
__dirname
,
'
dist
'
),
clean
:
true
,
filename
:
'
./js/app.js
'
,
},
};
This diff is collapsed.
Click to expand it.
webpack.config.dev.js
deleted
100644 → 0
+
0
−
13
View file @
b2e9dace
const
{
merge
}
=
require
(
'
webpack-merge
'
);
const
common
=
require
(
'
./webpack.common.js
'
);
module
.
exports
=
merge
(
common
,
{
mode
:
'
development
'
,
devtool
:
'
inline-source-map
'
,
devServer
:
{
liveReload
:
true
,
hot
:
true
,
open
:
true
,
static
:
[
'
./
'
],
},
});
This diff is collapsed.
Click to expand it.
webpack.config.prod.js
deleted
100644 → 0
+
0
−
26
View file @
b2e9dace
const
{
merge
}
=
require
(
'
webpack-merge
'
);
const
common
=
require
(
'
./webpack.common.js
'
);
const
HtmlWebpackPlugin
=
require
(
'
html-webpack-plugin
'
);
const
CopyPlugin
=
require
(
'
copy-webpack-plugin
'
);
module
.
exports
=
merge
(
common
,
{
mode
:
'
production
'
,
plugins
:
[
new
HtmlWebpackPlugin
({
template
:
'
./index.html
'
,
}),
new
CopyPlugin
({
patterns
:
[
{
from
:
'
img
'
,
to
:
'
img
'
},
{
from
:
'
css
'
,
to
:
'
css
'
},
{
from
:
'
js/vendor
'
,
to
:
'
js/vendor
'
},
{
from
:
'
assets
'
,
to
:
'
assets
'
},
{
from
:
'
icon.svg
'
,
to
:
'
icon.svg
'
},
{
from
:
'
favicon.ico
'
,
to
:
'
favicon.ico
'
},
{
from
:
'
robots.txt
'
,
to
:
'
robots.txt
'
},
{
from
:
'
404.html
'
,
to
:
'
404.html
'
},
{
from
:
'
manifest.json
'
,
to
:
'
manifest.json
'
},
],
}),
],
});
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