FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pythonVSCode/webpack.config.js at ipython · rmagee/pythonVSCode · GitHub
rmagee
/
pythonVSCode
Public
forked from
DonJayamanne/pythonVSCode
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
pythonVSCode
/
webpack.config.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
39 lines (39 loc) · 1.25 KB
Breadcrumbs
pythonVSCode
/
webpack.config.js
Copy path
File metadata and controls
39 lines (39 loc) · 1.25 KB
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
var
path
=
require
(
'path'
)
;
var
browserPath
=
path
.
join
(
__dirname
,
'src'
,
'client'
,
'jupyter'
,
'browser'
)
;
module
.
exports
=
{
context
:
browserPath
,
node
:
{
__filename
:
false
,
// If this is not used then __dirname in bundled scripts is set to / and mathajax-electron
// https://github.com/nteract/mathjax-electron/blob/master/src/mathjax-electron.js#L22
// script.src = path.join(__dirname, "..", "resources", "MathJax", "MathJax.js?delayStartupUntil=configured");
__dirname
:
false
}
,
entry
:
path
.
join
(
browserPath
,
'main.ts'
)
,
output
:
{
filename
:
path
.
join
(
__dirname
,
'out'
,
'client'
,
'jupyter'
,
'browser'
,
'bundle.js'
)
,
publicPath
:
browserPath
}
,
resolve
:
{
root
:
browserPath
,
extension
:
[
''
,
'.ts'
]
}
,
module
:
{
loaders
:
[
{
test
:
/
\.
j
s
o
n
$
/
,
loader
:
'ignore-loader'
}
,
{
test
:
/
.
t
s
$
/
,
loader
:
'ts-loader'
,
exclude
:
/
\.
j
s
o
n
$
/
,
include
:
browserPath
}
,
{
test
:
/
.
j
s
/
,
exclude
:
/
\.
j
s
o
n
$
/
,
loader
:
'babel-loader'
,
query
:
{
presets
:
'es2015'
,
}
}
]
}
}
Back
|
FazBrowse Home
|
New Git URL