Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2020_21 J-25
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2020_21 J-25
2020_21 J-25
Commits
18743104
Commit
18743104
authored
Jul 09, 2021
by
Jeyasumangala Rasanayagam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
82bb2742
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
0 deletions
+44
-0
IT17160162/webapp/webpack.config.js
IT17160162/webapp/webpack.config.js
+44
-0
No files found.
IT17160162/webapp/webpack.config.js
0 → 100644
View file @
18743104
import
path
from
"
path
"
;
import
HtmlWebpackPlugin
from
"
html-webpack-plugin
"
;
module
.
exports
=
{
entry
:
path
.
join
(
__dirname
,
'
src
'
,
'
index.js
'
),
output
:
{
path
:
path
.
join
(
__dirname
,
'
../src/dashboard
'
),
filename
:
'
index.bundle.js
'
},
mode
:
process
.
env
.
NODE_ENV
||
'
development
'
,
resolve
:
{
modules
:
[
path
.
resolve
(
__dirname
,
'
src
'
),
'
node_modules
'
]
},
devServer
:
{
contentBase
:
path
.
join
(
__dirname
,
'
src
'
)
},
plugins
:
[
new
HtmlWebpackPlugin
({
template
:
path
.
join
(
__dirname
,
'
src/public
'
,
'
index.html
'
),
inject
:
process
.
env
.
NODE_ENV
===
'
production
'
?
false
:
true
})
],
module
:
{
rules
:
[
{
test
:
/
\.(
js|jsx
)
$/
,
exclude
:
/node_modules/
,
use
:
[
'
babel-loader
'
]
},
{
test
:
/
\.(
css
)
$/
,
use
:
[
"
style-loader
"
,
"
css-loader
"
]
},
{
test
:
/
\.(
jpg|jpeg|png|gif|mp3|svg
)
$/
,
loaders
:
[
"
file-loader
"
]
}
]
}
};
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment