Skip to content

Commit

Permalink
feat(angular): update to version 11 and latest ionic
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasGassmann committed Dec 14, 2020
1 parent 3a99fc7 commit 870ca4c
Show file tree
Hide file tree
Showing 5 changed files with 4,306 additions and 3,085 deletions.
4 changes: 2 additions & 2 deletions config/patch_crypto.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const fs = require('fs')
const f = 'node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs/browser.js'
const f = 'node_modules/@angular-devkit/build-angular/src/webpack/configs/browser.js'

fs.readFile(f, 'utf8', function(err, data) {
if (err) {
return console.log(err)
}
var result = data.replace(/node: false/g, 'node: {crypto: true, stream: true}')
var result = data.replace(/node: false/g, 'node: {crypto: true, stream: true, fs: "empty"}')

fs.writeFile(f, result, 'utf8', function(err) {
if (err) return console.log(err)
Expand Down
Loading

0 comments on commit 870ca4c

Please sign in to comment.