Skip to content

Commit f7351f7

Browse files
committed
Add node loader to webpack config
1 parent a807adb commit f7351f7

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

package-lock.json

+7-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"url": "https://github.com/cschleiden/vscode-github-actions"
77
},
88
"description": "",
9-
"version": "0.1.4",
9+
"version": "0.1.6",
1010
"engines": {
1111
"vscode": "^1.41.0"
1212
},
@@ -216,6 +216,7 @@
216216
"@types/yaml": "^1.2.0",
217217
"glob": "^7.1.5",
218218
"mocha": "^6.2.2",
219+
"node-loader": "^0.6.0",
219220
"ts-loader": "^6.2.1",
220221
"tslint": "^5.20.0",
221222
"typescript": "^3.6.4",

webpack.config.js

+4
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ const config = {
3434
loader: "ts-loader"
3535
}
3636
]
37+
},
38+
{
39+
test: /\.node$/,
40+
use: 'node-loader'
3741
}
3842
]
3943
}

0 commit comments

Comments
 (0)