Skip to content

Commit f22e56c

Browse files
committed
run babel transform on protocol validation lib
1 parent 454c185 commit f22e56c

File tree

4 files changed

+29
-27
lines changed

4 files changed

+29
-27
lines changed

config/webpack.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,10 @@ const loaderRules = Object.freeze([
8787
// Process JS with Babel.
8888
{
8989
test: /\.(js|jsx)$/,
90-
include: paths.appSrc,
91-
exclude: /node_modules\/(?!(@codaco\/protocol-validation)\/).*/,
90+
include: [
91+
paths.appSrc,
92+
/node_modules\/@codaco\/protocol-validation/,
93+
],
9294
use: [
9395
{
9496
loader: require.resolve('thread-loader'),

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "network-canvas-architect",
3-
"version": "7.0.0-alpha",
3+
"version": "7.0.0-alpha.1",
44
"productName": "Network Canvas Architect",
55
"description": "A tool for building Network Canvas interviews.",
66
"author": "Complex Data Collective <info@networkcanvas.com>",

public/package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
{
2-
"name": "network-canvas-architect",
3-
"version": "7.0.0-alpha",
4-
"productName": "Network Canvas Architect",
5-
"description": "A tool for building Network Canvas interviews.",
6-
"author": "Complex Data Collective",
7-
"private": true,
8-
"engines": {
9-
"node": "12.14.1",
10-
"npm": "6.13.4"
11-
},
12-
"homepage": ".",
13-
"main": "electron-starter.js",
14-
"dependencies": {
15-
"fs-extra": "^8.1.0",
16-
"archiver": "^3.1.1",
17-
"electron-log": "^3.0.7",
18-
"electron-devtools-installer": "^2.2.4"
19-
},
20-
"browser": {
21-
"canvas": false,
22-
"jsdom": false
23-
}
2+
"name": "network-canvas-architect",
3+
"version": "7.0.0-alpha.1",
4+
"productName": "Network Canvas Architect",
5+
"description": "A tool for building Network Canvas interviews.",
6+
"author": "Complex Data Collective",
7+
"private": true,
8+
"engines": {
9+
"node": "12.14.1",
10+
"npm": "6.13.4"
11+
},
12+
"homepage": ".",
13+
"main": "electron-starter.js",
14+
"dependencies": {
15+
"fs-extra": "^8.1.0",
16+
"archiver": "^3.1.1",
17+
"electron-log": "^3.0.7",
18+
"electron-devtools-installer": "^2.2.4"
19+
},
20+
"browser": {
21+
"canvas": false,
22+
"jsdom": false
23+
}
2424
}

0 commit comments

Comments
 (0)