Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
8d5d9d19
Unverified
Commit
8d5d9d19
authored
Jan 16, 2019
by
zora tung
Committed by
GitHub
Jan 16, 2019
Browse files
Syntaxnet/DRAGNN visualization: Update webpack and (necessarily) babel. (#6058)
parent
1c99681e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
17 deletions
+24
-17
research/syntaxnet/dragnn/viz/package.json
research/syntaxnet/dragnn/viz/package.json
+10
-8
research/syntaxnet/dragnn/viz/viz.min.js.gz
research/syntaxnet/dragnn/viz/viz.min.js.gz
+0
-0
research/syntaxnet/dragnn/viz/webpack.config.js
research/syntaxnet/dragnn/viz/webpack.config.js
+14
-9
No files found.
research/syntaxnet/dragnn/viz/package.json
View file @
8d5d9d19
...
@@ -4,16 +4,18 @@
...
@@ -4,16 +4,18 @@
"description"
:
"Development container to build DRAGNN visualization javascript (for most cases, it's compled to a single file)"
,
"description"
:
"Development container to build DRAGNN visualization javascript (for most cases, it's compled to a single file)"
,
"main"
:
"index.js"
,
"main"
:
"index.js"
,
"devDependencies"
:
{
"devDependencies"
:
{
"babel-core"
:
"^6.23.1"
,
"@babel/core"
:
"^7.2.2"
,
"babel-loader"
:
"^6.3.2"
,
"@babel/plugin-proposal-object-rest-spread"
:
"^7.2.0"
,
"babel-plugin-transform-object-rest-spread"
:
"^6.23.0"
,
"@babel/plugin-transform-react-jsx"
:
"^7.2.0"
,
"babel-plugin-transform-react-jsx"
:
"^6.23.0"
,
"@babel/preset-env"
:
"^7.2.3"
,
"babel-preset-es2015"
:
"^6.22.0"
,
"@babel/preset-es2015"
:
"^7.0.0-beta.53"
,
"babel-loader"
:
"8.0.5"
,
"cytoscape"
:
"^2.7.15"
,
"cytoscape"
:
"^2.7.15"
,
"exports-loader"
:
"
^
0.
6.3
"
,
"exports-loader"
:
"0.
7.0
"
,
"preact"
:
"^7.2.0"
,
"preact"
:
"^7.2.0"
,
"webpack"
:
"^2.2.1"
,
"uglify-js"
:
"2.7.5"
,
"uglify-js"
:
"2.7.5"
,
"webpack-dev-server"
:
"^2.3.0"
"webpack"
:
"4.28.4"
,
"webpack-cli"
:
"^3.2.1"
,
"webpack-dev-server"
:
"3.1.14"
}
}
}
}
research/syntaxnet/dragnn/viz/viz.min.js.gz
View file @
8d5d9d19
No preview for this file type
research/syntaxnet/dragnn/viz/webpack.config.js
View file @
8d5d9d19
...
@@ -14,18 +14,23 @@ module.exports = {
...
@@ -14,18 +14,23 @@ module.exports = {
port
:
9000
,
port
:
9000
,
},
},
module
:
{
module
:
{
loader
s
:
[{
rule
s
:
[{
// Uses some new-style (ECMA 2015) classes ... compile them out.
// Uses some new-style (ECMA 2015) classes ... compile them out.
test
:
/
\.
jsx
?
$/
,
test
:
/
\.
jsx
?
$/
,
exclude
:
/node_modules/
,
exclude
:
/node_modules/
,
loader
:
'
babel-loader
'
,
query
:
{
use
:
[{
presets
:
[
'
es2015
'
],
loader
:
'
babel-loader
'
,
plugins
:
[
'
transform-object-rest-spread
'
,
options
:
{
[
'
transform-react-jsx
'
,
{
'
pragma
'
:
'
preact.h
'
}],
presets
:
[[
'
@babel/preset-env
'
,
{
targets
:
'
cover 99.5%
'
}]],
],
plugins
:
[
}
'
@babel/plugin-proposal-object-rest-spread
'
,
[
'
@babel/plugin-transform-react-jsx
'
,
{
'
pragma
'
:
'
preact.h
'
}],
],
}
}]
}]
}]
}
}
};
};
...
...
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