Add missing node-loader for webpack-extension-api

This commit is contained in:
Hung-Han (Henry) Chen committed 2021-01-07 11:21:47 +08:00
1 parent edca90f6cc
commit 63ce210c9a
1 file changed
+4
+4
View File
@@ -36,6 +36,10 @@ export default function (): webpack.Configuration {
} : false,
module: {
rules: [
{
test: /\.node$/,
use: "node-loader"
},
{
test: /\.tsx?$/,
exclude: /node_modules/,