Skip to content

Commit

Permalink
fix: make webpack work on Windows (#1742)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-fenster authored and JustinBeckwith committed Jun 27, 2019
1 parent 799e391 commit cac269f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/generator/templates/webpack.config.js.njk
Expand Up @@ -36,27 +36,27 @@ module.exports = {
module: {
rules: [
{
test: /node_modules\/google-auth-library\/src\/crypto\/node\/crypto/,
test: /node_modules[\\\/]google-auth-library[\\\/]src[\\\/]crypto[\\\/]node[\\\/]crypto/,
use: 'null-loader',
},
{
test: /node_modules\/https-proxy-agent\//,
test: /node_modules[\\\/]https-proxy-agent[\\\/]/,
use: 'null-loader',
},
{
test: /node_modules\/gcp-metadata\//,
test: /node_modules[\\\/]gcp-metadata[\\\/]/,
use: 'null-loader',
},
{
test: /node_modules\/gtoken\//,
test: /node_modules[\\\/]gtoken[\\\/]/,
use: 'null-loader',
},
{
test: /node_modules\/pkginfo\//,
test: /node_modules[\\\/]pkginfo[\\\/]/,
use: 'null-loader',
},
{
test: /node_modules\/semver\//,
test: /node_modules[\\\/]semver[\\\/]/,
use: 'null-loader',
},
{
Expand Down

0 comments on commit cac269f

Please sign in to comment.