FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
soundnode-app/webpack.prod.js at master · Soundnode/soundnode-app · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
Soundnode
/
soundnode-app
Public
Notifications
You must be signed in to change notification settings
Fork
629
Star
5.3k
Code
Issues
262
Pull requests
12
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
soundnode-app
/
webpack.prod.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
48 lines (46 loc) · 1006 Bytes
Breadcrumbs
soundnode-app
/
webpack.prod.js
Copy path
File metadata and controls
48 lines (46 loc) · 1006 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
'use strict'
;
const
path
=
require
(
'path'
)
;
const
webpack
=
require
(
'webpack'
)
;
module
.
exports
=
{
target
:
'node'
,
devtool
:
'source-map'
,
entry
:
path
.
join
(
__dirname
,
'./app/public/js/components/main.jsx'
)
,
output
:
{
path
:
path
.
join
(
__dirname
,
'./app/dist'
)
,
filename
:
'bundle.js'
,
publicPath
:
'/'
}
,
module
:
{
rules
:
[
{
test
:
/
\.
(
j
s
|
j
s
x
)
$
/
,
use
:
[
'babel-loader'
]
}
]
}
,
resolve
:
{
extensions
:
[
'.js'
,
'.jsx'
]
}
,
plugins
:
[
new
webpack
.
DefinePlugin
(
{
'process.env.NODE_ENV'
:
'"production"'
}
)
,
new
webpack
.
optimize
.
AggressiveMergingPlugin
(
)
,
new
webpack
.
NoEmitOnErrorsPlugin
(
)
]
,
externals
:
[
(
function
(
)
{
const
IGNORES
=
[
'electron'
]
;
return
function
(
context
,
request
,
callback
)
{
if
(
IGNORES
.
indexOf
(
request
)
>=
0
)
{
return
callback
(
null
,
"require('"
+
request
+
"')"
)
;
}
return
callback
(
)
;
}
;
}
)
(
)
]
}
;
Back
|
FazBrowse Home
|
New Git URL